Hi! I am need a bookmarklet that will help me make my marketing effort quicker and found this bookmarklet with this code:
[php](function(){
var aff = ‘w3clubs-20’;
if (!document.getElementById(‘ASIN’)) {
alert(‘Can’t find the product ID’);
return;
}
var asin = document.getElementById(‘ASIN’).value;
prompt(
‘Here is the link:’,
‘http://www.amazon.com/dp/’ + asin + ‘/?tag=’ + aff);
})()[/php]
It is great but I needed to customize it further as I promote Amazon products heavily. I needed the result to be like this:
<p style="float:left;width:98px;font-size:10px;" align="center"><a href="THE_AFF_LINK_OF_THE_ABOVE_PHP" target="_blank" rel="nofollow" style="text-decoration:none;"><img border="0" src="PRODUCT_IMAGE_URL" />
<b>ITEM NAME</b>
<img src="http://rcm-images.amazon.com/images/G/01/buttons/buy-from-tan.gif" vspace="3" border="0" /></a></p>
Is it possible to get that? If yes, a new code for my bookmarklet will be appreciated!