safeyya wrote:
Quote:
Hello everyone
I have a silly question.
I have domainsite.com, and I want when I open the site to pop-up a message
that asks the user to enter his name and e-mail address, and then send the
e-mail and name to my e-mail or save it to a txt file. What's the code to
pop-up the message and do all that? |
You would need three different scripts:
1. Open browser window behavior, applied to the body tag to open the pop-up
2. A script that prevents the pop-up to open more than once during e.g.
same session or same day. Search Google for "pop-up once script" and
you'll get several hits on free and commercial such scripts.
3. A formmail script, depending on which script language your host
supports. See e.g. the formmail tut in my sig.
--
Dan Vendel - *GOF*
Contact: http://proformica.com/en_gray/contact.shtml
Formmail tutorial: http://www.proformica.com/en_gray/formmail_tutorial.shtml
Nested tables: http://www.proformica.com/en_gray/nested_table_demo.shtml
SEO: http://www.proformica.com/en_gray/search_engine_optimization.shtml
SE Utility: http://www.proformica.com/en_gray/advanced_web_ranking.shtml
Search Dreamweaver newsgroup: http://www.proformica.com/google.html