sydneytremayne
Technical User
Hi:
This may be puzzling only to me. I have created an order button with the code below, and it works fine except instead of the graphic I get one of those little boxes with a red cross. Could someone please tell me what I'm doing wrong...and save what hair I still have left?
<table align=center width=0 id="free-buttons.org:screxst0" cellpadding=0 cellspacing=0 border=0><tr>
<td title='Order'><a href=" onmouseover='wbe("0o");' onmouseout='wbe("0n");' onmousedown='wbe("0c");'><img src="Order Now button.wbimg/imgn0.gif" name=btn0 width=100 height=30 border=0 alt='Order Now'></a></td>
</tr></table>
<script type="text/javascript" language="JavaScript1.1">
<!--
function wbpr(im){var i=new Image();i.src='Order Now button.wbimg/img'+im;return i;}
function wbe(id){x=id.substring(0,id.length-1);document['btn'+x].src=eval('btn'+id+'.src');if(id.indexOf('e')!=-1)document['btn'+x+'e'].src=eval('btn'+id+'e.src');}
btn0n=wbpr('n0.gif');btn0o=wbpr('o0.gif');btn0c=wbpr('c0.gif')
//-->
</script>
Thanks,
Sydney
This may be puzzling only to me. I have created an order button with the code below, and it works fine except instead of the graphic I get one of those little boxes with a red cross. Could someone please tell me what I'm doing wrong...and save what hair I still have left?
<table align=center width=0 id="free-buttons.org:screxst0" cellpadding=0 cellspacing=0 border=0><tr>
<td title='Order'><a href=" onmouseover='wbe("0o");' onmouseout='wbe("0n");' onmousedown='wbe("0c");'><img src="Order Now button.wbimg/imgn0.gif" name=btn0 width=100 height=30 border=0 alt='Order Now'></a></td>
</tr></table>
<script type="text/javascript" language="JavaScript1.1">
<!--
function wbpr(im){var i=new Image();i.src='Order Now button.wbimg/img'+im;return i;}
function wbe(id){x=id.substring(0,id.length-1);document['btn'+x].src=eval('btn'+id+'.src');if(id.indexOf('e')!=-1)document['btn'+x+'e'].src=eval('btn'+id+'e.src');}
btn0n=wbpr('n0.gif');btn0o=wbpr('o0.gif');btn0c=wbpr('c0.gif')
//-->
</script>
Thanks,
Sydney