I'm trying to get a Javascript from Nick Heinle's book to work. It's
supposed to change the location of both my toolbar frame and my main page
frame.
In the book, Heinle has written it like this:
function changePages(toolbarURL, mainURL) {
I'm getting a Javascript error "missing ) after formal parameters" that
points to the dot in guestbooknav.html .
This is how I have it typed:
<SCRIPT LANGUAGE=JAVASCRIPT>
<!-- Hide script from old browsers
function changePages(guestbooknav.html,guestbook.html) {
parent.navbar.location.href="guestbooknav.html";
parent.main.location.href="guestbook.html";
}
// End hiding script from old browsers -->
</SCRIPT>
Can any body help me figure out how to fix this?
thanks, Suz
Suzanne Stephens, Dave Stephens Design; Ashland, Oregon
541-552-1190, 541-1192 http://www.KickassDesign.com/
CyberCircus Grand Prize Winners http://www.thecybercircus.com/
Web Page Design for Designers: http://www.wpdfd.com/wpdres.htm
Clip Art: http://www.freeimages.com/artists/
Tender Loving Care Interactive DVD movie: http://tenderlovingcare.cc/
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------