Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 477
  • Last Modified:

rollover buttons not working on ebay

I have created a banner using Adobe Image Ready.  The rollovers work fine when opened in a web page, but as soon as I try and post it on ebay the rollovers dont work anymore.  I know rollovers can work on ebay, but I am thinking that the script that imageready creates may need to be adapted.

Here is a test listing: http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=140049390264
0
jarrodprice
Asked:
jarrodprice
  • 10
  • 8
1 Solution
 
UnexplainedWaysCommented:
I first though that maybe ebay stopped script's on there webpage, but if you have seen other's working before then i guess not.

To test it our, can you try this:

      <img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/4/banner_faq_btn.jpg" onmouseover="this.src = 'http://www.google.com.au/intl/en_au/images/logo.gif'">

If it changes then i'll look into your code in more depth, if it doesn't then we found out why.
0
 
jarrodpriceAuthor Commented:
It did work. If you look at the ad now, the button switches to google australia
0
 
jarrodpriceAuthor Commented:
Here is the code for the banner:

<html>
<head>
<title>Banner</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- ImageReady Preload Script (Banner.psd) -->
<script type="text/javascript">
<!--

userAgent = window.navigator.userAgent;
browserVers = parseInt(userAgent.charAt(userAgent.indexOf("/")+1),10);
function newImage(arg) {
      if (document.images) {
            rslt = new Image();
            rslt.src = arg;
            return rslt;
      }
}

function findElement(n,ly) {
      if (browserVers < 4)            return document[n];
      var curDoc = ly ? ly.document : document;
      var elem = curDoc[n];
      if (!elem) {
            for (var i=0;i<curDoc.layers.length;i++) {
                  elem = findElement(n,curDoc.layers[i]);
                  if (elem) return elem;
            }
      }
      return elem;
}

function changeImages() {
      if (document.images && (preloadFlag == true)) {
            var img;
            for (var i=0; i<changeImages.arguments.length; i+=2) {
                  img = null;
                  if (document.layers) {
                        img = findElement(changeImages.arguments[i],0);
                  }
                  else {
                        img = document.images[changeImages.arguments[i]];
                  }
                  if (img) {
                        img.src = changeImages.arguments[i+1];
                  }
            }
      }
}

var preloadFlag = false;
function preloadImages() {
      if (document.images) {
            banner_home_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-over.jpg");
            banner_home_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-down.jpg");
            banner_aboutus_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn-over.jpg");
            banner_aboutus_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn-down.jpg");
            banner_payment_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn-over.jpg");
            banner_payment_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn-down.jpg");
            banner_shipping_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn-over.jpg");
            banner_shipping_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn-down.jpg");
            banner_faq_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn-over.jpg");
            banner_faq_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn-down.jpg");
            banner_contactus_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn-over.jpg");
            banner_contactus_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn-down.jpg");
            banner_returns_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn-over.jpg");
            banner_returns_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn-down.jpg");
            banner_qsearch_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over.jpg");
            banner_policy_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_policy_bn-over.jpg");
            banner_feedback_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_feedback_bn-over.jpg");
            banner_education_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_education_bn-over.jpg");
            banner_qsearch_bn_over034 = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over-34.jpg");
            search_button_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/search_button-over.gif");
            search_button_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/search_button-down.gif");

            preloadFlag = true;
      }
}

// -->
</script>
<!-- End Preload Script -->
<!-- ImageReady Styles (Banner.psd - Slices: Banner_bottom, banner_aboutus_bn, banner_contactus_bn, banner_education_bn, banner_faq_bn, banner_feedback_bn, banner_home_bn, banner_payment_bn, banner_policy_bn, banner_qsearch_bn, banner_returns_bn, banner_search_bg, banner_search_bgl, banner_search_bgr, banner_shipping_bn,
banner_top) -->
<style type="text/css">
<!--

div.Table_01 {
      position:absolute;
      left:0px;
      top:0px;
      width:830px;
      height:170px;
}

div.banner-top {
      position:absolute;
      left:0px;
      top:1px;
      width:830px;
      height:71px;
}

div.banner-home-bn {
      position:absolute;
      left:0px;
      top:72px;
      width:99px;
      height:21px;
}

div.banner-aboutus-bn {
      position:absolute;
      left:99px;
      top:72px;
      width:123px;
      height:21px;
}

div.banner-payment-bn {
      position:absolute;
      left:222px;
      top:72px;
      width:117px;
      height:21px;
}

div.banner-shipping-bn {
      position:absolute;
      left:339px;
      top:72px;
      width:119px;
      height:21px;
}

div.banner-faq-bn {
      position:absolute;
      left:458px;
      top:72px;
      width:115px;
      height:21px;
}

div.banner-contactus-bn {
      position:absolute;
      left:573px;
      top:72px;
      width:124px;
      height:21px;
}

div.banner-returns-bn {
      position:absolute;
      left:697px;
      top:72px;
      width:133px;
      height:21px;
}

div.banner-qsearch-bn {
      position:absolute;
      left:0px;
      top:93px;
      width:138px;
      height:32px;
}

div.banner-policy-bn {
      position:absolute;
      left:138px;
      top:93px;
      width:117px;
      height:32px;
}

div.banner-feedback-bn {
      position:absolute;
      left:255px;
      top:93px;
      width:109px;
      height:32px;
}

div.banner-education-bn {
      position:absolute;
      left:364px;
      top:93px;
      width:131px;
      height:32px;
}

div.banner-search-bg {
      position:absolute;
      left:495px;
      top:93px;
      width:234px;
      height:32px;
}

div.banner-search-bgr {
      position:absolute;
      left:729px;
      top:93px;
      width:101px;
      height:32px;
      background-image: url(http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_search_bgr.jpg);
}

div.banner-qsearch-bn033 {
      position:absolute;
      left:0px;
      top:125px;
      width:1px;
      height:2px;
}

div.Banner-bottom {
      position:absolute;
      left:1px;
      top:125px;
      width:829px;
      height:45px;
}
.search-btn {
      float: left;
      padding-top: 7px;
}
.wrapper {
      position: relative;
      width: 830px;
      margin-left: auto;
      margin-right: auto;
      text-align: left;
}
body {
      width: 100%;
      text-align: center;
      margin: 0;
      padding: 0;
      border: 0;
}

