Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:06
Scrolling Menus and Iframes
Poster: mfurf
Dated: Saturday October 4 2003 - 20:44:14 BST
Okay, this info may already be on the board here somewhere but here is what my trial and error brought out [in Mozilla 1.4].
Bedevilling problem:
The menu and submenus, called from within iframeA worked wonderfully well manipulating the content of adjacent iframeB until any submenu had so many menuitems that scrolling kicked in and zooks! it reformatted the page to where iframeB disappeared from view as the page reformatted causing iframeB to go below iframeA and of course a vertical window scrollbar appeared to accommodate the reformat [window scrollbar not to be confused with the submenu's scrollbar - both appear simultaneously.]
Assuming it was the sudden appearance of the menu's scrollbar, I turned off menu scrolling but the problem persisted. What appeared to be happening is that when the submenu grew to where its top equaled the top of iframeB, the browser interpreted it as an extension of iframeA and gave it spacial preference over iframeB, bumping the latter to the nether
And if I gave the submenu a top="x " [e.g. top="10" or even top=0 or even top=""] setting, the page would simply load with iframeB already bumped to the
I stumbled on a solution I hope will help anyone with the same problem. Add top= to the submenu [just top=, no value or quote marks]. For some reason it solved the problem.
But for the future, does overflow="scroll" have a parameter that can set the size of the scroll. That should work too. /mfurf
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
