Help With Frames

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
User avatar
D3vil
Beginner
Beginner
Posts: 3
Joined: Wed Jul 31, 2002 10:48 pm
Location: NC
Contact:

Help With Frames

Post by D3vil »

I've had a number of probalems with my dropdown menu, iv'e fixed many of them but i keep gettin one error after another, if anyone can help me with this, i'll be extremely greatful, because this is driving me crazy. I need the links of my drop down menu to open in my targeted iframe named "I1" i will include my script and if anyone can decipher my problem let me know because anytime i click my links to open them, they won't open at all i just get an unknown javascript error saying "Object expected" "Code: 0"
if i shift click to open the link into a new window insted of even trying to open it in an iframe it directs the adress to this "javascript:openIFrame("I1","http://www.allwoodins.com/auto")" and i get a 404.
------------------Here's a sample of the Script------------------------

,"Home","http://www.dynamicdrive.com",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"News ","show-menu=news",,"",1
,"OnlineQuotes ","show-menu=OnlineQuotes",,"",1
,"Office ","show-menu=Office",,"",1
,"Search ","show-menu=search",,"",1
,"Other ","show-menu=other",,"",1

)
addmenu(menu=["news",
,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Recent","javascript:openIFrame(\"I1\",\"http://www.allwoodins.com/recent\")",,,0
,"Archived","javascript:openIFrame(\"I1\",\"http://www.allwoodins.com/archived\")",,,0
])


addmenu(menu=["OnlineQuotes",
,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
,"<img src=newsimage.gif border=0> Auto Quote","javascript:openIFrame(\"I1\",\"http://www.allwoodins.com/auto\")",,,1
,"<img src=newsimage.gif border=0> Home Quote","javascript:openIFrame(\"I1\",\"http://www.allwoodins.com/home\")",,,1
Winter of Souls
User avatar
MarkyB
Beginner
Beginner
Posts: 1
Joined: Tue Aug 20, 2002 2:42 pm

Post by MarkyB »

I hope you have already fixed your issues, but if not - I found that all menu names and target names MUST be all lowercase and have no spaces in them. The mmenu.js uses a lowercase function that can seriously disable your uppercase naming convention.
Post Reply