Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pop Up Menu Alignment in DreamWorks

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I made a pop up menu in fireworks, exported it and put it in DreamWorks. Now, the problem I got ist hat I want the menu in the middle of my page (center, it is my top frame page) and it aligns fine, except for the actual pop up, they are aligned left and so one half is not visible at all and the other half comes up totally in the wrong area....


what shal I do?
 
Hello Mr. Tony Montana!

There are two ways.

1) you have rebuild your pop-ups in FW and put it exactly in the place where it should be on your HTML page (for example, you want it to be in the center and 20 pixels from top - build your pop-ups in the center and 20 pixels from top).

2) fix it manually. In your HTML editor (it's DreamWeaver, isn't it?) click on the menu that calls pop-up menu, go to source code and find code that responsible for positioning of pop-up menu. It should look like this:
<a href=&quot;#&quot; onMouseOut=&quot;MM_swapImgRestore();FW_startTimeout()&quot; onMouseOver=&quot;window.FW_showMenu(window.fw_menu_0,59,74);MM_swapImage('site_map','','some_img_over.gif',1);&quot; >
<img name=&quot;some_name&quot; src=&quot;some_img.gif&quot; width=&quot;59&quot; height=&quot;23&quot; border=&quot;0&quot; align=&quot;middle&quot;>
</a>

those two numbers are responsible for positioning of your pop-up menu - first one is X coordinate and the other is Y. Change it to find the exact place where you want your pop-up menu appear.
This way seems for me better than first one 'cause it ensures you about the exact place where pop-up menu will appear.

Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top