Click to See Complete Forum and Search --> : Drop down menu need to be centered


TJJ
05-16-2003, 04:43 PM
The drop down menu on this page http://www.optioncaddie.com/newtopborder.htm is always on the left. Hoc can I get it tso the dropdown menu is always below the category it is a menu for?

TJJ
05-16-2003, 05:07 PM
But where does that mean I place the new code?

objDIV.style.position = "absolute";
objDIV.style.left = x+"px";
objDIV.style.top = y+"px";

TJJ
05-17-2003, 01:43 PM
I don't know what that means. What code is the DHTML DIV block is.

Nevermore
05-17-2003, 02:07 PM
The menu and page positioning do not work in Mozilla.

TJJ
05-19-2003, 11:46 AM
It didn't work. I tried this ....


<td VALIGN=CENTER WIDTH="12%" BGCOLOR="#FFFFFF"><a href="http://www.optioncaddie.com" onMouseOver="menu_enter (0); objDIV.style.position = "absolute"; objDIV.style.left = x+"px"; objDIV.style.top = y+"px";" onMouseOut="menu_exit (0);" class="topMenu"><font face="Palatino Linotype" size="2"><span style="font-weight: 400">Home Page</span></font></a></td>

You also mentioned an 'or' scenario of...

or, your DHTML DIV blocks should be initially generated with the correct positioning information.

How and where do I do that?

TJJ
05-20-2003, 09:59 AM
ok, I tried 100 for x & y like this.....

<td VALIGN=CENTER WIDTH="12%" BGCOLOR="#FFFFFF"><a href="http://www.optioncaddie.com" onMouseOver="menu_enter (0); objDIV.style.position = "absolute"; objDIV.style.left = 100+"px"; objDIV.style.top = 100+"px"; " onMouseOut="menu_exit (0);" class="topMenu"><font face="Palatino Linotype" size="2"><span style="font-weight: 400">Home Page</span></font></a></td>

That didn't work.

How does the ONLoad function work? That seems like it would be the easiest as it is not recoding every box

TJJ
05-21-2003, 12:12 AM
I don't know what this means.....

objDIV needs to be a valid object reference to the DIV block in question.

TJJ
05-21-2003, 11:39 AM
This is beyond me.

I will surf the net for another script.