Iframe target problem

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
Senate
Beginner
Beginner
Posts: 1
Joined: Sun Nov 03, 2002 7:20 am
Contact:

Iframe target problem

Post by Senate »

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
User avatar
trytrix
Super Advanced
Super Advanced
Posts: 92
Joined: Thu Sep 26, 2002 9:46 pm
Location: Flanders / Belgium
Contact:

Post by trytrix »

Hi ,

You are doing it the wrong way !!
For targetting Iframes one need to use a Javascript function call ..
See the example at :
http://milonic.com/menu/menusample.php?sampleid=16

Cheers,

Trytrix

(Hit me at http://www.ransbecca.be)
You're Never Fully Dressed Without A :D Smile !

"From Image Flanders, one of Europe's most dynamic regions" - Visit : http://www.toerismevlaanderen.be
Post Reply