linking to multiple inline frames

  • Thread starter Thread starter Tyler
  • Start date Start date
T

Tyler

I've inserted

onClick="parent.frames[n].location.href='URL';"

into my url, and have gotten the link to go to two of the
inline frames, but have yet to be able to get it to go to
third. i was wondering if that's the right way to go
about it, and if so what i'm doing wrong. if not, what
should i do, thanks!
 
Tyler said:
I've inserted

onClick="parent.frames[n].location.href='URL';"

into my url, and have gotten the link to go to two of the
inline frames, but have yet to be able to get it to go to
third. i was wondering if that's the right way to go
about it, and if so what i'm doing wrong. if not, what
should i do, thanks!

Right, it should look like:

onClick="parent.frames[0].location.href='URL';parent.frames[1].location.href
='URL';parent.frames[2].location.href='URL';"

all on one line. This is inside a page that occupies one of the inline
frames, right?

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top