Log In · Register

 
right-click pop up, creating a customized pop-up
rightway_claymat...
post 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. _smile.gif

my xanga (nothing special): www.xanga.com/rightway
 
 
Start new topic
Replies
laughn_l0ser
post Dec 28 2004, 03:45 PM
Post #2


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.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: