PDA

View Full Version : Ummm Pop Up



Dust-Ball.
20-04-2006, 04:50 PM
Dose any know the script for a pop up message when they first get on the site? I want it to say

Message from web master: Website still under construction please bear with us thanks!

Thanks would some one be able to give em code and tell em how to change the message. Thanks

PS There will also be rep for all that helps Ty

nets
20-04-2006, 05:15 PM
<html>
<head>
<script type="text/JavaScript">
<!--Begin
function message() {
alert('Message from web master: Website still under construction please bear with us thanks!');
}
//-->
</script>
</head>
<body onLoad="message();">
</body>
</html>

Johno
20-04-2006, 05:16 PM
I have it somewhere

Dust-Ball.
21-04-2006, 04:38 PM
Thanks very much Thred can be Closed! Rep +

VPSwow
21-04-2006, 04:39 PM
if u need anymore coding please say i have lots including changing background colour by clicking button like the new one on here

Halting
22-04-2006, 10:27 AM
<html>
<head>
<script type="text/JavaScript">
<!--Begin
function message() {
alert('Message from web master: Website still under construction please bear with us thanks!');
}
//-->
</script>
</head>
<body onLoad="message();">
</body>
</html>


You don't need:


<body onLoad="message();">


All you need is:


<script language="Javascript">
alert ("Message from web master: Website still under construction please bear with us thanks!")
</script>

--ss--
23-04-2006, 11:19 AM
Pop up when entering site :


<SCRIPT language="JavaScript">alert("TEXT") </SCRIPT>


When leaving site:


<BODY onUnload="alert('TEXT HERE');">

Want to hide these adverts? Register an account for free!