soundreamer
01-23-2006, 04:17 PM
How to make when someone selects something in the body of the page to put this text in the clipboard (no html tags, no other text, just the selected)?:)
|
||||
Auto Copy selected textsoundreamer 01-23-2006, 04:17 PM How to make when someone selects something in the body of the page to put this text in the clipboard (no html tags, no other text, just the selected)?:) arnyinc 01-23-2006, 09:45 PM Here's a link to an example: http://www.dynamicdrive.com/dynamicindex11/copytext.htm Most browsers won't support this though. We don't want you touching our clipboards. If I want to copy, I will press ctrl+c. :) soundreamer 01-24-2006, 12:20 PM I will use this only under IE 6.0, this is the only browser that my plug-in supports... soundreamer 01-24-2006, 12:31 PM Ok.... it works... 10x a lot man, ammm just a few more things... How can I make this part of the script: function copyit() { if (bBool) { tempstore=copiedtext document.execCommand("Copy") copiedtext=window.clipboardData.getData("Text"); bBool=false; } } unselect the text after the text was copied, |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum