Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:19
Iframe target problem
Poster: Senate
Dated: Sunday November 3 2002 - 6:31:26 GMT
For some reason everytime I target my Iframe in my html file it gives me a error.
In my menu_array.js file it looks like this:
," Standard","standard.htm target=I1",,"These Are Our Standard Systems ",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar",,,1
If i take out the target=I1 it works but pops up in a blank window.
My other page I named my Iframe I1. It works when I do click on it with it targeted to I1 just gives me this error:
Error:Object doesn't support this property or method.
Code:0
Then it refers back to the main page not the iframe page but the main page which the horizontal menu is located.
Check it out for yourself at http://www.senatedc.com/test/menu/test.htm
Thanks,
Senate
P.S.
I really need some help on this haha
Poster: trytrix
Dated: Sunday November 3 2002 - 16:09:49 GMT
Hi ,
You are doing it the wrong way !!
For targetting Iframes one need to use a Javascript function call ..
See the example at :
http://www.milonic.com/menu/menusample.php?sampleid=16
Cheers,
Trytrix
(Hit me at http://www.ransbecca.be)