[thelist] DHTML menus and frames

Marcus Andersson marcus at bristav.se
Thu Aug 26 09:05:37 CDT 2004


Two alternatives that might work (depending on the circumstances):
1) If you have control over the entire frameset you could do some scripting to show the menu in the top frame 
and as an iframe (not a div). If you need submenus you add a new iframe for each menu. There is some work to 
make it happen. I'm also not sure how good it would work cross-browser.
2) Calculate the position where the menu should pop and check if it fits in the space that is available. If 
the space is too small you could draw in another direction. This doesn't work for example if you have a 
menubar at the top with an iframe just below it.

/Marcus

Drew Shiel wrote:
> 
> Hi folks.
> 
> The answer this will be a "no", I suspect. But I have to ask, cos the 
> Boss had his heart set on these menus.
> 
> He wants fancy DHTML menus instead of form dropdowns, which we've used 
> before for years. They have submenus, they slide, they glide, they're 
> awfu' pretty.
> 
> They do not, however, come out over the edge of the frames they live in. 
> This means that when you've a dhtml menu at the bottom of one frame, it 
> vanishes "behind" the frame below, without ever being seen. The question 
> is:
> 
> Is there any way, even a theoretical one, to make them appear over the 
> edge of the frame?
> 
> Cheers,
> Drew.
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.740 / Virus Database: 494 - Release Date: 16/08/2004
> 



More information about the thelist mailing list