help me get this to work, copy & paste |
![]() ![]() |
help me get this to work, copy & paste |
Mar 20 2005, 10:31 AM
Post
#1
|
|
![]() im addicted to my car<3 ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 635 Joined: Jan 2005 Member No: 92,236 |
ok i got this code from some where.. (cant remember where).. and im sure it works but if it does i want to change it a little. see its suppose when they try and copy something it puts this message up instead. i think its suppose be when they right click and say copy. but i have a disable right click thing. the thing is i still have highlighting(have to for a reason) so they can just say ctrl-c. im thinking there has to be a way to change this script so that it does it when they ctrl-c too.
so does anyone know how to change it |
|
|
|
Mar 24 2005, 11:01 PM
Post
#2
|
|
![]() im addicted to my car<3 ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 635 Joined: Jan 2005 Member No: 92,236 |
uh i posted this like 4 days ago.. i just want to bump it up. hope you dont count this as spam
|
|
|
|
Mar 24 2005, 11:29 PM
Post
#3
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
..... Try changing the Copied.execCommand("Copy"); part to Ctrl+C or something. -shrug- Or have you tried that already?
|
|
|
|
Mar 25 2005, 03:54 PM
Post
#4
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
are you sure that script even works anymore? it has the setTimeout function in it
|
|
|
|
| *mona lisa* |
Mar 25 2005, 05:25 PM
Post
#5
|
|
Guest |
you actually only need this part:
CODE <span id="copytext" style="display:none;">words here</span> because i used it once before a while ago and i only needed that. if someone tries to copy something from your codes and then pastes it somewhere the message, where the "words here" are, is shown instead of the code. actually, i had a different, but very different code to this, but i can't find it. sorry, i have to clean out my texts.
|
|
|
|
Mar 26 2005, 10:14 AM
Post
#6
|
|
![]() im addicted to my car<3 ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 635 Joined: Jan 2005 Member No: 92,236 |
oh dang i didnt think about the settimeout thing.. i was to busy trying to get it to work. oh well. uh gotnoheart if you find that script can you like pm it to me? i suppose you can close this now then. thanks anyway.
|
|
|
|
| *mona lisa* |
Mar 26 2005, 03:28 PM
Post
#7
|
|
Guest |
yay i found it.
ok that's it. there's a function timeout in here too, but it worked. 0_o lol oh well. |
|
|
|
![]() ![]() |