-->
</style>
<!-- End ImageReady Styles -->
</head>
<body onLoad="preloadImages();" style="background-color:#FFFFFF; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;">
<!-- ImageReady Slices (Banner.psd - Slices: Banner_bottom, banner_aboutus_bn, banner_contactus_bn, banner_education_bn, banner_faq_bn, banner_feedback_bn, banner_home_bn, banner_payment_bn, banner_policy_bn, banner_qsearch_bn, banner_returns_bn, banner_search_bg, banner_search_bgl, banner_search_bgr, banner_shipping_bn,
banner_top) -->
<div class="wrapper">
<div class="Table_01">
      <div class="banner-top">
            <img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_top.jpg" width="830" height="71" alt="" />      </div>
      <div class="banner-home-bn">
            <a href="http://stores.ebay.com/Diagio-Diamonds" target="_blank"
                  onmouseover="changeImages('banner_home_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-over.jpg'); return true;"
                  onmouseout="changeImages('banner_home_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn.jpg'); return true;"
                  onmousedown="changeImages('banner_home_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-down.jpg'); return true;"
                  onmouseup="changeImages('banner_home_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-over.jpg'); return true;">
                  <img name="banner_home_bn" src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn.jpg" width="99" height="21" border="0" alt="Store Home" /></a>      </div>
      <div class="banner-aboutus-bn">
            <a href="http://members.ebay.com/ws/eBayISAPI.dll?ViewUserPage&userid=diagiodiamonds" target="_blank"
                  onmouseover="changeImages('banner_aboutus_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn-over.jpg'); return true;"
                  onmouseout="changeImages('banner_aboutus_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn.jpg'); return true;"
                  onmousedown="changeImages('banner_aboutus_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn-down.jpg'); return true;"
                  onmouseup="changeImages('banner_aboutus_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn-over.jpg'); return true;">
                  <img name="banner_aboutus_bn" src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn.jpg" width="123" height="21" border="0" alt="About Me" /></a>      </div>
      <div class="banner-payment-bn">
            <a href="#payment"
                  onmouseover="changeImages('banner_payment_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn-over.jpg'); return true;"
                  onmouseout="changeImages('banner_payment_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn.jpg'); return true;"
                  onmousedown="changeImages('banner_payment_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn-down.jpg'); return true;"
                  onmouseup="changeImages('banner_payment_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn-over.jpg'); return true;">
                  <img name="banner_payment_bn" src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn.jpg" width="117" height="21" border="0" alt="Payment" /></a>      </div>
      <div class="banner-shipping-bn">
            <a href="#shipping"
                  onmouseover="changeImages('banner_shipping_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn-over.jpg'); return true;"
                  onmouseout="changeImages('banner_shipping_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn.jpg'); return true;"
                  onmousedown="changeImages('banner_shipping_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn-down.jpg'); return true;"
                  onmouseup="changeImages('banner_shipping_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn-over.jpg'); return true;">
                  <img name="banner_shipping_bn" src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn.jpg" width="119" height="21" border="0" alt="Shipping" /></a>      </div>
      <div class="banner-faq-bn">
            <a href="#faqs"
                  onmouseover="changeImages('banner_faq_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn-over.jpg'); return true;"
                  onmouseout="changeImages('banner_faq_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn.jpg'); return true;"
                  onmousedown="changeImages('banner_faq_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn-down.jpg'); return true;"
                  onmouseup="changeImages('banner_faq_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn-over.jpg'); return true;">
                  <img name="banner_faq_bn" src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn.jpg" width="115" height="21" border="0" alt="Frequently Asked Question" /></a>      </div>
      <div class="banner-contactus-bn">
            <a href="#contactus"
                  onmouseover="changeImages('banner_contactus_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn-over.jpg'); return true;"
                  onmouseout="changeImages('banner_contactus_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn.jpg'); return true;"
                  onmousedown="changeImages('banner_contactus_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn-down.jpg'); return true;"
                  onmouseup="changeImages('banner_contactus_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn-over.jpg'); return true;">
                  <img name="banner_contactus_bn" src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn.jpg" width="124" height="21" border="0" alt="Contact Us" /></a>      </div>
      <div class="banner-returns-bn">
            <a href="#returns"
                  onmouseover="changeImages('banner_returns_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn-over.jpg'); return true;"
                  onmouseout="changeImages('banner_returns_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn.jpg'); return true;"
                  onmousedown="changeImages('banner_returns_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn-down.jpg'); return true;"
                  onmouseup="changeImages('banner_returns_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn-over.jpg'); return true;">
                  <img name="banner_returns_bn" src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn.jpg" width="133" height="21" border="0" alt="Returns" /></a>      </div>
      <div class="banner-qsearch-bn">
            <a href="#"
                  onmouseover="changeImages('banner_qsearch_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over.jpg', 'banner_qsearch_bn033', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over-34.jpg'); return true;"
                  onmouseout="changeImages('banner_qsearch_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn.jpg', 'banner_qsearch_bn033', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-33.jpg'); return true;"
                  onmousedown="changeImages('banner_qsearch_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn.jpg', 'banner_qsearch_bn033', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-33.jpg'); return true;"
                  onmouseup="changeImages('banner_qsearch_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over.jpg', 'banner_qsearch_bn033', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over-34.jpg'); return true;">
                  <img name="banner_qsearch_bn" src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn.jpg" width="138" height="32" border="0" alt="#qsearch" /></a>      </div>
      <div class="banner-policy-bn">
            <a href="http://stores.ebay.com/diagiodiamonds/pages/store-policy" target="_blank"
                  onmouseover="changeImages('banner_policy_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_policy_bn-over.jpg'); return true;"
                  onmouseout="changeImages('banner_policy_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_policy_bn.jpg'); return true;"
                  onmousedown="changeImages('banner_policy_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_policy_bn.jpg'); return true;"
                  onmouseup="changeImages('banner_policy_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_policy_bn-over.jpg'); return true;">
                  <img name="banner_policy_bn" src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_policy_bn.jpg" width="117" height="32" border="0" alt="Store Policy" /></a>      </div>
      <div class="banner-feedback-bn">
            <a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback&userid=diagiodiamonds" target="_blank"
                  onmouseover="changeImages('banner_feedback_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_feedback_bn-over.jpg'); return true;"
                  onmouseout="changeImages('banner_feedback_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_feedback_bn.jpg'); return true;"
                  onmousedown="changeImages('banner_feedback_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_feedback_bn.jpg'); return true;"
                  onmouseup="changeImages('banner_feedback_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_feedback_bn-over.jpg'); return true;">
                  <img name="banner_feedback_bn" src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_feedback_bn.jpg" width="109" height="32" border="0" alt="Feedback" /></a>      </div>
      <div class="banner-education-bn">
            <a href="http://stores.ebay.com/diagiodiamonds/pages/education" target="_blank"
                  onmouseover="changeImages('banner_education_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_education_bn-over.jpg'); return true;"
                  onmouseout="changeImages('banner_education_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_education_bn.jpg'); return true;"
                  onmousedown="changeImages('banner_education_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_education_bn.jpg'); return true;"
                  onmouseup="changeImages('banner_education_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_education_bn-over.jpg'); return true;">
                  <img name="banner_education_bn" src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_education_bn.jpg" width="131" height="32" border="0" alt="Education" /></a>      </div>
      <div class="banner-search-bg">
            <img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_search_bg.jpg" width="234" height="32" alt="" />      </div>
      <div class="banner-search-bgr">
      <div class="search-btn"><a href="#"
      onmouseover="changeImages('search_button', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/search_button-over.gif'); return true;"
      onmouseout="changeImages('search_button', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/search_button.gif'); return true;"
      onmousedown="changeImages('search_button', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/search_button-down.gif'); return true;"
      onmouseup="changeImages('search_button', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/search_button-over.gif'); return true;">
      <img name="search_button" src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/search_button.gif" width="95" height="19" border="0" alt="" /></a></div>
      </div>
      <div class="banner-qsearch-bn033">
            <a href="#"
                  onmouseover="changeImages('banner_qsearch_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over.jpg', 'banner_qsearch_bn033', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over-34.jpg'); return true;"
                  onmouseout="changeImages('banner_qsearch_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn.jpg', 'banner_qsearch_bn033', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-33.jpg'); return true;"
                  onmousedown="changeImages('banner_qsearch_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn.jpg', 'banner_qsearch_bn033', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-33.jpg'); return true;"
                  onmouseup="changeImages('banner_qsearch_bn', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over.jpg', 'banner_qsearch_bn033', 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over-34.jpg'); return true;">
                  <img name="banner_qsearch_bn033" src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-33.jpg" width="1" height="2" border="0" alt="#qsearch" /></a>      </div>
      <div class="Banner-bottom">
            <img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/Banner_bottom.jpg" width="829" height="45" alt="" />      </div>
