popup window 004






Pop-Up Window 004















function JumpSelect(fn) {
var whi= eval("form" + fn +"." + fn +".value");
window.open(whi,fn,"width=500,height=500");
}











Back

Pop-Up Window 004

 




 


Bird House 1
Bird House 2
Bird House 3
Bird House 4
 







This script sets up the window using a form.  It
does not work well in Netscape




 




<SCRIPT LANGUAGE="JavaScript">
<!-- options may be added to the window.open for its attributes -->
function JumpSelect(fn) {
var whi= eval("form" + fn +"." + fn +".value");
window.open(whi,fn,"width=500,height=500");
}
</SCRIPT>
 




Script instructions for <BODY> of the HTML
Document




<form name="formj1" action="javascript:JumpSelect('j1')">
<p align="center"><select name="j1" size="1"
style="font-weight: bold; background-color: #FFFF00">
<option value="images/bh1.jpg" selected>Bird House 1
<option value="images/bh2.jpg">Bird House 2
<option value="images/bh3.jpg">Bird House 3
<option value="images/bh4.jpg">Bird House 4
</select><input type="submit" value="Let's See It!"></p>
</form>
 




Paste script between the <HEAD></HEAD> tags.

















function JumpSelect(fn) {
var whi= eval("form" + fn +"." + fn +".value");
window.open(whi,fn,"width=500,height=500");
}



















Paste script where needed in the body of the HTML Document.

















Bird House 1
Bird House 2
Bird House 3
Bird House 4
















© Copyright 2003
Ultimatephp.com






Wyszukiwarka

Podobne podstrony:
2006 05 Password Tricks Customizing the Password Popup Window
popup window5
popup window 001
popup window6
popup window 002
auto popup window
popup window3
popup window
popup window7
windows
Instalacja systemu Windows z pendrive a
Klucze Rejestru Windows
Windows Messages
Cwiczenie z Windows Server 2008 wysoka dostepnosc
WindowsFormsApplication1 csproj FileListAbsolute (11)
Windows 2 Laboratorium 4b
Klastry pracy awaryjnej w srodowisku Windows Instalacja konfiguracja i zarzadzanie klastr

więcej podobnych podstron