Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Tech > Help Javascript
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
dan
..: Dottore :..

User info:
Registered: Oct 2002
Posts: 2446 (0.29 al dì)
Location: MI
Corso: Info
Anno: 3
Time Online: 11 Days, 7:56:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Help Javascript

Salve gente, ho il seguente problema:



<script language="JavaScript">
function loadurl(url){
window.creator.location=url
window.close()
}
</script>

</HEAD>

<BODY BGCOLOR="black">

<CENTER>

<A HREF="sponsor.htm" target="_top" onClick="loadurl(this.href);return false"><IMG SRC="banner.gif" WIDTH=468 HEIGHT=60 BORDER=0></A>

</CENTER>


Questo quando si clikka sul link chiude la finestra ed apre in quella sotto sponsor.htm

Io vorrei fare la stessa cosa con un form di questo tipo:



<script language="JavaScript">
function loadurl(url){
window.creator.location=url
window.close()
}
</script>

</head>

<body bgcolor="white" link="#666666" vlink="#666666" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<form action="verifica.asp" method="post" target="_top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td align="center">

<input type="text" name="pw" size="10" maxlength="100"> Password <br>

</td></tr>
<tr><td align="center">

<input type="submit" name="submit2" value=" Vai "> <br>

</td></tr>
</table>
</form>



Sapete dirmi come posso fare???

Thx, D.

07-10-2003 10:06
Click Here to See the Profile for dan Click here to Send dan a Private Message Visit dan's homepage! Find more posts by dan Add dan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mrcnet
dsy developer

User info:
Registered: Oct 2002
Posts: 1160 (0.14 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno:
Time Online: 9 Days, 5:44:55 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

l'onclick lo puoi mettere anche al bottone del form..

__________________
www.mrcnetwork.it

07-10-2003 15:49
Click Here to See the Profile for mrcnet Click Here to See the Blog of mrcnet Click here to Send mrcnet a Private Message Visit mrcnet's homepage! Find more posts by mrcnet Add mrcnet to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Rocco.Li
38 Primavere, Dottore !

User info:
Registered: Sep 2003
Posts: 609 (0.07 al dì)
Location: BARLASSINA (MI)
Corso: COMUNICAZIONE DIGITALE
Anno: Finitooooo !!!!
Time Online: 8 Days, 2:31:26 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

puoi utilizzare anke l'evento onsubmit del form.

__________________
Alcuni uomini vedono le cose come sono e dicono: << Perche' ? >>
Io sogno le cose come non sono mai state e dico: << Perche' No ? >>
George Barnard Shaw, Commediografo.

"non preoccuparti troppo, comunque vada la vita, non ne uscirai vivo !" - anonimo

08-10-2003 08:32
Click Here to See the Profile for Rocco.Li Click Here to See the Blog of Rocco.Li Click here to Send Rocco.Li a Private Message Find more posts by Rocco.Li Add Rocco.Li to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dan
..: Dottore :..

User info:
Registered: Oct 2002
Posts: 2446 (0.29 al dì)
Location: MI
Corso: Info
Anno: 3
Time Online: 11 Days, 7:56:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Nei modi che mi avete suggerito voi la pagina verifica.asp viene aperta nel popup del form e non nella pagina sottostante che ha richiamato il form-popup!

Per intenderci:
Io voglio fare in modo che nella mia pagina ci sia un bottone che, una volta schiacciato, faccia aprire una popup con un form in cui inserire la PW. Una volta inserita la popup si deve chiudere e, nella pagina sottostante (quella che richiamato il popup), deve essere lanciata verifica.asp che, farà i suoi test ed aprirà la pagina riservata o una pagina di errore.

Al momento il percorso che riesco a fare è:
Principale -> Popup -> Principale -> Verifica -> Pagina successiva

Quello che voglio ottenere è:
Principale -> Popup -> Verifica -> Pagina successiva

08-10-2003 08:54
Click Here to See the Profile for dan Click here to Send dan a Private Message Visit dan's homepage! Find more posts by dan Add dan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dan
..: Dottore :..

User info:
Registered: Oct 2002
Posts: 2446 (0.29 al dì)
Location: MI
Corso: Info
Anno: 3
Time Online: 11 Days, 7:56:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

:D :D :D :D :approved: :boing: :idea: :pazzo: :banana: :banana:
:ola:


Cel'ho fatta!!!!!!!! Ma vieni!!

Grazie a tutti, D.

08-10-2003 09:22
Click Here to See the Profile for dan Click here to Send dan a Private Message Visit dan's homepage! Find more posts by dan Add dan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 18:48.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.214 seconds (54.55% PHP - 45.45% MySQL) con 25 query.