</div>
<!-- End ImageReady Slices -->
<!-- End Wrapper --></div>

</body>
</html>
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
UnexplainedWaysCommented:
Try this bit of code:


<div class="banner-home-bn">
      <a href="http://stores.ebay.com/Diagio-Diamonds" target="_blank">
               <img name="banner_home_bn" src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn.jpg" width="99" height="21" border="0" alt="Store Home"
                   onmouseover="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-over.jpg'"
                           onmouseout="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn.jpg'"
                           onmousedown="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-down.jpg'"
                           onmouseup="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-over.jpg'"
            />
      </a>
</div>

I would still leave in ur preloadImages()'s to speed things up.
0
 
jarrodpriceAuthor Commented:
The only thing I am unsure of, is how to code the preloads?
0
 
jarrodpriceAuthor Commented:
0
 
UnexplainedWaysCommented:
Your code already pre-loads the images:

This is a copy and paste from one of your posts above:


---------------------------------------------------------------------------------------------------------------

function preloadImages() {
     if (document.images) {
          banner_home_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-over.jpg");
          banner_home_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-down.jpg");
          banner_aboutus_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn-over.jpg");
          banner_aboutus_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn-down.jpg");
          banner_payment_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn-over.jpg");
          banner_payment_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn-down.jpg");
          banner_shipping_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn-over.jpg");
          banner_shipping_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn-down.jpg");
          banner_faq_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn-over.jpg");
          banner_faq_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn-down.jpg");
          banner_contactus_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn-over.jpg");
          banner_contactus_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn-down.jpg");
          banner_returns_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn-over.jpg");
          banner_returns_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn-down.jpg");
          banner_qsearch_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over.jpg");
          banner_policy_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_policy_bn-over.jpg");
          banner_feedback_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_feedback_bn-over.jpg");
          banner_education_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_education_bn-over.jpg");
          banner_qsearch_bn_over034 = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over-34.jpg");
          search_button_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/search_button-over.gif");
          search_button_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/search_button-down.gif");

          preloadFlag = true;
     }
}
0
 
