opening menulinks in iframe

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Felixh
Beginner
Beginner
Posts: 9
Joined: Sun Nov 30, 2003 10:42 pm
Contact:

opening menulinks in iframe

Post by Felixh »

Hello!

I just got the fabulous menubar v5. I am now trying to open the links of the menubar in the iframe on my website. But I have no clue how to do that. I am new here and do not have the knowledge about javasripts (yet) and don't really understand http://milonic.com/menusample.php?sampleid=11. :roll:

My website is http://www.biofokus.com if you need to look at the site.

Thank you very much!

/Felix
Kalimoss
Beginner
Beginner
Posts: 1
Joined: Tue Nov 25, 2003 10:22 am
Location: Stoke-on-Trent, UK

Post by Kalimoss »

Hi Felix,

All you need to do is give your iFrame a name, then in your menu links use the target parameter and give it the name of your iFrame.

e.g
<iFrame name="iFrameName"></iFrame>

in your menu_data.js
aI("text=myPage;url=http://myPage.htm;target=iFrameName;status=This is my page");

Hope that helps!

Ant
Felixh
Beginner
Beginner
Posts: 9
Joined: Sun Nov 30, 2003 10:42 pm
Contact:

Post by Felixh »

Thanks a lot! It worked... very nicely. You are great!

/Felix

http://www.biofokus.com
Post Reply