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 2 of 2
  1. #1
    Member
    Join Date
    Oct 2004
    Posts
    45
    Member #
    7875
    Right, this is the site: http://www.pesplus.com/PES+_Web/index.php

    You'll notice that the home button works fine, but the rollover states don't take effect on the other buttons. Why's this? This is the code I've used for the menubar:

    Code:
    <script language="JavaScript" type="text/JavaScript">
    <!--
    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_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_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>
    <body onLoad="MM_preloadImages('images/home_over.gif','images/aboutus_over.gif','images/portfolio_over.gif','images/customdesign_over.gif','images/freetemplates_over.gif','images/pricing_over.gif','images/contactus_over.gif')">
    <table width="136" height="206" border="0" cellpadding="0" cellspacing="0">
    <tr> 
    <td height="39"><img src="images/navigation.jpg" width="100" height="39" align="left"></td>
    </tr>
    <tr> 
    <td height="8"><p><a href="index.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Home','','images/home_over.gif',1)" onMouseDown="MM_swapImage('Home','','images/home_down.gif',1)" onClick="MM_swapImage('Home','','images/home_down.gif',1)""><img name="Home" border="0" src="images/home_up.gif" alt="Home"></a></p></td>
    </tr>
    <tr>
    <td height="8"><p><a href="aboutus.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('About Us','','images/aboutus_over.gif',1) onMouseDown="MM_swapImage('About Us','','images/aboutus_down.gif',1)" onClick="MM_swapImage('About Us','','images/aboutus_down.gif',1)""><img name="About Us" border="0" src="images/aboutus_up.gif" alt="About Us"></a></p></td>
    </tr>
    <tr>
    <td height="8"><p><a href="portfolio.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Portfolio','','images/portfolio_over.gif',1) onMouseDown="MM_swapImage('Portfolio','','images/portfolio_down.gif',1)" onClick="MM_swapImage('Portfolio','','images/portfolio_down.gif',1)""><img name="Portfolio" border="0" src="images/portfolio_up.gif" alt="Portfolio"></a></p></td>
    </tr>
    <tr>
    <td height="8"><p><a href="customdesign.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Custom Design','','images/customdesign_over.gif',1) onMouseDown="MM_swapImage('Custom Design','','images/customdesign_down.gif',1)" onClick="MM_swapImage('Custom Design','','images/customdesign_down.gif',1)""><img name="Custom Design" border="0" src="images/customdesign_up.gif" alt="Custom Design"></a></p></td>
    </tr>
    <tr>
    <td height="8"><p><a href="freetemplates.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Free Templates','','images/freetemplates_over.gif',1) onMouseDown="MM_swapImage('Free Templates','','images/freetemplates_down.gif',1)" onClick="MM_swapImage('Free Templates','','images/freetemplates_down.gif',1)""><img name="Free Templates" border="0" src="images/freetemplates_up.gif" alt="Free Templates"></a></p></td>
    </tr>
    <tr>
    <td height="8"><p><a href="pricing.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Pricing','','images/pricing_over.gif',1) onMouseDown="MM_swapImage('Pricing','','images/pricing_down.gif',1)" onClick="MM_swapImage('Pricing','','images/pricing_down.gif',1)""><img name="Pricing" border="0" src="images/pricing_up.gif" alt="Pricing"></a></p></td>
    </tr>
    <tr>
    <td height="8"><p><a href="contactus.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Contact Us','','images/contactus_over.gif',1) onMouseDown="MM_swapImage('Contact Us','','images/contactus_down.gif',1)" onClick="MM_swapImage('Contact Us','','images/contactus_down.gif',1)""><img name="Contact Us" border="0" src="images/contactus_up.gif" alt="Contact Us"></a></p></td>
    </tr>
    </table>

  2.  

  3. #2
    Junior Member
    Join Date
    Feb 2005
    Posts
    10
    Member #
    8888
    your link is off. do you have another one?


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:13 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com