jarrodpriceAuthor Commented:
do I need an onload command?
0
 
jarrodpriceAuthor Commented:
and do I need to put a name id for each rollover to match the name = newimage?
0
 
UnexplainedWaysCommented:

Everything you need is in the code where you posted  >> "Here is the code for the banner:"

Yes you could use body onload, that's what your currently do:
"<body onLoad="preloadImages();"


>> "and do I need to put a name id for each rollover to match the name = newimage?"

I asume your talking about the lines that look like this

 :: search_button_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/search_button-down.gif");

If so, no they don't need to match, all it requires is http://...search_button-down.gif to go into a newImage (im pretty sure you need a space there new Image, uless you have your own code for it somewhere else).

 my_randomName = new Image("http.com/gif");

All this does is access that gif file, download it from your webpage and put it into the temp inet files, then when it's called later, rather than going to the server to get it, it just goes to the temp inet files and picks it up from there.
0
 
jarrodpriceAuthor Commented:
I have tried putting in preloadImages(); in the body tag, but get an error in firebug saying that "preloadImages is not defined", and it actually cancels out my other onload commands
0
 
UnexplainedWaysCommented:
I'm not sure why you needed to put it in, because with the code your posted, it already had it in there:

<body onLoad="preloadImages();" style="background-color:#FFFFFF; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;">


Oh and about the newImage, i checked and you do have a function caleld that that does all the work for you.



Did you include your javascript code in this webpage?

<script type="text/javascript">
<!--

userAgent = window.navigator.userAgent;
browserVers = parseInt(userAgent.charAt(userAgent.indexOf("/")+1),10);
function newImage(arg) {
     if (document.images) {
          rslt = new Image();
          rslt.src = arg;
          return rslt;
     }
}

function findElement(n,ly) {
     if (browserVers < 4)          return document[n];
     var curDoc = ly ? ly.document : document;
     var elem = curDoc[n];
     if (!elem) {
          for (var i=0;i<curDoc.layers.length;i++) {
               elem = findElement(n,curDoc.layers[i]);
               if (elem) return elem;
          }
     }
     return elem;
}

function changeImages() {
     if (document.images && (preloadFlag == true)) {
          var img;
          for (var i=0; i<changeImages.arguments.length; i+=2) {
               img = null;
               if (document.layers) {
                    img = findElement(changeImages.arguments[i],0);
               }
               else {
                    img = document.images[changeImages.arguments[i]];
               }
               if (img) {
                    img.src = changeImages.arguments[i+1];
               }
          }
     }
}

var preloadFlag = false;
function preloadImages() {
     if (document.images) {
          banner_home_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-over.jpg");
          banner_home_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-down.jpg");
          banner_aboutus_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn-over.jpg");
          banner_aboutus_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn-down.jpg");
          banner_payment_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn-over.jpg");
          banner_payment_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn-down.jpg");
          banner_shipping_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn-over.jpg");
          banner_shipping_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn-down.jpg");
          banner_faq_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn-over.jpg");
          banner_faq_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn-down.jpg");
          banner_contactus_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn-over.jpg");
          banner_contactus_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn-down.jpg");
          banner_returns_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn-over.jpg");
          banner_returns_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn-down.jpg");
          banner_qsearch_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over.jpg");
          banner_policy_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_policy_bn-over.jpg");
          banner_feedback_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_feedback_bn-over.jpg");
          banner_education_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_education_bn-over.jpg");
          banner_qsearch_bn_over034 = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over-34.jpg");
          search_button_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/search_button-over.gif");
          search_button_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/search_button-down.gif");

          preloadFlag = true;
     }
}

