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!

Those little boxes with red crosses

Status
Not open for further replies.

sydneytremayne

Technical User
Jul 2, 2006
4
US
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
 
Hi and welcome to Tek-Tips. Read faq222-2244 to see how to get the best from these forums. Paragraph 3 explains about selecting the right forum for your question - in this case it looks as if you should be in forum216 which is the Javascript forum.

Browse through the Javascript forum, check out the FAQs section, and if you don't find the answer, post your question there. I'm sure you'll get the answer there.

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Thanks John.

I did that, and then discovered the answer for myself.

Take care,

Sydney
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top