View Single Post
  #5 (permalink)  
Old Sep 15th, 2007, 12:18
gentlefoot gentlefoot is offline
New Member
Join Date: Sep 2007
Location: UK
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Opening a document using javascript

Quote:
Originally Posted by MikeHopley View Post
Okay, let me get this straight: you want some kind of drop-down menu, and you're prepared to load a completely new page just to achieve that? Not exactly a "seamless user experience", is it?

There are lots of alternatives. Look into CSS or javascript drop-down menus. For example: http://css.maxdesign.com.au/listamatic/

More abstractly, you can always have javascript create an absolutely positioned <div> (for your menu options) onmouseover, and then destroy it onmouseout. http://www.javascripttoolbox.com/lib/popup/example.php To make it stick positioned by your menu, just make some part of the menu box relatively positioned, and put the absolute <div> inside.
Exactly. I don't want to reload a whole page but I just needed a quick solution for a prototype.

Thanks for the help. I will check out those links. I figured you could do it like this but just couldn't find any good reference info and examples.

Thanks again.
Reply With Quote