Bern
11-12-2003, 09:03 AM
Hi all !
Firstly, I want to say thank you to all the people who posted to my thread as well as the questions to this forum. the Q&A REALLY help out alot for a beginner javascript programmer like myself.
Anyways, I am having a bit of a problem with a certain javascript file that i found online. I would have contacted the person who created the javascript but there is no contact whatsoever, and i was hoping that someone would be able to see something that i can't.
basically i am using a cascading menu style that was created by this javascript, and i am trying to get the links ie (location) to load the file into a particular iframe called "info".
So far the menu works (i am only testing out for one button which is home -> mission) as far as putting the html file into the parent page. However, this is not the effect i want, since i want the mission.html to load up in the iframe called "info"
I tried putting the "target = info" into the function itself.
IE: fw_menu_0.addMenuItem("Mission","location='mission.html' target='info'");
whenever i wanted to add a new item.
I even tried to put the "target ="info"" into the A class that i had written for the Home button but it didn't work either.
I need some advice on how do i target the links i want into the certain iframe.
Attached to this thread is a zipfile of the files that i am working with. I want to thank you guys in advance for reading this email and Ihope i can get some feedback or advice of what i need to do for this particular problem.
Thanks again !
Bern
Firstly, I want to say thank you to all the people who posted to my thread as well as the questions to this forum. the Q&A REALLY help out alot for a beginner javascript programmer like myself.
Anyways, I am having a bit of a problem with a certain javascript file that i found online. I would have contacted the person who created the javascript but there is no contact whatsoever, and i was hoping that someone would be able to see something that i can't.
basically i am using a cascading menu style that was created by this javascript, and i am trying to get the links ie (location) to load the file into a particular iframe called "info".
So far the menu works (i am only testing out for one button which is home -> mission) as far as putting the html file into the parent page. However, this is not the effect i want, since i want the mission.html to load up in the iframe called "info"
I tried putting the "target = info" into the function itself.
IE: fw_menu_0.addMenuItem("Mission","location='mission.html' target='info'");
whenever i wanted to add a new item.
I even tried to put the "target ="info"" into the A class that i had written for the Home button but it didn't work either.
I need some advice on how do i target the links i want into the certain iframe.
Attached to this thread is a zipfile of the files that i am working with. I want to thank you guys in advance for reading this email and Ihope i can get some feedback or advice of what i need to do for this particular problem.
Thanks again !
Bern