Results 1 to 2 of 2

Thread: what's wrong with this code?

  1. #1
    Join Date
    Oct 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default what's wrong with this code?

    this page displays correctly in IE6/7 however Firefox is not shoving the drop down menus why? why? why?

    please help me out
    open the pic to see the structure of the menus



    here is the source

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Test Site</title>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="expires" content="0">
    <meta name="resource-type" content="document">
    <meta name="distribution" content="global">
    <meta name="robots" content="index, follow">
    <meta name="revisit-after" content="1 days">
    <meta name="rating" content="general">
    <meta name="author" content="Sadmir">

    <link rel="stylesheet" href="res/main.css">
    <script type="text/javascript" src="res/settings.js"></script>
    <script type="text/javascript" src="res/arrays.js"></script>
    <script type="text/javascript" src="res/engine.js"></script>

    </head>
    <body leftmargin="0" topmargin="0" background="images/bg.gif">
    <table align="center" width="769" border="0" height="100%" cellpadding="0" cellspacing="0">
    <tr>
    <td height="130" valign="middle" colspan="2" background="images/top.jpg"><font size="5" color="#FFFFFF" face="Verdana"><br><b>&nbsp;&nbsp;&nbsp;Test Site</b></font></td>
    </tr>
    <tr>
    <td width="161" valign="top" background="images/bg_menu.gif">
    <table cellspacing="0" cellpadding="0" width="135">
    <tr>
    <td width="15" height="0" valign="top"></td>
    <td width="120" height="0" valign="top">
    <div class="mainMenu" id="ID_elpage1" onclick="javascript:window.location='home.html';" onmouseover="chgPageStl(1,1)" onmouseout="chgPageStl(0,1)">Home Page</div>
    </td>
    </tr>
    <tr>
    <td width="15" height="0" valign="top"></td>
    <td width="120" height="0" valign="top">
    <div class="mainMenu" id="ID_elmenu1" onclick="javascript:window.location='pg001.html';" onmouseover="popUp('elmenu1',event)" onmouseout="popDown('elmenu1')"><img src="images/ar_menu.gif" border="0" vspace="3" align="right">Pictures</div>
    </td>
    </tr>
    <tr>
    <td width="15" height="0" valign="top"></td>
    <td width="120" height="0" valign="top">
    <div class="mainMenu" id="ID_elmenu2" onclick="javascript:window.location='pg000.html';" onmouseover="popUp('elmenu2',event)" onmouseout="popDown('elmenu2')"><img src="images/ar_menu.gif" border="0" vspace="3" align="right">Vidoes</div>
    </td>
    </tr>
    <tr>
    <td width="15" height="0" valign="top"></td>
    <td width="120" height="0" valign="top">
    <div class="mainMenu" id="ID_elmenu3" onclick="javascript:window.location='pg005.html';" onmouseover="popUp('elmenu3',event)" onmouseout="popDown('elmenu3')"><img src="images/ar_menu.gif" border="0" vspace="3" align="right">Links</div>
    </td>
    </tr>
    </table>
    </td>
    <td width="608" valign="top" background="images/bg_content.gif">
    <div style="height:0px; width:580px; position: relative">
    <div id="imToolTip"></div>


    </div>
    </td>
    </tr>
    <tr align="center" valign="middle">
    <td height="48" colspan="2" background="images/bottom.gif">
    <table width="95%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>&nbsp;
    </td>
    <td align="right">&nbsp;&nbsp;&nbsp;
    </td>
    </tr>
    </table></td>
    </tr>
    </table>
    </body>
    </html>

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Can you attach the following mentioned files in the forum the problem mostly related to the Javascript code you used to construct the menu

    HTML Code:
    <script type="text/javascript" src="res/settings.js"></script>
    <script type="text/javascript" src="res/arrays.js"></script>
    <script type="text/javascript" src="res/engine.js"></script>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •