Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No button graphic, just a little red X

Status
Not open for further replies.

sydneytremayne

Technical User
Jul 2, 2006
4
US
Hi:

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?

Other graphics on the page work fine, and the link works fine, too.

<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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top