Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

HTML code and 2 target frames



9:30 am on Jan 4, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Hello... new member coming through!

Is it possible using standard html code to have one single mouse click event similtaneously call new pages into 2 different target frames?


An artwork site has 3 frames. One for menu selections (frmenu), one for page displays (frmain) and one for displaying illustrations of the artists work (frdisplay).

What's needed is for a click on the "home" menu button to reset both frmain and frdisplay to their respective startup pages.

Can anyone advise how to do this? (Deframing the site is not an otipon).

Examples would be much appreciated.


9:44 am on Jan 4, 2001 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Welcome. Good to have you aboard.

As far as I know, "straight" HTML is limited to one target frame per link. To change multiple frames simultaneously requires JavaScript. You may take a slight browser compatibility hit using JavaScript, since some pop-up hating surfers turn it off.

Here's one tutorial [webreference.com] on the subject from WebReference.

However, you might be able to get the result you describe by nesting framesets. If your target frame is actually a "level-2" frameset, then you could target that frame (which actually contains 2 frames) and replace it with a similarly defined 2-frame frameset.

It gets complex -- I've done this one time about two years ago and I was talking to myself for long while afterwards.

I've sent you a representative URL -- look to your "Sticky Mail"


11:33 pm on Jan 7, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Thanks Tedster.....

Problem solved.


Featured Threads

Hot Threads This Week

Hot Threads This Month