// -->
</script>

0
 
jarrodpriceAuthor Commented:
here is my revised code:

http://www.jarrodprice.myhomeserver.com/webpage.html

As soon as put in the preload tag, it causes my other body tags not to work
0
 
UnexplainedWaysCommented:
Your current code "<body onLoad="init(); showHide(); openDiv(3);">" is different from the code you posted above.  Which had preloadImages(); in it.
0
 
jarrodpriceAuthor Commented:
yes, as I said....as soon as I put the preloadimages in, it no longer works, and I receive an error message from firebug
0
 
UnexplainedWaysCommented:
Break down the page as much as you can by taking out all the stuff you dont need.  Makes it alot easier to isolate the page.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Banner</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<script language="javascript">
<!--


function newImage(arg)
{
     if (document.images)
     {
          rslt = new Image();
          rslt.src = arg;
          return rslt;
     }
}


function preloadImages()
{
     if (document.images)
     {
                banner_home_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-over.jpg");
                banner_home_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-down.jpg");
                banner_aboutus_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn-over.jpg");
                banner_aboutus_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn-down.jpg");
                banner_payment_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn-over.jpg");
                banner_payment_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn-down.jpg");
                banner_shipping_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn-over.jpg");
                banner_shipping_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn-down.jpg");
                banner_faq_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn-over.jpg");
                banner_faq_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn-down.jpg");
                banner_contactus_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn-over.jpg");
                banner_contactus_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn-down.jpg");
                banner_returns_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn-over.jpg");
                banner_returns_bn_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn-down.jpg");
                banner_qsearch_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over.jpg");
                banner_policy_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_policy_bn-over.jpg");
                banner_feedback_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_feedback_bn-over.jpg");
                banner_education_bn_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_education_bn-over.jpg");
                search_button_over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/search_button-over.gif");
                search_button_down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/search_button-down.gif");
                    info_aboutus_bn-down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/info_aboutus_bn-down.gif");
                  info_aboutus_bn-over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/info_aboutus_bn-over.gif");
                  info_contactus_bn-down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/info_contactus_bn-down.gif");
                  info_contactus_bn-over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/info_contactus_bn-over.gif");
                  info_faq_bn-down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/info_faq_bn-down.gif");
                  info_faq_bn-over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/info_faq_bn-over.gif");
                  info_payment_bn-down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/info_payment_bn-down.gif");
                  info_payment_bn-over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/info_payment_bn-over.gif");
                  info_return_bn-down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/info_return_bn-down.gif");
                  info_return_bn-over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/info_return_bn-over.gif");
                  info_shipping_bn-down = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/info_shipping_bn-down.gif");
                  info_shipping_bn-over = newImage("http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/info_shipping_bn-over.gif");


     }
}
// -->
</script>


<style type="text/css">
<!--

.banner {
      width: 830px;
}
.banner_toprow, .banner_bottomrow, banner_searchbox, .info_menubar {
      float: left;
}
</style>

</head>
<body onLoad="preloadImages();">
<table width="830" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
<div class="banner">
<div id="banner_head"><img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_top.jpg" /></div>
<div class="banner_toprow" id="bt1">
<a href="http://stores.ebay.com/Diagio-Diamonds" target="_blank"><img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn.jpg" width="99" height="21" alt="Store Home" onmouseover="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-over.jpg'; "
                         onmouseout="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn.jpg'"
                         onmousedown="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-down.jpg'"
                         onmouseup="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_home_bn-over.jpg'"/></a></div>
<div class="banner_toprow" id="bt2"><a href="#aboutus"><img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn.jpg" height="21" width="123" alt="About Us" onmouseover="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn-over.jpg'"
                         onmouseout="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn.jpg'"
                         onmousedown="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn-down.jpg'; openDiv(1)"
                         onmouseup="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_aboutus_bn-over.jpg'"/></a></div>
                                     
