Click to See Complete Forum and Search --> : HELP! Need script for Fly out
figment7
03-31-2003, 11:00 AM
I have a menu bar on my pages that has 5 buttons (graphics). I need to get a script which, when the cursor goes over each of the 5 buttons, a list of choices pops up.
I.E., the buttons are: where to stay, where to go, where to eat, visitor information and discounts and packages. under the where to stay button is view accommodations, book online reservations, great rates, and request free info
thanks,
Michele
havik
03-31-2003, 11:14 AM
http://www.dynamicdrive.com/dynamicindex1/popit.htm
You can alter this to fit your needs.
Havik
figment7
03-31-2003, 03:20 PM
how do I use this if I'm using graphic buttons as the mouseovers?
havik
03-31-2003, 03:24 PM
Example from the code entered into the body:
<a href="#" onMouseover="showmenu(event,linkset[0])" onMouseout="delayhidemenu()">Webmaster Links</a><br>
Change this to:
<a href="#" onMouseover="showmenu(event,linkset[0])" onMouseout="delayhidemenu()"><IMG SRC="YOUR IMAGE HERE" border="0"></a><br>
example from the code entered into the head:
linkset[0]='<div class="menuitems"><a href="http://dynamicdrive.com">Dynamic Drive</a></div>'
change this to:
linkset[0]='<div class="menuitems"><a href="http://dynamicdrive.com"><IMG SRC="YOUR IMAGE HERE" border="0"></a></div>'
There may be a few alignment problems depending on the size of your images, well that is if you plan on using images in the pop up boxes. Otherwise, leave the section that goes into the head alone and just alter the text and links in it.
Havik
figment7
04-17-2003, 07:27 AM
ok, I've used your info but now when I put the cursor over the main button the second level pops up but the cursor won't move over them so I can click on them. I guess what I need the second level to be links also. And when you put the cursor over one of those, I need it to change color as well. Also, can I add lines in between each item? thanks for your help.