HI, I am doing my first Ebay listing template, and I found a few scrips that can help me with some features I need in my template. But I need to modify them in order for them to "fit" in my template . script: <!-- ASQ --> <script>document.write ("<a href=\""+ ebayAskSellerURL +"\" class='button_links' id='button_links'>As Seller a Question</a>");</script> I am trying to replace the Link text with a link image, meanning I need it to show an clickable image (URL image) instead of "ask seller a question" link. Anybody?
<script>document.write ("<a href=\""+ ebayAskSellerURL +"\" class='button_links' id='button_links'><img src='image.gif' alt='alt text' style='border:none;' /></a>");</script> I didn't try it but it should work - the text is just replaced by an img tag - plug in your own image link and attributes I assume ebayAskSellerURL is defined somewhere else in your script. If this is going to run on eBay, you will need to have that image hosted somewhere on the internet to use it. Google "free image hosting for eBay"
HI Davetrebas, after I implemented you correction on the script it worked, but, I tried to implement your change on 2 other scrips that the text ending looks the same, and it didn't work * The one that worked: * Two scrips which do work on Ebay listing with the text link: <!-- Tell a Friend --> <script>document.write ("<a href='http://contact.ebay.co.uk/ws1/eBayISAPI.dll?ShowEmailAuctionToFriend&item=" + ebayItemID + "' title='Tell a Friend' class='button_links' id='button_links'>Tell a Friend</a>");</script> <!-- Watch This Item --> <script>document.write ("<a href='http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MakeTrack&item=" + ebayItemID + "' title='Watch This Item' class='button_links' id='button_links'>Watch This Item</a>");</script> * I changed these scrips to this, and they don't show the image link on Ebay: <!-- Tell a Friend --> <script>document.write ("<a href='http://contact.ebay.co.uk/ws1/eBayISAPI.dll?ShowEmailAuctionToFriend&item=" + ebayItemID + "' title='Tell a Friend' class='button_links' id='button_links'><img src='http://i472.photobucket.com/albums/rr81/ganuv/images/but_contact.jpgg ' alt='alt text' style='border:none;' /></a>");</script> <!-- Watch This Item --> <script>document.write ("<a href='http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MakeTrack&item=" + ebayItemID + "' title='Watch This Item' class='button_links' id='button_links'><img src='http://i472.photobucket.com/albums/rr81/ganuv/images/but_contact.jpg ' alt='alt text' style='border:none;' /></a>");</script> Any suggestions, Please?
Sorry, forgot to include this in my last request: * The one that worked: <script>document.write ("<a href=\""+ ebayAskSellerURL +"\" class='button_links' id='button_links'><img src=''http://i472.photobucket.com/albums/rr81/ganuv/images/but_contact.jpg' alt='alt text' style='border:none;' /></a>");</script> Thanks, Lior
Wow, I am very sorry, I found the problem, and it is working I forgot to add the Title on top of the script, Lior