Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New Coder
    Join Date
    Oct 2006
    Posts
    63
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Code to isolate other code

    Hi,

    Very strange title because it's hard to describe my problem.

    Basically, I have an automated eBay store with a custom html theme that mirrors the look of my main website.

    The listing template is made up of basic html and within this html are tags that pull through the listing information. These are simple snippets that are in cased in hashtags.

    The problem is these hashtag snippets are messing up the rest of the code so it's not displaying correctly on ebay.

    Is there a way of isolating these tags so it doesn't affect the rest of the code?

    Many thanks for any help provided.

    Ben

    Code:
    <p><link href="http://rollersnakes.pentagonhosting.co.uk/design/css/rollersnakes.css" media="all" rel="stylesheet" type="text/css" /> <link href="http://rollersnakes.pentagonhosting.co.uk/design/css/cloud-zoom.css" media="all" rel="stylesheet" type="text/css" /></p>
    <script type="text/javascript">// <![CDATA[
                                var aurl = "src=";
                                var burl ="http://rollersnakes.pentagonhosting.co.uk/design/js/jquery.js";
                                document.write ("<script type='text/javascript'"+aurl+burl+">");
                                document.write ('</s'+'cript>');
    // ]]></script>
    <table style="border-spacing: 0px; width: 100%;" border="0" cellspacing="0" cellpadding="0">
    <tbody>
    <tr>
    <td>
    <div class="rs_base">
    <div class="rs_center">
    <div class="rs_header">
    <a class="rs_logo" target="_top" href="http://stores.ebay.co.uk/Rollersnakes?_rdc=1"> </a>
    <div class="rs_search">
    <p>Contact us:<span> 0333 6000 666</span></p>
    <form class="rs_search_form" action="http://stores.ebay.co.uk/Rollersnakes?_rdc=1" method="get" name="Search"><input id="rs_s_box" onfocus="if(this.value==this.defaultValue) this.value=''; return false;" onblur="if(this.value=='') this.value=this.defaultValue; return false" type="text" name="_nkw" value="Search entire store here..." size="11" maxlength="200" /> <button class="rs_search-button" title="Search" type="submit">Go</button> <input class="rs_hidden" type="checkbox" name="LH_TitleDesc" value="1" /></form></div>
    <div class="rs_head_pages">
    <ul class="rs_links">
    <li class="first"><a href="http://stores.ebay.co.uk/rollersnakes/pages/delivery">delivery</a></li>
    <li><a href="http://stores.ebay.co.uk/rollersnakes/pages/returns">returns</a></li>
    <li><a href="http://stores.ebay.co.uk/rollersnakes/pages/faqs">FAQs</a></li>
    <li><a href="http://stores.ebay.co.uk/rollersnakes/pages/about-us">about us</a></li>
    <li class="last"><a href="http://stores.ebay.co.uk/rollersnakes/pages/about-us">contact us</a></li>
    </ul>
    <div class="rs_fav_links"><a class="rs_fav" href="http://my.ebay.co.uk/ws/eBayISAPI.dll?AcceptSavedSeller&amp;sellerid=rollersnakes&amp;ssPageName=STRK:MEFS:ADDSTR&amp;rt=nc" target="_top">Add us to your favourite eBay stores</a> <a class="rs_signup" href="http://my.ebay.co.uk/ws/eBayISAPI.dll?AcceptSavedSeller&amp;sellerid=rollersnakes&amp;ssPageName=STRK:MEFS:ADDSTR&amp;rt=nc" target="_top">Sign up for our newsletter</a></div>
    </div>
    <script type="text/javascript">// <![CDATA[
                                var aurl = "src=";
                                var burl ="http://rollersnakes.pentagonhosting.co.uk/design/js/rs_navigation.js";
                                document.write ("<script type='text/javascript'"+aurl+burl+">");
                                document.write ('</s'+'cript>');
    // ]]></script>
    <div class="rs_head_bottom"><a class="rs_uniq" href="http://stores.ebay.co.uk/rollersnakes/pages/delivery" target="_top">Free delivery on orders over &pound;70</a> <a class="rs_uniq" href="http://stores.ebay.co.uk/rollersnakes/pages/delivery" target="_top">Next day delivery available before 4pm</a> <a class="rs_uniq" href="http://stores.ebay.co.uk/rollersnakes/pages/returns" target="_top">No quibble returns policy</a></div>
    </div>
    </div>
    <div class="rs_main">
    <div class="rs_gallery">
    <script type="text/javascript">// <![CDATA[
                                var aurl = "src=";
                                var burl ="http://rollersnakes.pentagonhosting.co.uk/design/js/cloud-zoom.1.0.2.js";
                                document.write ("<script type='text/javascript'"+aurl+burl+">");
                                document.write ('</s'+'cript>');
    // ]]></script>
    <div class="rs_big_wrap"><a id="rol_zoom" class="cloud-zoom" href="http://i.ebayimg.com/t/Osiris-Nyc-83-White-Lime-Green-White-Skate-Shoes-BNIB-Free-P-P-/00/s/MTIwMFgxMjAw/z/xUAAAOxyXTRR-ASV/$T2eC16JHJF0FF,DyI9elBR-!SUy4G!~~60_12.JPG" rel="position: 'inside' , showTitle: false, adjustX:-4, adjustY:-4"> <img class="rs_big_image" src="http://i.ebayimg.com/t/Osiris-Nyc-83-White-Lime-Green-White-Skate-Shoes-BNIB-Free-P-P-/00/s/MTIwMFgxMjAw/z/xUAAAOxyXTRR-ASV/$T2eC16JHJF0FF,DyI9elBR-!SUy4G!~~60_12.JPG" alt="" /></a></div>
    <div id="rs_small_table"><a class="cloud-zoom-gallery" href="http://i.ebayimg.com/t/Osiris-Nyc-83-White-Lime-Green-White-Skate-Shoes-BNIB-Free-P-P-/00/s/MTIwMFgxMjAw/z/xUAAAOxyXTRR-ASV/$T2eC16JHJF0FF,DyI9elBR-!SUy4G!~~60_12.JPG" rel="useZoom: 'rol_zoom', smallImage: 'http://i.ebayimg.com/t/Osiris-Nyc-83-White-Lime-Green-White-Skate-Shoes-BNIB-Free-P-P-/00/s/MTIwMFgxMjAw/z/xUAAAOxyXTRR-ASV/$T2eC16JHJF0FF,DyI9elBR-!SUy4G!~~60_12.JPG'"><img class="rs_small" src="http://i.ebayimg.com/t/Osiris-Nyc-83-White-Lime-Green-White-Skate-Shoes-BNIB-Free-P-P-/00/s/MTIwMFgxMjAw/z/xUAAAOxyXTRR-ASV/$T2eC16JHJF0FF,DyI9elBR-!SUy4G!~~60_12.JPG" alt="" /></a> <a class="cloud-zoom-gallery" href="http://i.ebayimg.com/t/Osiris-Nyc-83-White-Lime-Green-White-Skate-Shoes-BNIB-Free-P-P-/00/s/MTIwMFgxMjAw/z/JD4AAOxyBC1R-ASY/$(KGrHqFHJCEFHo)81DcRBR-!SYotEQ~~60_12.JPG" rel="useZoom: 'rol_zoom', smallImage: 'http://i.ebayimg.com/t/Osiris-Nyc-83-White-Lime-Green-White-Skate-Shoes-BNIB-Free-P-P-/00/s/MTIwMFgxMjAw/z/JD4AAOxyBC1R-ASY/$(KGrHqFHJCEFHo)81DcRBR-!SYotEQ~~60_12.JPG'"><img class="rs_small" src="http://i.ebayimg.com/t/Osiris-Nyc-83-White-Lime-Green-White-Skate-Shoes-BNIB-Free-P-P-/00/s/MTIwMFgxMjAw/z/JD4AAOxyBC1R-ASY/$(KGrHqFHJCEFHo)81DcRBR-!SYotEQ~~60_12.JPG" alt="" /></a> <a class="cloud-zoom-gallery" href="http://i.ebayimg.com/t/Osiris-Nyc-83-White-Lime-Green-White-Skate-Shoes-BNIB-Free-P-P-/00/s/MTIwMFgxMjAw/z/P5oAAMXQ56ZR-ASc/$(KGrHqVHJFQFHZM7fTljBR-!ScDepg~~60_12.JPG" rel="useZoom: 'rol_zoom', smallImage: 'http://i.ebayimg.com/t/Osiris-Nyc-83-White-Lime-Green-White-Skate-Shoes-BNIB-Free-P-P-/00/s/MTIwMFgxMjAw/z/P5oAAMXQ56ZR-ASc/$(KGrHqVHJFQFHZM7fTljBR-!ScDepg~~60_12.JPG'"><img class="rs_small" src="http://i.ebayimg.com/t/Osiris-Nyc-83-White-Lime-Green-White-Skate-Shoes-BNIB-Free-P-P-/00/s/MTIwMFgxMjAw/z/P5oAAMXQ56ZR-ASc/$(KGrHqVHJFQFHZM7fTljBR-!ScDepg~~60_12.JPG" alt="" /></a> <a class="cloud-zoom-gallery" href="http://i.ebayimg.com/t/Osiris-Nyc-83-White-Lime-Green-White-Skate-Shoes-BNIB-Free-P-P-/00/s/MTIwMFgxMjAw/z/UMUAAOxyDLZR-ASg/$(KGrHqZ,!lwFHrOnUoY8BR-!Sfpl)g~~60_12.JPG" rel="useZoom: 'rol_zoom', smallImage: 'http://i.ebayimg.com/t/Osiris-Nyc-83-White-Lime-Green-White-Skate-Shoes-BNIB-Free-P-P-/00/s/MTIwMFgxMjAw/z/UMUAAOxyDLZR-ASg/$(KGrHqZ,!lwFHrOnUoY8BR-!Sfpl)g~~60_12.JPG'"><img class="rs_small" src="http://i.ebayimg.com/t/Osiris-Nyc-83-White-Lime-Green-White-Skate-Shoes-BNIB-Free-P-P-/00/s/MTIwMFgxMjAw/z/UMUAAOxyDLZR-ASg/$(KGrHqZ,!lwFHrOnUoY8BR-!Sfpl)g~~60_12.JPG" alt="" /></a></div>
    </div>
    <div class="rs_right_col">
    <p id="rstitle" class="rs_title">#name#</p>
    <p>#description#</p>
    <div class="rs_tabs">
    <div id="rs_tab1" class="rs_but" style="background: #ddd; color: #333;" onclick="document.getElementById('rs_cont1').style.display='block'; document.getElementById('rs_cont2').style.display='none'; document.getElementById('rs_cont3').style.display='none'; document.getElementById('rs_tab1').style.backgroundColor='#ddd';  document.getElementById('rs_tab1').style.color='#333';document.getElementById('rs_tab2').style.backgroundColor='#333'; document.getElementById('rs_tab2').style.color='#fff'; document.getElementById('rs_tab3').style.backgroundColor='#333'; document.getElementById('rs_tab3').style.color='#fff'; ">delivery</div>
    <div id="rs_tab2" class="rs_but" onclick="document.getElementById('rs_cont2').style.display='block'; document.getElementById('rs_cont1').style.display='none'; document.getElementById('rs_cont3').style.display='none'; document.getElementById('rs_tab2').style.backgroundColor='#ddd'; document.getElementById('rs_tab2').style.color='#333'; document.getElementById('rs_tab1').style.backgroundColor='#333'; document.getElementById('rs_tab1').style.color='#fff'; document.getElementById('rs_tab3').style.backgroundColor='#333'; document.getElementById('rs_tab3').style.color='#fff'; ">returns</div>
    <div id="rs_tab3" class="rs_but" onclick="document.getElementById('rs_cont3').style.display='block'; document.getElementById('rs_cont1').style.display='none'; document.getElementById('rs_cont2').style.display='none'; document.getElementById('rs_tab3').style.backgroundColor='#ddd'; document.getElementById('rs_tab3').style.color='#333';document.getElementById('rs_tab2').style.backgroundColor='#333'; document.getElementById('rs_tab2').style.color='#fff'; document.getElementById('rs_tab1').style.backgroundColor='#333'; document.getElementById('rs_tab1').style.color='#fff'; ">payment</div>
    <a class="rs_but_l" href="http://stores.ebay.co.uk/rollersnakes/pages/size-guide" target="_top">size guide</a></div>
    <div class="rs_cont">
    <div id="rs_cont1" class="rs_text" style="display: block;">
    <ul>
    <li>Standard -&nbsp;<strong>&pound;3.99</strong>&nbsp;(Up to 5 Working Days)</li>
    <li>Standard -&nbsp;<strong>&pound;FREE</strong>&nbsp;(On orders over &pound;70.00)</li>
    <li>Express -&nbsp;<strong>&pound;5.99</strong>&nbsp;(Upto 3 Working Days)</li>
    <li>Next Working Day -&nbsp;<strong>&pound;7.99</strong>&nbsp;(When ordered before 4PM)</li>
    <li>Next Working Day -&nbsp;<strong>&pound;3.99</strong>&nbsp;(On orders over &pound;70.00)</li>
    </ul>
    </div>
    <div id="rs_cont2" class="rs_text">
    <p><em>No Quibble Returns Policy</em> - If you are not 100% satisfied with your purchase you can return your goods, provided we get them back within 30 days and the goods are in re-sellable condition.</p>
    </div>
    <div id="rs_cont3" class="rs_text">&nbsp;</div>
    </div>
    </div>
    <div class="rs_related">
    <script type="text/javascript">// <![CDATA[
    		var rs_sim = $("#rstitle").text().split(" ");
    		var aurl = "src=";
            var burl ="http://ilapi.ebay.com/ws/eBayISAPI.dll?EKServer&ai=rc%60%60i%7E%7Fbmgi%7F&bdrcolor=FFFFFF&encode=UTF-8&maxprice=&minprice=&num=8&prvd=2&query="+rs_sim[0]+"&sekaccentcolor=FFFFFF&sekcatid=&sekfootercolor=FFFFFF&sekfooterdisplay=0&sekformat=0&sekfsfooter=1+2+0&sekfsitem=1+2+0&sekfstitle=1+4+0&sekitemlayout=1&sektitledisplay=0&si=rollersnakes&sort=MetaEndSort&sortby=endtime&sortdir=asc&tbgcolor=FFFFFF&title=&tlecolor=FFFFFF&tlfcolor=FFFFFF"
            document.write ("<script type='text/javascript'"+aurl+burl+">");
            document.write ('</s'+'cript>');
    // ]]></script>
    <script type="text/javascript">// <![CDATA[
    					$("font.ebayText:eq(1)").css("display","none");
    					$("font.ebayText:eq(2)").css("display","none");
    					$("font.ebayText:eq(4)").css("display","none");
    					$("font.ebayText:eq(5)").css("display","none");
    					$("font.ebayText:eq(7)").css("display","none");
    					$("font.ebayText:eq(8)").css("display","none");
    					$("font.ebayText:eq(10)").css("display","none");
    					$("font.ebayText:eq(11)").css("display","none");
    					$("font.ebayText:eq(13)").css("display","none");
    					$("font.ebayText:eq(14)").css("display","none");
    					$("font.ebayText:eq(16)").css("display","none");
    					$("font.ebayText:eq(17)").css("display","none");
    					$("font.ebayText:eq(19)").css("display","none");
    					$("font.ebayText:eq(20)").css("display","none");
    					$("font.ebayText:eq(22)").css("display","none");
    					$("font.ebayText:eq(23)").css("display","none");
    // ]]></script>
    </div>
    <div class="rs_footer">
    <div class="rs_footcol">
    <p class="rs_foot_title">Shop Categories</p>
    <a class="rs_foot_link" href="http://stores.ebay.co.uk/Rollersnakes/_i.html?_fsub=4989177013" target="_top">Footwear</a> <a class="rs_foot_link" href="http://stores.ebay.co.uk/Rollersnakes/_i.html?_fsub=4989178013" target="_top">Clothing</a> <a class="rs_foot_link" href="http://stores.ebay.co.uk/Rollersnakes/_i.html?_fsub=4989179013" target="_top">Accessories</a> <a class="rs_foot_link" href="http://stores.ebay.co.uk/Rollersnakes/_i.html?_fsub=4989180013" target="_top">Hardware</a> <a class="rs_foot_link" target="_top">Brands</a></div>
    <div class="rs_footcol">
    <p class="rs_foot_title">Shop Pages</p>
    <a class="rs_foot_link" href="http://stores.ebay.co.uk/rollersnakes/pages/about-us" target="_top">About us</a> <a class="rs_foot_link" href="http://stores.ebay.co.uk/rollersnakes/pages/delivery" target="_top">Delivery</a> <a class="rs_foot_link" href="http://stores.ebay.co.uk/rollersnakes/pages/returns" target="_top">Returns</a> <a class="rs_foot_link" href="http://stores.ebay.co.uk/rollersnakes/pages/faqs" target="_top">FAQs</a> <a class="rs_foot_link" href="http://stores.ebay.co.uk/rollersnakes/pages/size-guide" target="_top">Size Guide</a> <a class="rs_foot_link" href="http://stores.ebay.co.uk/rollersnakes/pages/about-us" target="_top">Contact us</a></div>
    <div class="rs_footcol">
    <p class="rs_howto_help">How can we help?</p>
    <p class="rs_phone">0333 6000 666</p>
    <p class="rs_normal">lines open:<br />9am - 6pm Mon - Fri</p>
    </div>
    <div class="rs_footline">&nbsp;</div>
    <div style="text-align: right; margin: 10px 5px 10px 5px; float: right; clear: both; background-color: transparent;"><a href="http://wearepentagon.com/"><img src="http://wearepentagon.com/small_logo_white.png" alt="Design, Listings Management, Sales Strategy, Customer Service" border="0" /></a></div>
    </div>
    </div>
    </div>
    </td>
    </tr>
    </tbody>
    </table>
    Last edited by VIPStephan; 09-23-2013 at 05:18 PM. Reason: corrected code BB tags


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •