Cool Javascript Tricks - Make A Popup Alert Window Appear With Javascript



Cool Javascript Tricks - Make A Popup Alert Window Appear With Javascript
 (328) Domains for just $1.99 1751586
Cool Javascript Tricks - Make A Popup Alert Window Appear With Javascript
Post Description:
Post Tags: cool, javascript, tricks, make, a, popup, alert, window, appear, with, javascript
This Post Has Been Viewed 2804 Times Since Sun Jan 07, 2007 2:21 pm Posted By hostman with 8 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
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:


     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">&nbsp;</p>
<div align="center">
Copyright &copy; 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 DEMO

If you need web hosting for your site, remember to visit www.webune.com for all your web and domain hosting needs.

Leave Your Comments     [ dejar commentarios ]
  * Name     [nombre]

  * eMail (will not be published)     [coreo electronico]

* Enter Your Reply or Comments:    [commentarios]


Add Picture To Comments         [incluir foto]
YES NO             upload
Receive Replies on my Comments (An email will be sent to you when someone replies to your comments)

     

Comments and replies About Cool Javascript Tricks - Make A Popup Alert Window Appear With Javascript




:: 1 :: #45387 - Reply By Isiah On Fri Mar 14, 2008 8:37 am
i will have to learn and implement this on my website
:: 2 :: #45388 - Reply By Isiah On Fri Mar 14, 2008 8:39 am
there are great things which help us do this online
:: 3 :: #45389 - Reply By Isiah On Fri Mar 14, 2008 8:40 am
i took in college about javascripts and learned nothing
:: 4 :: #45390 - Reply By Isiah On Fri Mar 14, 2008 8:40 am
are there any other ways of doing this in php
:: 5 :: #45391 - Reply By Isiah On Fri Mar 14, 2008 8:40 am
can you show me where i need to put the code
:: 6 :: #45393 - Reply By Isiah On Fri Mar 14, 2008 8:40 am
thanks for the tips
:: 7 :: #45394 - Reply By Isiah On Fri Mar 14, 2008 8:40 am
there were lots of tutorial, but i like this one
:: 8 :: #45396 - Reply By Isiah On Fri Mar 14, 2008 8:41 am
thanks for this howto i helped alot