Announcement

Collapse
No announcement yet.

Background image repeating

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Background image repeating

    Re-designing one of our sites and have come across something very irritating (to the online user, not me; I'm always irritated )
    Here's the test site: http://www.motorcycleintercoms.co.uk/

    We have a background image that sets the shadow across the top of the screen, set to repeat-x; which works fine.
    Once the site is loaded, clicking on any product or fragment links anywhere work fine.
    But clicking on any of the marketing links (Best Sellers, New Products, Previously Viewed) causes the screen to re-draw, filling the background with the background image, before the repeat-x; kicks in and restores the background to just one line across the top.
    Apart from the sheer horrid aesthetics of this - if one was photo-epileptic it could cause ructions!

    Anyone any ideas how to suppress or fix this please?
    Here's the (standard V11) code from the Best Sellers box:

    Code:
    <p class="text_product_small_info_heading">
    	<a rel="nofollow" href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&amp;NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>"><actinic:variable name="ProductName" /></a>
    </p>
    <div class="product_image_cost">
    	<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductImageFileName%22%20%2f%3e%20%21%3d%20%22%22">
    		<a rel="nofollow" href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&amp;NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>">
    		<img style="border: 0;" src="<actinic:variable name="ProductImageFileName" />" width="80" alt="<actinic:variable name="ProductName" encoding="strip"/>"title="<actinic:variable name="ProductName" encoding="strip"/>" title="<actinic:variable name="ProductName" encoding="strip"/>" /></a>
    	</actinic:block>
    </div>
    <p class="text_product_small_info_price">
    	<Actinic:PRICES PROD_REF="<actinic:variable Name="ProductID" />" RETAIL_PRICE_PROMPT="<Actinic:Variable Name="ProductPriceDescription"/>"><actinic:variable value="Marketing Price List" name="PriceListRetail" /></Actinic:PRICES>
    </p>
    Thanks
    Sean
    Kind Regards
    Sean Williams

    Calamander Ltd

    #2
    Your problem pages go through SearchScript.pl. This returns a bounce page as follows:
    Code:
    <HTML><HEAD>
    <META HTTP-EQUIV="refresh" CONTENT="0; URL=http://www.motorcycleintercoms.co.uk/acatalog/mh-1-digital-thermometer.html#aMH_2d1">
    <SCRIPT LANGUAGE="JAVASCRIPT">
    <!-- hide from older browsers
    setTimeout("ForwardPage()", 1000);
    function ForwardPage()
    	{
    	var sURL = 'http://www.motorcycleintercoms.co.uk/acatalog/mh-1-digital-thermometer.html#aMH_2d1';
    	location.replace(sURL);
    	}
    // -->
    </SCRIPT>
    </HEAD><BODY BACKGROUND="http://www.motorcycleintercoms.co.uk/acatalog/background.jpg" TEXT="#333333" LINK="#ff0000" ALINK="#777777" VLINK="#0066ff"><BLOCKQUOTE>
    <P>
    <NOSCRIPT>Please wait for your browser to forward you to the next page or click <a href="http://www.motorcycleintercoms.co.uk/acatalog/mh-1-digital-thermometer.html#aMH_2d1">here</a>.
    </NOSCRIPT><BLOCKQUOTE></BODY>
    </HTML>
    The problem is that BACKGROUND attribute.

    On a standard V11 system, that page uses:
    Code:
    <BODY BGCOLOR="#ffffff" TEXT="#000000" LINK="#cc0000" ALINK="#cc0000" VLINK="#cc0000">
    I'm not sure where this should be fixed. Can't see "ForwardPage" in the Library.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      A quick fix may be to change background.jpg and use a different file name in your CSS.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        UPDATE: You can control the background image via Settings / Site Options / General / Appraance Settings / Background Image.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X