right-click pop up, creating a customized pop-up |
![]() ![]() |
right-click pop up, creating a customized pop-up |
Dec 27 2004, 12:26 AM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 6 Joined: Dec 2004 Member No: 74,914 |
i'm pretty new at this...so i'm sorry if this is a really dumb question/request.
i was wondering if there is a code that i could use to create a pop-up initiated by a right-click. not to disable right-clicking. the pop-up would simply remind that i do not take credit for the posted material and sharing is alright and encouraged. i don't even know if it's possible, but to have that little box in the pop-up that says "don't remind again". checking the box would prevent it from re-poping up. that way it doesn't bother u each time u right click...just the first time. sorry if that was totally confusing. thanks in advance. my xanga (nothing special): www.xanga.com/rightway |
|
|
|
| *mona lisa* |
Dec 27 2004, 12:23 PM
Post
#2
|
|
Guest |
well, that's very specific. all i've heard of is an alert. go here
|
|
|
|
Dec 28 2004, 07:52 AM
Post
#3
|
|
![]() yskulmate ![]() ![]() ![]() ![]() Group: Member Posts: 187 Joined: Nov 2004 Member No: 64,014 |
try this. i dont think this might suit your need but it may add sumthin to u.
[CODE] <script language="JavaScript"><!-- if (navigator.appName.indexOf("Internet Explorer") != -1) document.onmousedown = noSourceExplorer; function noSourceExplorer(){if (event.button == 2 | event.button == 3) { alert("YOURTEXTHERE");}} // --> </script> |
|
|
|
Dec 28 2004, 03:45 PM
Post
#4
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 310 Joined: Dec 2004 Member No: 73,592 |
I found this on blogring
<!-- begin code provided by blogring --> <script LANGUAGE="JavaScript"> // Right Click Infinate Warning document.onmousedown=click var times=0 var times2=10 function click() { if ((event.button==2) || (event.button==3)) { if (times>=1) { bye() } alert("UR MESSAGE"); times++ } } function bye() { alert("SECOND MESSAGE"); bye() } </SCRIPT><!-- end code provided by blogring --> there are two messages. the first message is a warning the next message is the message forever. if you accidently press right click just press ok then hold enter for a long time. |
|
|
|
![]() ![]() |