Back to Scripts page
Click in the text area below, select all and copy to grab the script
Script 5.4 listing:
<HTML> <HEAD> <TITLE>Window Scrolling Example</TITLE> <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers function newWindow(downscroll) { bookpixWindow = window.open('bookpix.html', 'bookpixWin', 'width=150,height=170,scrollbars=yes') bookpixWindow.focus() setTimeout("bookpixWindow.scroll(0,"+downscroll+")",1000) } // End hiding script from old browsers --> </SCRIPT> </HEAD> <BODY BGCOLOR=WHITE> <H1>Our other Peachpit books</H1> <H3>Click on the name to see a picture of the cover <P><A HREF="javascript:newWindow(0)">Java for the World Wide Web: Visual QuickStart Guide</A> <P><A HREF="javascript:newWindow(160)">Quicken 98 for Macintosh: Visual QuickStart Guide</A> <P><A HREF="javascript:newWindow(320)">Quicken 99 for Windows: Visual QuickStart Guide</A></H3> </BODY> </HTML>
Script 5.5 listing:
<HTML> <HEAD> <TITLE>Book Pix</TITLE> </HEAD> <BODY BGCOLOR=WHITE> <IMG SRC="java-sm.gif" WIDTH=108 HEIGHT=140 VSPACE=10><BR> <IMG SRC="q98-sm.gif" WIDTH=108 HEIGHT=140 VSPACE=10><BR> <IMG SRC="q99-sm.gif" WIDTH=108 HEIGHT=140 VSPACE=10><BR> </BODY> </HTML>