hwg-techniques archives | Aug 2000 | new search | results | previous | next |
Combining Two JavaScriptsby "Christie Cooksey" <christie(at)thearmidalemall.com> |
|
I'm working on a framed site and using this script (thankyou to the kind person who posted it) to pop the pages into frames if they are surfed into from outside the frameset: <SCRIPT> if(window==top.window) {top.window.location='index.html'} </SCRIPT> I'm also using this bit to load a second page into the header frame using onLoad: <SCRIPT LANGUAGE="JavaScript"> function heading() { parent.header.location.href="heading.html"} </SCRIPT> I'm sure I must need to setTimout somehow so the heading function doesn't kick in right away. Something like this??? onLoad="window.setTimeout('heading()',3000)" Cheers :0) Christie Cooksey Websites "Designed by Christie" http://www.designedbychristie.com
HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA