PDA

View Full Version : HELP! iFrame Menus!!!!


joetheshmo
08-31-2001, 02:50 PM
I am in desperate need of assistance with iFrames in IE ...

I will use examples to illustrate my problem ...

I have 4 web pages: index.htm, menu.htm, blank. htm, article.htm

Index.htm contains 2 iFrames: i_menu and i_read

the i_menu src is set to menu.htm, and the i_read src is set to blank.htm.

So, when index.htm is first opened, the user sees 2 iFrames containing menu.htm and blank.htm. Now, as the name suggests, menu.htm is to act as a menu with links to other pages. Now, my problem is, that i need these linked pages to appear in the i_read iFrame of index.htm. In other words, when a user clicks on a link that resides on a page that is displayed within one iFrame, I need another page to open in the second iFrame.

I have had absolutely no luck trying to get this to work for a number of days now ... i would very much appreciate anyone's help out there.

Thanx in advance,
joetheshmo

joetheshmo
08-31-2001, 03:02 PM
ha, nevermind ... just figured it out ...

i use javascript to change

parent.frames[1].location.href

thanks anyways guys, lol :)

cloud9
08-31-2001, 03:02 PM
wouldn't you be better using real frames, they are easier?


Your post will be appearing in a Mensa test near you, soon :D

Dr. Web
08-31-2001, 03:43 PM
Originally posted by cloud9
Your post will be appearing in a Mensa test near you, soon :D

no Kidding! talk about making things HARD! Whew! The sheer weight of that question made my brain hurt! ha!

But seriously..... it sounds like you've made this page overcomplicated. Especially since N4.7 wont even render the Iframe anyway. Why didn't you use REGULAR frames a C9 suggested? Just curious.