javascript - How to create custom button Ask seller Ebay -
i creating new custom selling page shop , create button: "ask seller question". have been googling around, unfortunately, couldn't find it. can please share advice? 1 thing found may work: script; honest (as beginner), not sure how link button.
<script language="javascript"> (i = 0; < document.links.length; i++) { if (document.links[i].search.indexof("showcoreasksellerquestion") > 0) { document.write('<a href="'+document.links[i].href+'" title="ask question">ask seller question</a>'); break; } } </script>
the javascript have work, show link. make button need add css. here can read on how works. css tell html, or in case <a>
how look. give tag an id <a id="some-name">
in css this:
#some-name{ background: url("yourimagepath") no-repeat; height: [the height in pixels of image] }
this easiest thing find button image , add css.
Comments
Post a Comment