| Do you avoid using forms because of that ugly static page the form-handling script returns when the form is submitted? |
Eliminate the static page returned by the form handling script! |
The ghost function takes two arguments (inside the parentheses): |
|---|
| First argument: A brief message for a little floating window that lets your visitor know the information from the form has been sent. Be sure to remember the "quotes." Second argument: DEFAULT OPTION (no value entered) will return to the page with the form; OTHER OPTIONS After a comma, tell the ghost function which URL to redirect the browser to when the message window closes.
When your visitor submits the form, the script opens a small window with your message. Meanwhile, the form mail response window loads behind it. The message window closes itself five seconds after the five-second countdown animated gif loads, and the main window is redirected to the desired page. |
| a netSperience website ©2003 by Randall Goya |
| <||> netSperience <||> JavaScript <||> Tools <||> Résumé <||> Guest Book <||> | Hosted by Get your own Free Home Page |