On 1/19/00 12:00:07 PM, "Matt Hickerson" digitized these thoughts: >I'm wondering if anyone has done anything like the following (and if so, >can you provide a reference URL) > >I have a law firm client who wants the following to happen when a user >hits the "email attorney" link on an individual attorney bio > > · pop-up box appears with an attorney-client relation disclaimer > · user hits "agree" on disclaimer and pop-up window closes AND a >mailto is activated > · user hits "disagree" on disclaimer and window closes (no brainer) > >So a user hits "email attorney", a small, separate window opens with a >disclaimer, if the user agrees with the disclaimer and hits "agree" then >the disclaimer window is closed AND a simple mailto is activated.
Here are two different methods to accomplish this. The first uses the window.confirm() method, and may not be as widely supported, and the second uses a popup window with some JavaScript code in it to do the confirmation.