Support Forums

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Prank Your Members :P
06-14-2008, 08:50 AM
Post: #11
RE: Prank Your Members :P
judel Wrote:
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.
[Late Reply]
Well, that's how you do it for PHP anyway.
And with like every code and stuff I know, so I guess it should work.

Visit this user's website Find all posts by this user
Quote this message in a reply
06-17-2008, 10:47 AM
Post: #12
RE: Prank Your Members :P
Nah... to really annoy them you want something like...

Code:
<form name="input" action="http://uk.youtube.com/watch?v=eBGIQ7ZuuiU" method="link"><input type="submit" value="Click Here"></form>

Is far more annoying.
Find all posts by this user
Quote this message in a reply
07-07-2008, 05:58 PM
Post: #13
RE: Prank Your Members :P
LOL, this is really good. Imagine, "The 1000th member to click this will win a free computer!", that would be funny. Though I can foresee a lot of angry people.
Find all posts by this user
Quote this message in a reply
07-13-2008, 09:57 PM
Post: #14
RE: Prank Your Members :P
Thanks,
I will be doign this :D
Find all posts by this user
Quote this message in a reply
07-14-2008, 11:16 AM
Post: #15
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?

Another one that should work is
Code:
<input type="Submit" value="Click Here!" name="prank1" onclick="alert("Ha! You've just been pranked!")" />
I've never tried it under php, but in general it works for javascript alerts. By changing the ' to " at the begining, it looks for another " to end it instead of ' thus normally preventing the problem.

[Image: sig.gif]
Helpthislife.com
You can never know all sides of the story. The person you judge or deny today may hold your life in their hands tomorrow.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: