Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1

Thread: roll over help

  1. #1
    Junior Member
    Join Date
    Mar 2005
    Posts
    1
    Member #
    9218
    I cant figure out why my rollover images on my navigation bar stay in the over position if you click them. They work fine (change on mouse over, change back on mouse out) but if you click them, they stay in mouse over position until you move off the image and bakc onto it again.

    heres the link
    http://www.productioncargo.com/home.html

    heres the code

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Production Cargo - Links & Affiliates</title>
    <meta name="description" content="Welcome to our links page. Make sure to scroll down in the TV to view all of our affiliates and links.">
    
    <meta name="keywords" content="production, cargo, television, tv, movie, links, industry, location, logistics, shipping, transportation, crew">
    
    <meta NAME="REVISIT-AFTER" CONTENT="14 days">
    <meta name="author" content="Production Cargo, LLC">
    <meta NAME="ROBOTS" CONTENT="ALL">
    <meta NAME="DISTRIBUTION" CONTENT="GLOBAL">
    <link rel="stylesheet" href="" type="text/css" media="all" />
    <meta http-equiv="dialect" content="us">
    <meta http-equiv="language" content="english">
    <meta http-equiv="imagetoolbar" content="no">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="MSSmartTagsPreventParsing" content="TRUE" />
    <meta name="copyright" content="Copyright (c)2001-2005 PRODUCTION CARGO.  All rights reserved.">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script language="JavaScript" type="text/JavaScript">
    <!--
    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];}}
    }
    
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
    
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
    
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    <style type="text/css">
    <!--
    body {
    	background-color: #CCCCCC;
    }
    -->
    </style></head>
    
    <body marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/services2.gif','images/contact2.gif','images/shows2.gif','images/links2.gif','images/quotes2.gif','images/pictures2.gif','images/home2.gif','images/top2.gif')">
    <table width="1041" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutDefaultTable-->
      <tr>
        <td height="170" colspan="6" valign="top"><img src="images/banner2.gif" name="logo" width="1000" height="170" id="logo"></td>
      </tr>
      <tr>
        <td width="9" rowspan="11" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td height="16" colspan="2" valign="top"><img src="images/top1.gif" name="toplight" width="175" height="16" id="toplight"></td>
        <td width="119" rowspan="11" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="645"></td>
        <td width="93" rowspan="11" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
      </tr>
      <tr>
        <td height="36" colspan="2" valign="top"><a href="http://www.productioncargo.com/homeframe.html" target="layoutframe" onMouseUp="MM_swapImage('toplight','','images/top2.gif',1)" onMouseOver="MM_swapImage('Home','','images/home2.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/home1.gif" alt="Home" name="Home" width="175" height="36" border="0"></a></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="32" colspan="2" valign="top"><a href="http://www.productioncargo.com/servicesframe.html" target="layoutframe" onMouseUp="MM_swapImage('toplight','','images/top2.gif',1)" onMouseOver="MM_swapImage('Services','','images/services2.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/services1.gif" alt="Services" name="Services" width="175" height="32" border="0"></a></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="32" colspan="2" valign="top"><a href="http://www.productioncargo.com/contactframe.html" target="layoutframe" onMouseUp="MM_swapImage('toplight','','images/top2.gif',1)" onMouseOver="MM_swapImage('Contact','','images/contact2.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/contact1.gif" alt="Contact" name="Contact" width="175" height="32" border="0"></a></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="32" colspan="2" valign="top"><a href="http://www.productioncargo.com/showsframe.html" target="layoutframe" onMouseUp="MM_swapImage('toplight','','images/top2.gif',1)" onMouseOver="MM_swapImage('Shows','','images/shows2.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/shows1.gif" alt="Shows" name="Shows" width="175" height="32" border="0"></a></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="32" colspan="2" valign="top"><a href="http://www.productioncargo.com/linksframe.html" target="layoutframe" onMouseUp="MM_swapImage('toplight','','images/top2.gif',1)" onMouseOver="MM_swapImage('Links','','images/links2.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/links1.gif" alt="Links" name="Links" width="175" height="32" border="0"></a></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="32" colspan="2" valign="top"><a href="http://www.productioncargo.com/quotesframe.html" target="layoutframe" onMouseUp="MM_swapImage('toplight','','images/top2.gif',1)" onMouseOver="MM_swapImage('Quotes','','images/quotes2.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/quotes1.gif" alt="Quotes" name="Quotes" width="175" height="32" border="0"></a></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="32" colspan="2" valign="top"><a href="http://www.productioncargo.com/pictures.html" onMouseUp="MM_swapImage('toplight','','images/top2.gif',1)" onMouseOver="MM_swapImage('Pictures','','images/pictures2.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/pictures1.gif" alt="Pictures" name="Pictures" width="175" height="32" border="0"></a></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td width="135" rowspan="2" valign="top"><img src="images/pad3.gif" name="pad" width="135" height="137" id="pad"></td>
        <td width="40" height="109" valign="top"><img src="images/blank2.gif" name="blank" width="40" height="109" id="blank"></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="28" valign="top"><img src="images/more3.gif" width="40" height="28"></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="131" colspan="2" valign="top"><img src="images/bottom.gif" name="bottom" width="175" height="131" id="bottom"></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="61" colspan="6" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
      </tr>
      <tr>
        <td height="144">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table>
    <iframe id="layoutframe" name="layoutframe" style="position:absolute; width:645px; height:512px; top:186px; left:303px; z-index:1" frameborder="no" scrolling="no" src="homeframe.html">&nbsp;</iframe>
    </body>
    </html>

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:30 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com