SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Feb 2005
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JS Menu Not Working In Netscape 7.0

    Hi Folks,

    I just created a JS Menu with sub menus. Each main button has a thin, gray border. In Netscape, the border displays under the main buttons, rather then as a border. How can I fix this?

    Thanks.

    A screen shot of this problem is attached to this post.
    Attached Images Attached Images

  2. #2
    SitePoint Aficionado JVLB's Avatar
    Join Date
    Jan 2002
    Location
    N 44 56.537' W 123 3.683'
    Posts
    1,127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The problem is more likely one of CSS or HTML than JavaScript. In any case, we'd have to see the code.

  3. #3
    SitePoint Member
    Join Date
    Feb 2005
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    here's the code

    Here's the page code: I'm not using any CSS, so I thought this might be helpful. What other info might help?


    Thanks,

    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="whatever.css" rel="stylesheet" type="text/css">
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) { //reloads the window if Nav4 resized
    if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
    else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    }
    MM_reloadPage(true);

    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
    //-->
    </script>
    </head>

    <body class>
    <!--** START NAVSTUDIO MENU TAGS (569229) **-->
    <table width="800" border="0" align="left" cellpadding="5" bordercolor="#CCCCCC">
    <tr>
    <td height="100" colspan="2">
    <img src="mast.gif" width="800" height="100" hspace="0" vspace="0" border="0" class="image" onClick="MM_preloadImages('mast.gif')"></td>
    </tr>
    <tr>
    <td height="38" align="left" valign="top">
    <script language="JavaScript" vqptag="doc_level_settings" vqp_datafile0="new_menu3.js" vqp_uid0=569229>cdd__codebase = "navigation/";cdd__codebase569229 = "navigation/";</script>
    <script language="JavaScript" vqptag="datafile" src="navigation/new_menu3.js"></script><script vqptag="placement" vqp_menuid="569229" language="JavaScript">create_menu(569229)</script>
    <!--** END NAVSTUDIO MENU TAGS **--></td>
    <td align="left" valign="top">Welcome to Alex and Lor's Wedding Website: All Content (i.e. Images, Text, Links) will go here... </td>
    </tr>
    <tr>
    <td width="20">&nbsp;</td>
    <td width="776"><div align="center">Site Footer Goes Here </div></td>
    </tr>
    </table>
    </body>
    </html>

  4. #4
    &#083;itePoint Aficionado JVLB's Avatar
    Join Date
    Jan 2002
    Location
    N 44 56.537' W 123 3.683'
    Posts
    1,127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The page does indicate it is importing a CSS file, whatever.css. Is the border you speak of part of the image? If it is, I might first look at how adjusting the cellpadding value affects the display.


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
  •