tech lore by igor
a little bit of this, that & the other from one fool to another
Monday, September 24, 2012
One Click Copy Textarea
This is a useful bit of code for creating one-click-copy textareas on my blog. Standard01 refers to my .css sheet here. The style for it is "background-color: #e9efef; border-color: #540eb4; border-style: groove; border-width: 10px; font-family: verdana,arial narrow,arial,sans; font-size: 70%; overflow: hidden;". <form name="yoda"> <textarea cols="80" name="code" onclick="javascript:document.yoda.code.focus();document.yoda.code.select();" readonly="readonly" rows="12" class="standard01"> </textarea> </form>
Post a Comment
by igor 04:20
4 replies
by igor 09:32
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
techlorebyigor is my personal journal for ideas & opinions
No comments:
Post a Comment