Log In · Register

 
 
Closed TopicStart new topic
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
 
*mona lisa*
post Dec 27 2004, 12:23 PM
Post #2





Guest






well, that's very specific. all i've heard of is an alert. go here
 
yskulmate
post 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>
 
laughn_l0ser
post 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.
 

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