View Single Post
Old 01-19-2007, 09:05 PM  
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
Quote:
Originally Posted by twisted Illustration View Post
The links below each thumb of what you upload are single clickable, and autocopy into memory (I LOVE that)
for those wanting to add this functionality - it's great

Code:
<script language=Javascript>
function HighlightAll(theField) {
	var tempval=eval("document."+theField)
	tempval.focus()
	tempval.select()
	if (document.all&&copytoclip==1){
		therange=tempval.createTextRange()
  		therange.execCommand("Copy")
  		window.status="Contents highlighted and copied to clipboard!"
  		setTimeout("window.status=''",2400);
  	}
}
</script>

<a href="javascript:HighlightAll('forms[0].select')">copy to clipboard</a>
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote