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 !


Join the forum, it's quick and easy

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 !
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Alert Box Codes

4 posters

Go down

Alert Box Codes Empty Alert Box Codes

Post by tommo 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
tommo
tommo
Admin

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

Back to top Go down

Alert Box Codes Empty Re: Alert Box Codes

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

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

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

Back to top Go down

Alert Box Codes Empty Re: Alert Box Codes

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

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

Posts : 211
Digi Points : 6013
Join date : 2009-05-24
Age : 28
Location : Canada

https://digitalstyle.forumotion.com

Back to top Go down

Alert Box Codes Empty Re: Alert Box Codes

Post by Quadtro 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"/>
Quadtro
Quadtro
Super moderator

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

http://incorperatedinc.forumotion.com

Back to top Go down

Alert Box Codes Empty Re: Alert Box Codes

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

lol quad brilliant
tommo
tommo
Admin

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

Back to top Go down

Alert Box Codes Empty Re: Alert Box Codes

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

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

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

http://incorperatedinc.forumotion.com

Back to top Go down

Alert Box Codes Empty Re: Alert Box Codes

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

WHO EDITED THE CODES OUT OF MY POST
tommo
tommo
Admin

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

Back to top Go down

Alert Box Codes Empty Re: Alert Box Codes

Post by tommo 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
tommo
tommo
Admin

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

Back to top Go down

Alert Box Codes Empty Re: Alert Box Codes

Post by Quadtro 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)
Quadtro
Quadtro
Super moderator

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

http://incorperatedinc.forumotion.com

Back to top Go down

Alert Box Codes Empty Re: Alert Box Codes

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

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

Posts : 224
Digi Points : 5900
Join date : 2009-05-17
Age : 28
Location : Ireland

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

Back to top Go down

Alert Box Codes Empty Re: Alert Box Codes

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

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

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

Back to top Go down

Alert Box Codes Empty Re: Alert Box Codes

Post by tommo 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>
tommo
tommo
Admin

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

Back to top Go down

Alert Box Codes Empty Re: Alert Box Codes

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

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

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

http://incorperatedinc.forumotion.com

Back to top Go down

Alert Box Codes Empty Re: Alert Box Codes

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

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

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

Back to top Go down

Alert Box Codes Empty Re: Alert Box Codes

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


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