Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Image Rollover DropDown Menu Help!!!!!
Old 09-18-2009, 03:10 PM Image Rollover DropDown Menu Help!!!!!
Novice Talker

Posts: 7
Trades: 0
Hi there fellow members!

I need a bit of help. I am building a website and am using a row of horizontal images and this script as a dropdown menu for each image: http://javascript-array.com/scripts/...rop_down_menu/

Here's the problem:
On FF, it drops down below the image just I want it to; on IE8, it floats to the right of the image, covering the neighboring image up. I am using the exact same CSS and Javascript that they include, but here is my code:

Code:
  <!-- Begin Cascade Nav -->  
    <tr>
    <td colspan="3">

                <table border="0" cellpadding="0" cellspacing="0">

                      <tr>
          <td width="780px" bgcolor="001d47">
          <ul id="sddm" style="height: 1px">
        <li><img src="images/audi.png" border="0" width="50" height="39" alt="Audi Windscreens" onmouseover="mopen('m1')" onmouseout="mclosetime()">
            <div id="m1" 
                onmouseover="mcancelclosetime()" 
                onmouseout="mclosetime()">
            <a href="audi4.html">Audi 4</a>
            <a href="minicooper.html">Mini Cooper</a>
            <a href="z3.html">Z3</a>
            <a href="z4.html">Z4</a>
            <a href="z8.html">Z8</a>

               </div>
        </li>
        <li><img src="images/bmw.png" border="0" width="50" height="39" alt="BMW Windscreens" onmouseover="mopen('m2')" onmouseout="mclosetime()">
            <div id="m2" 
                onmouseover="mcancelclosetime()" 
                onmouseout="mclosetime()">
            <a href="minicooper.html">Mini Cooper</a>
            <a href="z3.html">Z3</a>
            <a href="z4.html">Z4</a>
            <a href="z8.html">Z8</a>
               </div>
        </li>
        <li><img src="images/cadillac.png" border="0" width="50" height="39" alt="Cadillac Windscreens" onmouseover="mopen('m1')" onmouseout="mclosetime()">
            <div id="m1" 
                onmouseover="mcancelclosetime()" 
                onmouseout="mclosetime()">
            <a href="audi4.html">Audi 4</a>
               </div>
        </li>
        <li><img src="images/ford.png" border="0" width="50" height="39" alt="Ford Windscreens" onmouseover="mopen('m1')" onmouseout="mclosetime()">
            <div id="m1" 
                onmouseover="mcancelclosetime()" 
                onmouseout="mclosetime()">
            <a href="audi4.html">Audi 4</a>
               </div>
        </li>
        <li><img src="images/jeep.png" border="0" width="50" height="39" alt="Jeep Windscreens" onmouseover="mopen('m1')" onmouseout="mclosetime()">
            <div id="m1" 
                onmouseover="mcancelclosetime()" 
                onmouseout="mclosetime()">
            <a href="audi4.html">Audi 4</a>
               </div>
        </li>
        <li><img src="images/mazda.png" border="0" width="50" height="39" alt="Mazda Windscreens" onmouseover="mopen('m1')" onmouseout="mclosetime()">
            <div id="m1" 
                onmouseover="mcancelclosetime()" 
                onmouseout="mclosetime()">
            <a href="audi4.html">Audi 4</a>
               </div>
        </li>
        <li><img src="images/opel.png" border="0" width="50" height="39" alt="Opel Windscreens" onmouseover="mopen('m1')" onmouseout="mclosetime()">
            <div id="m1" 
                onmouseover="mcancelclosetime()" 
                onmouseout="mclosetime()">
            <a href="audi4.html">Audi 4</a>
               </div>
        </li>
        <li><img src="images/pontiac.png" border="0" width="50" height="39" alt="Pontiac Windscreens" onmouseover="mopen('m1')" onmouseout="mclosetime()">
            <div id="m1" 
                onmouseover="mcancelclosetime()" 
                onmouseout="mclosetime()">
            <a href="audi4.html">Audi 4</a>
               </div>
        </li>
        <li><img src="images/saab.png" border="0" width="50" height="39" alt="Saab Windscreens" onmouseover="mopen('m1')" onmouseout="mclosetime()">
            <div id="m1" 
                onmouseover="mcancelclosetime()" 
                onmouseout="mclosetime()">
            <a href="audi4.html">Audi 4</a>
               </div>
        </li>
        <li><img src="images/toyota.png" border="0" width="50" height="39" alt="Toyota Windscreens" onmouseover="mopen('m1')" onmouseout="mclosetime()">
            <div id="m1" 
                onmouseover="mcancelclosetime()" 
                onmouseout="mclosetime()">
            <a href="audi4.html">Audi 4</a>
               </div>
        </li>
        <li><img src="images/volvo.png" border="0" width="50" height="39" alt="Volvo Windscreens" onmouseover="mopen('m1')" onmouseout="mclosetime()">
            <div id="m1" 
                onmouseover="mcancelclosetime()" 
                onmouseout="mclosetime()">
            <a href="audi4.html">Audi 4</a>
               </div>
        </li>        
       

</ul>
<div style="clear:both"></div>

            </td>
        </tr>
                    </table>    
    </td>
    <td width="100%" bgcolor="001d47"></td>
  </tr>

  <!-- End Cascade Nav -->
I've also attached screenshots to show how it looks on both FF and IE. Please take a look and make recommendations on how I can get the menu to float below the images in IE8, too. Thank you so much!
Attached Images
File Type: jpg sample4 - Copy.jpg (85.3 KB, 5 views)
File Type: jpg sample5 - Copy.jpg (83.9 KB, 4 views)
wild20 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-21-2009, 01:59 PM Re: Image Rollover DropDown Menu Help!!!!!
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Do you have a DOCTYPE on your page?
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 09-23-2009, 01:35 PM Re: Image Rollover DropDown Menu Help!!!!!
Novice Talker

Posts: 7
Trades: 0
You're a genius. But here's the thing. It is both HTML and javascript. How would I do that? Thanks!

-Justin
wild20 is offline
Reply With Quote
View Public Profile
 
Old 09-24-2009, 09:01 AM Re: Image Rollover DropDown Menu Help!!!!!
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
How would you do what?
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Reply     « Reply to Image Rollover DropDown Menu Help!!!!!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15099 seconds with 13 queries