View Full Version : Iframe Help
chrisfromboji
07-26-2007, 05:34 PM
I'm testing a new Iframe menu for my website. I have everything working except the dropdown part of the menu.
If you look at the menu file (here (http://12.218.126.198/js/menu.html)), you can see that the dropdown menu is working.
I've placed the iframe in the page via the following:
<iframe id="iframe1" src="js/menu.html"
width="750" height="30" scrolling="no" frameborder="0" style="overflow:visible; margin-left:25px" marginheight="0" marginwidth="0"></iframe>
You can look at the test page it's in here. (http://12.218.126.198/index4.html)
My question is:
How can I get the dropdown parts of the menu to display with the iframe?
jscheuer1
07-26-2007, 05:53 PM
You cannot drop down outside of the iframe without a menu specifically designed to do so. I've heard of menus that can drop over frame borders, but I'm not sure if they work with iframe borders. I've seen scripts that can put effects on the parent page, but not menus, and the coding is a bit complex, a bit like like having the script on the parent anyway. And, if that is a Dynamic Drive script:
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.
And:
Your page is in violation of Dynamic Drive's usage terms (http://www.dynamicdrive.com/notice.htm), which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.
chrisfromboji
07-26-2007, 06:50 PM
Just hold your accusation horses a moment. I'm not using a dynamic drive script.
The drop down menu is from here: http://javascript-array.com/scripts/simple_drop_down_menu/
The random image script is from here:
http://www.leemessenger.co.uk/post.aspx?p=82
Believe me, I give credit where credit's due.
Back on topic:
Do you know where I can find those scripts, maybe I can adapt em to fit my needs
jscheuer1
07-26-2007, 07:16 PM
I did say if it is a DD script . . . Looks like you stripped out the © notice from the menu anyway:
// Copyright 2006-2007 javascript-array.com
I doubt the folks at javascript-array.com would be too pleased at that.
HV Menu v 5.5 is one that can drop across frames:
http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm
And Lytebox (not to be confused with lightbox or litebox):
http://www.dolem.com/lytebox/
is the other script I was referring to - as I said, not a menu, but can act on the parent from the iframe.
chrisfromboji
07-26-2007, 08:18 PM
What are you talking about stripping the copyright notice? :S It's in the javascript file. here (12.218.126.198/js/ddmenu.js)
Thanks for posting those links. Hopefully one of those will help me, otherwise I'll just have to try and put together a flash+xml one.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.