navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

warning box

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> warning box
Page: [1]
 
sherpa

 

Posts: 16
From: None
Status: offline

 
warning box - 3/6/2002 11:47:17   
Is there any way to create a warning pop-up before displaying a web page? (like one that says "enter" or "exit")

puiwaihin

 

Posts: 1378
From: Taiwan
Status: offline

 
RE: warning box - 3/6/2002 13:26:49   
Easy way: Create a page that gives your warning message and then offers two links:

Enter or Leave

Clicking "Enter" let's you go to the next page.


Complicated way-- use a JavaScript:

<SCRIPT LANGUAGE=JAVASCRIPT>
function verify()
{
var condit = confirm("Do you want to enter?");
if (condit==false)
{
document.location="http://www.chinawestexchange.com";
}

}
</SCRIPT>

Then add onload="verify()" to your body tag.

----------
Who put the self-destruct button THERE?!

(in reply to sherpa)
Page:   [1]

All Forums >> Web Development >> General Web Development >> warning box
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts