Hello, Thanks for visiting Digital Style Forum! Here we offer Top Notch Tutorials and Resources. Also we provide many services such as Advertising and Custom Logo's So Join Now and Enjoy The Benefits !

Alert Box Codes

View previous topic View next topic Go down

Alert Box Codes

Post by tommo on Thu May 28, 2009 10:11 pm


Code:
<input type="button" onclick="alert('Hi, I am an alert box!');" value="Click here for a message" />


Last edited by tommo on Fri Jun 05, 2009 9:49 pm; edited 1 time in total
avatar
tommo
Admin

Posts : 105
Digi Points : 3070
Join date : 2009-05-23
Location : England

Back to top Go down

Re: Alert Box Codes

Post by tommo on Thu May 28, 2009 10:14 pm

Just a note the second one has compatibilty issues in some browsers but i dont know why
avatar
tommo
Admin

Posts : 105
Digi Points : 3070
Join date : 2009-05-23
Location : England

Back to top Go down

Re: Alert Box Codes

Post by Nick on Thu May 28, 2009 11:55 pm

Nice script. I might try later.
avatar
Nick
Absent Moderator

Posts : 211
Digi Points : 3665
Join date : 2009-05-24
Age : 22
Location : Canada

http://digitalstyle.forumotion.com

Back to top Go down

Re: Alert Box Codes

Post by Quadtro on Wed Jun 03, 2009 11:37 pm

I tried this. Here is what I got.


Code:
<input type= "button" Onclick="alert('You are going to die in seven days!');" value="Click here for free candy"/>
avatar
Quadtro
Super moderator

Posts : 79
Digi Points : 3303
Join date : 2009-05-28
Age : 22
Location : Here or forum making

http://incorperatedinc.forumotion.com

Back to top Go down

Re: Alert Box Codes

Post by tommo on Thu Jun 04, 2009 9:55 pm

lol quad brilliant
avatar
tommo
Admin

Posts : 105
Digi Points : 3070
Join date : 2009-05-23
Location : England

Back to top Go down

Re: Alert Box Codes

Post by Quadtro on Thu Jun 04, 2009 10:21 pm

Hehe Smile lol. I'm gonna be making more Smile. I'll try some harder stuff.

_________________
avatar
Quadtro
Super moderator

Posts : 79
Digi Points : 3303
Join date : 2009-05-28
Age : 22
Location : Here or forum making

http://incorperatedinc.forumotion.com

Back to top Go down

Re: Alert Box Codes

Post by tommo on Fri Jun 05, 2009 6:16 pm

WHO EDITED THE CODES OUT OF MY POST
avatar
tommo
Admin

Posts : 105
Digi Points : 3070
Join date : 2009-05-23
Location : England

Back to top Go down

Re: Alert Box Codes

Post by tommo on Fri Jun 05, 2009 6:18 pm

I have checked security records and it was NICK and if he sees this he must PM me with a good reason why or instant ban and IP ban
avatar
tommo
Admin

Posts : 105
Digi Points : 3070
Join date : 2009-05-23
Location : England

Back to top Go down

Re: Alert Box Codes

Post by Quadtro on Fri Jun 05, 2009 6:23 pm

That's not cool Nick. I wanted to try the bigger javascript. Could you try and find them again Tommo?


Last edited by Quadtro on Fri Jun 05, 2009 6:29 pm; edited 1 time in total (Reason for editing : Added a question)

_________________
avatar
Quadtro
Super moderator

Posts : 79
Digi Points : 3303
Join date : 2009-05-28
Age : 22
Location : Here or forum making

http://incorperatedinc.forumotion.com

Back to top Go down

Re: Alert Box Codes

Post by Keitho on Fri Jun 05, 2009 7:11 pm

WTF... Where are all the codes gone???

_________________
Hey, Sorry but please visit and sign up on our new recently created and active forum : http://www.gfx-core.co.cc . Sorry for the inconvience ! HTTP://WWW.GFX-CORE.CO.CC
avatar
Keitho
Admin

Posts : 224
Digi Points : 3552
Join date : 2009-05-17
Age : 22
Location : Ireland

http://www.gfx-core.co.cc

Back to top Go down

Re: Alert Box Codes

Post by tommo on Fri Jun 05, 2009 9:46 pm

yah its ok i know them so ill replace in a sec
avatar
tommo
Admin

Posts : 105
Digi Points : 3070
Join date : 2009-05-23
Location : England

Back to top Go down

Re: Alert Box Codes

Post by tommo on Fri Jun 05, 2009 9:49 pm

here is bigger one:












Code:
<html>
<head>
<script type="text/javascript">
<!--
function confirmGetMessage() {

   
   //display a confirmation box
   //asking the visitor if they want to
   //get a message
   
   var theAnswer = confirm("Get a message?");
   
   
   //if the user presses the "OK" button
   //display the message "Javascript is cool!!"
   //in an alert box
   
   if (theAnswer){
      
      alert("Javascript is cool!!");
      
   }
   
   //otherwise display the message
   //"Here is a message anyway!!"
   //in an alert box
   
   else{
   
      alert("Here is a message anyway!!");
   
   }
}
//-->
</script>
</head>
<body>
<form>
<input type="button" onclick="confirmGetMessage()" value="Click me for some reason" />
</form>
</body>
</html>
avatar
tommo
Admin

Posts : 105
Digi Points : 3070
Join date : 2009-05-23
Location : England

Back to top Go down

Re: Alert Box Codes

Post by Quadtro on Sat Jun 06, 2009 10:37 pm

Thanks Tommo for reposting the script. Got any other scripts that you could add?

_________________
avatar
Quadtro
Super moderator

Posts : 79
Digi Points : 3303
Join date : 2009-05-28
Age : 22
Location : Here or forum making

http://incorperatedinc.forumotion.com

Back to top Go down

Re: Alert Box Codes

Post by tommo on Sun Jun 07, 2009 9:40 am

yah ill search my codes (i have a folder with scripts on it on my PC)
avatar
tommo
Admin

Posts : 105
Digi Points : 3070
Join date : 2009-05-23
Location : England

Back to top Go down

Re: Alert Box Codes

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum