|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Can you please tell me how to do a javascript in a pop up?
I would be greatful if you tell me! ------------------ Thank you if you reply!!!! MvH:Micke |
|
#2
|
|||
|
|||
|
Im assuming you wanted to open a popup window using javascript. Your request wasn't quite clear but heres a sample script:
<HTML> <HEAD> <TITLE>Opening a Popup Window</TITLE> <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers function popup(){ popupwindow = window.open("somewhere.html","","toolbar=no,location=no,scrollbars=no,resizable=no,width=400,height=200,left=500,top=200") } // End hiding script from old browsers --> </SCRIPT> </HEAD> <BODY> <a href="javascript opup()">Open window</a><br> <a href="javascript opupwindow.close()">Close window</a></BODY> </HTML> THis will open the window and you can change the options for size and you can change where the location on the screen where it opens but that only works in 4.0 or higher browsers. Spookster URL |
|
#3
|
|||
|
|||
|
Thank you thatŦs kind of you
i donŦt know so much about javascripts but i hope to learn more about it |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Donīt know how to do! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|