if you need just a message then use javascript Alert(); if you need to open actul page in popup then try following code. it might help you. i have auto generated from following website
http://javascript.internet.com/gener...up-window.html
<!-- TWO STEPS TO INSTALL POPUP WINDOW:
1. Paste the first into the HEAD of your HTML document
2. Use the code to open the popup page on your site -->
<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Idea by: Nic Wolfe -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,men ubar=0,resizable=0,width=300,height=300,left = 533,top = 234');");
}
// End -->
</script>
<!-- STEP TWO: Paste this onLoad event handler into the BODY tag -->
<BODY onLoad="javascript  opUp('Something.html')">
<!-- Script Size: 0.73 KB -->
__________________
» Please login or register to view this content. Registration is FREE
- Interactive maps for websites
» Please login or register to view this content. Registration is FREE
for web developers
|