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.


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


Copyright 2003 Ultimatephp