<div class="banner_toprow" id="bt3"><a href="#payment"><img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn.jpg" height="21"width="117" alt="Payment" onmouseover="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn-over.jpg'"
                         onmouseout="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn.jpg'"
                         onmousedown="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn-down.jpg'; openDiv(2)"
                         onmouseup="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_payment_bn-over.jpg'"/></a></div>
                                     
<div class="banner_toprow" id="bt4"><a href="#shipping"><img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn.jpg" height="21" width="119" alt="Shipping" onmouseover="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn-over.jpg'"
                         onmouseout="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn.jpg'"
                         onmousedown="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn-down.jpg'; openDiv(3)"
                         onmouseup="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_shipping_bn-over.jpg'"/></a></div>
<div class="banner_toprow" id="bt5"><a href="#faq"><img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn.jpg" height="21" width="115" alt="Frequently Asked Questions" onmouseover="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn-over.jpg'"
                         onmouseout="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn.jpg'"
                         onmousedown="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn-down.jpg'; openDiv(4)"
                         onmouseup="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_faq_bn-over.jpg'"/></a></div>
<div class="banner_toprow" id="bt6"><a href="#contactus"><img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn.jpg" height="21" width="124" alt="Contact Us" onmouseover="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn-over.jpg'"
                         onmouseout="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn.jpg'"
                         onmousedown="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn-down.jpg'; openDiv(5)"
                         onmouseup="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_contactus_bn-over.jpg'"/></a></div>
<div class="banner_toprow" id="bt7"><a href="#returns"><img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn.jpg" height="21" width="133" alt="Return Policy" onmouseover="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn-over.jpg'"
                         onmouseout="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn.jpg'"
                         onmousedown="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn-down.jpg'; openDiv(6)"
                         onmouseup="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_returns_bn-over.jpg'"/></a></div>
<div class="spacer"></div>                                    
<div class="banner_bottomrow" id="bb1"><a href="http://stores.ebay.com/diagio-diamonds/pages/quick-search" target="_blank"><img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn.jpg" height="32" width="138" alt="Quick Search" onmouseover="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over.jpg'"
                         onmouseout="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn.jpg'"
                         onmousedown="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over.jpg'"
                         onmouseup="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_qsearch_bn-over.jpg'"/></a></div>
<div class="banner_bottomrow" id="bb2"><a href="http://stores.ebay.com/diagio-diamonds/pages/help-center" target="_blank"><img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_help_bn.jpg" height="32" width='125' alt="Help Center" onmouseover="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_help_bn-over.jpg'"
                         onmouseout="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_help_bn.jpg'"
                         onmousedown="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_help_bn-over.jpg'"
                         onmouseup="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_help_bn-over.jpg'"/></a></div>
      <div class="banner_bottomrow" id="bb3"><a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback&userid=diagiodiamonds" target="_blank"><img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_feedback_bn.jpg" height="32" width="114" alt="Feedback" onmouseover="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_feedback_bn-over.jpg'"
                         onmouseout="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_feedback_bn.jpg'"
                         onmousedown="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_feedback_bn-over.jpg'"
                         onmouseup="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_feedback_bn-over.jpg'"/></a></div>
      <div class="banner_bottomrow" id="bb4"><a href="http://stores.ebay.com/diagio-diamonds/pages/education" target="_blank"><img src="http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_education_bn.jpg" height="32" width="118" alt="Education" onmouseover="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_education_bn-over.jpg'"
                         onmouseout="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_education_bn.jpg'"
                         onmousedown="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_education_bn-over.jpg'"
                         onmouseup="this.src = 'http://images.channeladvisor.com/Sell/SSProfiles/23000048/Images/5/banner_education_bn-over.jpg'"/></a></div>


</body>
</html>
0
 
UnexplainedWaysCommented:
Then when it gives you an error, it usually gives you a line number aswell.  Then go to that line and see whatt he problem is, in this case it was from your existing code.

"info_shipping_bn-over", i've never seen a name with a - in the middle, the compiler might think it's actually 2 variables doing a subtraction:

info_shipping_bn - over, i replaced it with the _ and it worked.
0
 
jarrodpriceAuthor Commented:
That was the problem!

Awesome
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 10
  • 8
Tackle projects and never again get stuck behind a technical roadblock.
Join Now