homepage Welcome to WebmasterWorld Guest from 23.23.22.200
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
HTML code and 2 target frames
austtr




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

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?

Scenario:

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.

 

tedster




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

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.

<added>
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"
</added>

austtr




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

Thanks Tedster.....

Problem solved.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved