|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Dec 2001
Città: Italy
Messaggi: 3447
|
HTML ..popup
ciao
come si fa in HTML a fare un POPUP? cioè ho la mia paginetta scritta in html, voglio fare in modo che quando la aprono salta fuori il POP come devo fare? esempi di codice? thx |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Jan 2003
Città: Milano
Messaggi: 345
|
per esempio....
Nel tuo file index.html: Codice:
<html>
<head>
<title>Test POP UP</title>
<script language=javascript>
function apri_popup(thefile)
{
window.open(thefile, '_blank','scrollbars=yes,resizable=yes,width=100,height=300,titlebar=no,status=no,location=no,menubar=no,toolbar=no')
}
</script>
</head>
<body onload=apri_popup('popup.html');>
<h3>Il popup si apre</h3>
</body>
</html>
Codice:
<html> <head> <title>Il popup</title> </head> <body> Ecco il<br> PopPup<p> <a href=javascript:void(0); onclick=window.close();>Chiudi</a> </body> </html> ciao
__________________
Scarica Fedora Core 1 http://zunami.homeip.net - 10Mbps |
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Dec 2001
Città: Italy
Messaggi: 3447
|
ti ringrazio
|
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 13:11.


















