HighDots Forums  

How can I pop-up a msg when a page loads?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss How can I pop-up a msg when a page loads? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
safeyya
 
Posts: n/a

Default How can I pop-up a msg when a page loads? - 06-25-2004 , 01:48 PM






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?


Reply With Quote
  #2  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: How can I pop-up a msg when a page loads? - 06-25-2004 , 02:24 PM






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


Reply With Quote
  #3  
Old   
two can's
 
Posts: n/a

Default Re: How can I pop-up a msg when a page loads? - 06-25-2004 , 02:31 PM



Hi yea,
you need to create a pop up window with a form inside it,

get a free dreamweaver extension here for the popup window, this can be set
to open at a width and height you request when your parent page has loaded,
http://japan-interface.co.uk/webdesign/tools/SmartLinkHelp.html


to create a form inside it maybe this might be of help they are extensions
http://www.webthang.co.uk/tuts/tuts_ud4/utrix2/utrix2_1.asp

or

http://www.felixone.it/extensions/dwextensionsen.asp?application=%25&environment=%25 &type=%3E%3D&Submit=Search

and some greate tutorials below

http://www.webthang.co.uk/tuts/t_view.asp?gkSortCat=dmx&image.x=13&image.y=1

regards


twocan's



Reply With Quote
  #4  
Old   
safeyya
 
Posts: n/a

Default Re: How can I pop-up a msg when a page loads? - 06-25-2004 , 04:06 PM



Thank you Dan and Two can's for the suggestions and the links
I highly appreciate your help

I'll go over your links and do some research using the keywords you have suggested. Thanks again


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.