Support Forums

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Prank Your Members :P
02-11-2008, 10:04 AM
Post: #1
Prank Your Members :P
This is just a very simple code to prank your members. It create a button which upon click, a message displays saying they've been pranked.

You can do this 2 ways: Make them click the button, or a more annoying way, just by moving their mouse over it!

Code (Click):

Code:
<input type="Submit" value="Click Here!" name="prank1" onclick="alert('Ha! You have just been pranked!')" />

Code (Mouse over):

Code:
<input type="Submit" value="Click Here!" name="prank1" onmouseover="alert('Ha! You have just been pranked!')" />

For both of them, simply change value="Click Here!" with value="Your Text!", and edit "Your Text!" to what you want the button to say.

To change the alert message, change "alert('Ha! You have just been pranked!')" with "alert('Your Text!')" and replace "Your Text!" with your message.

Sorry if I posted this in the wrong place, but my friend has done this to his site before so I said why not :)

[Image: Achievement.aspx?text=Sexy%20Beast%20-%205000G]
Visit this user's website Find all posts by this user
Quote this message in a reply
02-11-2008, 11:11 AM
Post: #2
RE: Prank Your Members :P
It's a trick, so why not post it here. :P That would be funny.. April fools joke... *thinks*

~FFW
FYI: I'm not a sir, dude, or guy. I am a 'miss'. :rolleyes:
Visit this user's website Find all posts by this user
Quote this message in a reply
02-11-2008, 03:01 PM
Post: #3
RE: Prank Your Members :P
This would be funny to do on April Fool's day. Make everyone think they'll get some neat thing for free, only to be told "April Fool's Day!"...though it might upset some of them. LOL
Find all posts by this user
Quote this message in a reply
02-12-2008, 08:48 PM
Post: #4
RE: Prank Your Members :P
A little note: Do NOT put a ' in the alert message, or the code will mess up, because the browser thinks the code is over when you put a ' because that is what ends the alert. That's why I put "You have" instead of "You've" :wink:

[Image: Achievement.aspx?text=Sexy%20Beast%20-%205000G]
Visit this user's website Find all posts by this user
Quote this message in a reply
06-03-2008, 05:45 AM (This post was last modified: 06-03-2008 05:45 AM by BlueDevil.)
Post: #5
RE: Prank Your Members :P
.Paradox Wrote:A little note: Do NOT put a ' in the alert message, or the code will mess up, because the browser thinks the code is over when you put a ' because that is what ends the alert. That's why I put "You have" instead of "You've" :wink:

Well.. Shouldn't
Code:
<input type="Submit" value="Click Here!" name="prank1" onclick="alert('Ha! You\'ve just been pranked!')" />
work?

Visit this user's website Find all posts by this user
Quote this message in a reply
06-04-2008, 10:38 PM
Post: #6
RE: Prank Your Members :P
Nice trick and I'm sure I'll unleash this onto my members in the near future.
Find all posts by this user
Quote this message in a reply
06-05-2008, 12:31 AM
Post: #7
RE: Prank Your Members :P
BlueDevil Wrote:Well.. Shouldn't
Code:
<input type="Submit" value="Click Here!" name="prank1" onclick="alert('Ha! You\'ve just been pranked!')" />
work?
Is THAT how you get around that? I'll have to keep that in mind.
Find all posts by this user
Quote this message in a reply
06-05-2008, 09:07 AM (This post was last modified: 06-05-2008 09:07 AM by RobotoWorks.)
Post: #8
RE: Prank Your Members :P
Woah, I totally overlooked this. Nice job .Paradox :D What would be even funnier is if you could make the button redirected to a video of Rick Roll, lol.

[Image: 24052.png]
Find all posts by this user
Quote this message in a reply
06-06-2008, 10:22 AM
Post: #9
RE: Prank Your Members :P
you could do that if you want

[Image: Achievement.aspx?text=Sexy%20Beast%20-%205000G]
Visit this user's website Find all posts by this user
Quote this message in a reply
06-13-2008, 11:03 PM
Post: #10
RE: Prank Your Members :P
I hate being rick rolled! It would be a good idea to trick them into clicking it and making them be rick rolled
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: