HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
multiple iframe targeting
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
seventhson



Joined: 24 Mar 2005
Posts: 3

PostPosted: Thu Mar 24, 2005 3:16 am     multiple iframe targeting Reply with quote

Hello there.

I have a page with three iframes in it. I need to be able to make one link target two of the iframes with two seperate .htm pages.

Any ideas

Cheers
degsy



Joined: 23 Feb 2005
Posts: 2440
Location: North East, UK

PostPosted: Thu Mar 24, 2005 7:15 am     Reply with quote

You can use javascript to set the location of the frames

Code:

<a href="javascript:" onclick="frame1.location='http://www.google.com'; frame2.location='http://www.yahoo.com'">Link</a>
<iframe id="frame1"></iframe>
<iframe id="frame2"></iframe>
<iframe id="frame3"></iframe>
seventhson



Joined: 24 Mar 2005
Posts: 3

PostPosted: Thu Mar 24, 2005 9:05 am     Reply with quote

Thanks!
I shall give this a go!
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial