PRINT

PRINT

Από {elina}

PLEASE!!!!!!!!!!!!!!!!
Pws mporw sti selida mou otan pataw PRINT THIS PAGE na vgainei ena pop up pou na emfanizetai mono oi aggelies pou thelw pou emfanizontai me request se .asp apo ACCESS kai OXI OLH H SELIDA kai na ektuponontai .....Den mporw na katalavw ti den kanw swsta....kai mallon den to kanw katholou swsta...Prepei na ftiaxtei enas new folder san pop up? kai ti allo? ti ti ti ti ? aaaaaaaaaaaa

thnx
elina

  1. 21/3/2005

    <INPUT type="submit" onclick="window.print();" value=" ΕΚΤΥΠΩΣΗ ">

  1. 21/3/2005

    Kalispera!!!thnx gia tin apantisi alla me auti tin apli morfi to ekana k egw, dustusxws omws i selida ektuponetai misi. Sorry alla kati se pop up an exeis idea etsi wste na epikaintronontai mono oi aggelies mou kai etsi na ektuponontai mono autes

    thnx again mikeobin
    elina

  1. 24/3/2005

    θα φτιάξεις ένα CSS που θα περιέχει αυτά:
    body {visibility:hidden;}
    .print {visibility:visible;}

    Θα το καλείς από το αρχείο που θες να εκτυπώσεις:
    <LINK rel="stylesheet" type"text/css" href="print.css" media="print">

    Σε οτιδήποτε θες να εκτυπωθεί θα βάζεις:
    class=print

    Και φυσικά ένα button:
    <input type="button" value=" Εκτύπωση" onclick="window.print();return false;" />

  1. 24/3/2005

    ok kai me epityxia!!! but o kwdikas pou kanei request kai telika vgazei ton pinaka me ta apotelesmata einai o eksis...sou ksekinaw apo to simeio tou pinaka....set rs=Server.CreateObject("ADODB.RecordSet")
    rs.open strSQL,cn, 1,3
    if request.querystring("mode")="gr" then
    tb="<CENTER><font color=blue fase=Arial><B>Αποτελέσματα αναζήτησης:</B></font><br><br></CENTER>"
    else
    tb="Search results:<br>"
    end if
    tb=tb&"<table border=0 cellspacing=1 cellpadding=0 width=600 class=print>"
    while not rs.eof
    tb=tb&"<CENTER><tr bgcolor=#FFF5E2 align=left><td><FONT FACE=Veranta COLOR=BLUE SIZE=1><b>"&rs (2)&"</b></td><td><FONT FACE=Veranta COLOR=BLUE SIZE=2>" & rs(0) & "</td><td><a href=javascript:void(0) onclick=javascript:window.open('pop.asp?img="&rs(1)&"','mywin','resizable,width=250,height=250')><img src=../images/"&rs(1)&" border=1 width=64 height=64></a></FONT></td></tr>"
    rs.movenext
    wend
    tb=tb&"</CENTER></table>"
    rs.close
    set rs=nothing
    end if



    Opws katalavaineis uparxoun 3 simeia...1)katigoria, 2)text, 3) photo..
    H selida mou ektypwnetai sti mesi tis A4 kai episis mou kovontai auti ti fora poli ligotera apotelesmata kai den ektuponetai KATHOLOU h photo...

    Sorry pou tha se kourasw k pali- an kai ekana kapoia peiramata- tha ithela na ektuponontai stin arxi tis A4 kai ola ta apotelesmata...Den mporw na katalavw giati ginetai auto

    thnx again boy!!!!
    elina

  1. 24/3/2005

    SHMEIOSH: Otan ta apotelesmata einai polla, h 2h selida kai epeita, ksekinaei apo epanw (arxi),alla to privlima ellipws apotelesmatwn paramenei kai stin 1h sou anefera oti ksekinaei apo tin mesi tis A4 kai ta provlimata paramenoun..
    Thele na pistevw oti me katalavaineis....
    ARXH THS A4 EKTUPWSH KAI NA EMFANIZONTAI OLA TA APOTELESMATA.

    SKLHRH H ZOH.

    thnx....dorr

  1. 16/5/2005

    Fili Elina

    ama i selida sou einai xwrismeni se Frames i iFramres sothikes
    me ayto ton JavaScript kwdika mporis na dialeksi pio frame na ektypwseis...!

    Ayto to komati sto head:

    <script>
    function myprint() {
    window.parent.onomaframe.focus();
    window.print();
    }

    isws na xreiastis na paiksi me to parent kai na balis self, main kai tetoia...!
    </script>

    kai ayto sto koumpi pou tha kni print...!


    <input type=button value="Print" onClick="myprint()">

  1. 16/5/2005

    Hi again
    to dokimasa kai etsi k as min einia me frame i selidoula mou
    thnx
    ELINA




   Πίσω στην προηγούμενη σελίδα