Cool Javascript Tricks - Make A Popup Alert Window Appear With Javascript
Cool Javascript Tricks - Make A Popup Alert Window Appear With Javascript
Post Description: cool javascript tricks make a popup alert window appear with javascript Javascipt
Post Tags:
This Post Has Been Viewed 4643 Times Since Sun Jan 07, 2007 2:21 pm Author
hostman with 14 replies
Next Post »»
Cool Javascript Tricks Show Pupup Window On Mouse Over Mouseover Link Cool Javascript Tricks - Make A Popup Alert Window Appear With Javascript
Advertise On This Page
did you see that popup?
with javascript you can make some pretty cool tricks to you visitors. one way to get your visitor's attention is by making a popup or alert window appear on the user's computer. Most often these popup windows are used to prompt the user, in most cases to tell the user there was some error. a common place to use alert popups is on web forms.
so to make this easier to learn for you, i will make an an example code page so you can see it in action. the first thing to do is to open a text editor, then copy and paste the following code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>making a javascript alert popup windows</title>
</head>
<body>
<br />
<script language="JavaScript"><!--
alert('Hello Friend, Find Hosting At Webune.com n Click OK To Continue');
//--></script>
<p align="center"> </p>
<div align="center">
Copyright © 2007 Wallpaperama - All Rights Reserved<br />
Hosting Provided by <a href="http://www.webune.com">Webune.com</a>
</div>
</body>
</html>
Now paste the code into your notepad and save the file as javascript-alert.html and upload to your website. once you have uploaded to your website, open it and see it in action.
If you don't have a website, our friends at www.webune.com can provide you with a website. They have provided us with web space to show you how this script work so you can see it in action:
CLICK HERE TO SEE JAVASCRIPT DEMO
If you need web hosting for your site, remember to visit www.webune.com for all your web and domain hosting needs.
Links Related to : Cool Javascript Tricks - Make A Popup Alert Window Appear With Javascript
Comments and replies About Cool Javascript Tricks - Make A Popup Alert Window Appear With Javascript
::
1 ::
Reply #45387 Reply By
Isiah On Fri Mar 14, 2008 8:37 am
Isiah:
i will have to learn and implement this on my website
::
2 ::
Reply #45388 Reply By
Isiah On Fri Mar 14, 2008 8:39 am
Isiah:
there are great things which help us do this online
::
3 ::
Reply #45389 Reply By
Isiah On Fri Mar 14, 2008 8:40 am
Isiah:
i took in college about javascripts and learned nothing
::
4 ::
Reply #45390 Reply By
Isiah On Fri Mar 14, 2008 8:40 am
Isiah:
are there any other ways of doing this in php
::
5 ::
Reply #45391 Reply By
Isiah On Fri Mar 14, 2008 8:40 am
Isiah:
can you show me where i need to put the code
::
6 ::
Reply #45393 Reply By
Isiah On Fri Mar 14, 2008 8:40 am
Isiah:
thanks for the tips
::
7 ::
Reply #45394 Reply By
Isiah On Fri Mar 14, 2008 8:40 am
Isiah:
there were lots of tutorial, but i like this one
::
8 ::
Reply #45396 Reply By
Isiah On Fri Mar 14, 2008 8:41 am
Isiah:
thanks for this howto i helped alot
::
9 ::
Reply #78985 Reply By
No On Sun Nov 02, 2008 7:47 am
No:
cool. used it on my site.
::
10 ::
Reply #79014 Reply By
leonar On Sun Nov 02, 2008 11:25 am
leonar:
"thank you" for all you help on this. it's nice to find this & information as good as this >) im happy
::
11 ::
Reply #80385 Reply By
steve On Sun Nov 09, 2008 6:22 pm
steve:
teach me how to javascript validation numbers only
simple javascript validation for numbers only?
javascript elseif
javascript else if statement condition
javascript button validatio
form validation with javascript
::
12 ::
Reply #87454 Reply By
ghazi On Wed Dec 24, 2008 9:20 am
ghazi:
i am preparing a login form i want the following functions in it(if a student enter id rather tahn mc040400844 a message should be apear id must be mc080400844!)(if he did not enter the name in name field then a message kindly enter your name!)if he did not enter the city the same message should be apear and at the end whene the verify button is cliked a vu.edu.pk window should be open.
::
13 ::
Reply #95962 Reply By
robert On Wed Mar 04, 2009 3:27 pm
robert:
want something really cool? this site lifeinpainting has mac-like menu but implemented in javascript. super cool!