I have an image on my blog that I want others to place on there blogs. How do I do a code box in my sidebar for them to copy and paste the code to place on their blog? This is a blogspot blog but there is an example of what I want on the sidbar under Snag My New Button. http://redsoxmommy.blogspot.com/ That code box is an example of what I am wanting to do on my WP blog. Thanks for any help!
This is the code I use on my site. <form> <textarea style="width: 700px; height: 28px;" id="id_shortcut" rows="1" name="message" readonly="readonly"><a href="http://www.UnmaskParasites.com/security-report/" title="Web page security check by Unmask Parasites">Security Check</a></textarea> </form> HTML: Just put your code inside the "textarea" tag. If you want to see how it works on my site just click this link Security Check, the code box should be at the bottom of the report. For better user experience you might want to play more with styles and JavaScript. I.e. change width and height, number of rows, make the code autoselectable, etc. Then add the code into your theme or into a custom widget.
Hey that is what I was looking for! Thanks a lot, you can see it in action on my blog That Blozzz. I appreciate the help and I gave you some green!
You might also want to add some javaScript to make it autoselectable when visitors click it. <textarea onClick="javascript:this.focus(); this.select();" ... HTML: