popup window 001




Simple Window Open

function newWindow() {
birdHouse = window.open("images/bh4.jpg","BirdHouse", "width=450,height=600")
}



















A:hover {color: #FF0000}










Back

Pop-Up Window 001

 




 
My Favorite Bird House





Click on the link above and a widow will pop-up
displaying an Image.  Its a common and simple script.  With widows
there is another wrinkle in that you an adjust the
size of the window so a small
image will not look odd in a huge window.  Just change the image
information, highlighted in yellow.





Script instructions for <HEAD></HEAD> tags




<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
function newWindow() {
birdHouse = window.open("images/bh4.jpg","BirdHouse",
"width=200,height=350")
}

</SCRIPT>
 




 
Script instructions for <BODY> of the HTML
Document




<A HREF="javascript:newWindow()">My
Favorite Bird House</A>




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
















function newWindow() {
birdHouse = window.open("images/bh4.jpg","BirdHouse", "width=200,height=350")
}





















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















My Favorite Bird House













© Copyright 2003 Ultimatephp





Wyszukiwarka

Podobne podstrony:
2006 05 Password Tricks Customizing the Password Popup Window
popup window5
popup window6
popup window 002
auto popup window
popup window3
popup window
popup window4
popup window7
windows
Instalacja systemu Windows z pendrive a
Klucze Rejestru Windows
Windows Messages
can RENAULT CLIO III GRANDTOUR 08 XX PL 001
Cwiczenie z Windows Server 2008 wysoka dostepnosc
001 PMP cw1
WindowsFormsApplication1 csproj FileListAbsolute (11)

więcej podobnych podstron