Welcome to Jokes2000. Tips for improving your website: Graphic, HTML and javascript A fine collection of cartoons Jokes jokes jokes - get a good laugh Joke of the day and mailing list Table of contents
Jokes2000.com Jokes2000.com
 

Update Two Frames Simutanously Up One Level.

You can update two frames simutanously by using the javascript below. FrameName1 and FrameName2 are the names of the two frames.

<a href="javascript:Go('doc1.htm','doc2.htm')"> 

<script language=javascript type="text/javascript">
<!--
function Go(frame1,frame2) 
{ parent.FrameName1.location=frame1;
  parent.FrameName2.location=frame2;
}
// -->
</script>


Note that the javascript will make two history entries. The user will have to click the back button two time to get back to the referring page. Often one of the frames is a menu/navigator. To fix the problem, change the code for this frame to:

parent.FrameName?.location.replace(frame?);

But note that this is incompatible with Netscape 2.x.


Affiliate Sites: Funny Videos | Fight Videos | Free Arcade Games


welcome | cartoons | jokes | daily jokes | sitemap | search | feedback | what's new

Copyright © 1997-2007 Real Comedy Inc.