I want to put a page on my website where people can click in the box and it'll highlight the code for a banner ad. I've got the box, I've got the code, BUT I can't get the RIGHT code IN the box.
This is my page:
Test page
but I can't get it to work. In fact, I'm not even sure WHERE the code that is in that box is coming from.
The code that I want there is:
<a href="http://www.eatstayplay.com" target="new"><IMG border="0" hspace="5" src="http://www.eatstayplay.com/images/misc/esp120x60motion.gif" vspace="5"/></a>
But what I've got in the box isn't even close!
The whole click-and-highlight part of the box DOES work but not the code in the box itself.
The code that I'm using to create the box, with what I want inside is:
<textarea id="code" cols="65" rows="10" readonly onclick="this.focus(); this.select();">
<a href="http://www.eatstayplay.com" target="new"><IMG border="0" hspace="5" src="http://www.eatstayplay.com/images/misc/esp120x60motion.gif"
vspace="5"/></a>
</textarea>
But, that isn't what's appearing in the box. Can somebody PLEASE take a look at this for me? You'll probably have to look at the source code of the test page and see what's what.
Thanks! Thanks! Thanks!
Submit Your Article
Forum Rules

Reply With Quote

