MILONIC JavaScript function openIFrame dos not work .....

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
Hans R
Beginner
Beginner
Posts: 4
Joined: Sun Aug 03, 2003 12:04 pm
Location: Denmark

MILONIC JavaScript function openIFrame dos not work .....

Post by Hans R »

function openIFrame(iFrameId,winURL)
{
ifId=gmobj(iFrameId)
ifId.src=winURL

}

I start to different iframs in then menu system – like this:

,"Start","javascript:openIFrame(\"resultat\",\"./ASP/resultat.asp\");openIFrame(\"valg\",\"./ASP/find.asp\")",,"Start",0

But this dos not work in Netscape, Mozilla and Opera :(

Is here a way I can alter it, so it will work in Netscape, Mozilla and Opera :?:
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Try using single quotes instead of \" ?? Just a suggestion, its the first thing that popped into my head. Try and let us know what happened.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
Hans R
Beginner
Beginner
Posts: 4
Joined: Sun Aug 03, 2003 12:04 pm
Location: Denmark

Anyone have any ideas?

Post by Hans R »

Thanks Dave!

I try this, but it dos not work :(

," Start søgningen","javascript:openIFrame('resultat','./ASP/Jord/1_resultat.asp');openIFrame('valg','./ASP/Jord/2_find.asp')",,"Start søgningen",0

Any ideas?

HR
Denmark
Post Reply