PDA

View Full Version : Drop Down Menu.JS Problem



vlane95678
09-10-2007, 11:49 PM
1) Script Title: Drop Down Menu.JS Problem

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem:

We just added 2 menus - 1 vertical and 1 horizontal. When we add the javascript to the horizontal menu it makes an extra space. You can see the javascript little logo and some (what look like) hard returns which messes up the alignment of our table. Can anyone help smooth out this issue? Maybe make the javascript little logo disappear or ways to get the whole thing on 1 line?

Here is the example - please mouse over the "Loan Center" graphic, just by looking at it you can see the table is jacked. http://www.relr.com/index.htm

I have taken out all the returns and still, the spacing is crazy because of the script.

And here is the entire contents of that cell (as you can see there are no breaks or returns in the code, but it shows on the screen:

<td width="1" align="left"><div id="menu_parent" class="sample_attach"><a onmouseover="image22.src='Lanitech_Artwork/button_loan_on.jpg';" onmouseout="image22.src='Lanitech_Artwork/button_loan.jpg';" target="_self" href="loan_center.htm">
<img name="image22" src="Lanitech_Artwork/button_loan.jpg" border="0" alt="Loan Center" width="120" height="123"></a></div><div id="menu_child" style="position: absolute; visibility: hidden;">
<a class="sample_attach" href="#.htm"><img border="0" src="Lanitech_Artwork/bullet_yellow.jpg" width="15" height="13"> Pre-Qual Checklist</a>
<a class="sample_attach" href="#.htm"><img border="0" src="Lanitech_Artwork/bullet_yellow.jpg" width="15" height="13"> Prequalify Now</a>
<a class="sample_attach" href="#.htm"><img border="0" src="Lanitech_Artwork/bullet_yellow.jpg" width="15" height="13"> My Account</a>
</div>

ddadmin
09-12-2007, 08:43 AM
Did you manage to fix the problem? I don't see any obvious gap in the layout.