Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to create an Auto Pop Up Window on homepage

Guest
Jun 23, 2011 Jun 23, 2011

Hi, I am trying to create a pop up window in dreamweaver that loads when a first time visitor is on our homepage asking them to join our club. I would like to add a couple links in the image allowing them to either sign up or click no thanks. Can you help me out or direct me to a good tutorial? Thanks!

22.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 23, 2011 Jun 23, 2011

Hi,

you could try this: http://www.nowsell.com/pop-ups/pop-up-scripts.html

Hans-Günter

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 23, 2011 Jun 23, 2011
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 23, 2011 Jun 23, 2011
when a first time visitor is on our homepage

That's a fantastic tutorial you linked to and should be very helpful for those that can not google the term popup window to find out how to do it themselves. Unfortunately the pop up window that you recommended will popup e-v-e-r-y time a user visits the page. To develop the feature that the OP requested you need additional methods to prevent the popup from occurring everytime, like creating a cookie the first time the popup is displayed and then using a method to determine if a cookie is set to show the pop up or not.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 23, 2011 Jun 23, 2011

Shocker: That's life, O/K.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 23, 2011 Jun 23, 2011

... and where are his specific attempts to help?


The  "the_shocker's" wish is to provide concrete assistance to evolve our talents on the one hand and to contribute to the development of our professional DW-career on the other, as we can see again.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 23, 2011 Jun 23, 2011

I found a great download for the pop up window code. It is http://scripts.tropicalpcsolutions.com/html/javascript/auto-center-pop-up-window-javascript.html I have added it to my page and manipulated it to represent the design of the website.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 23, 2011 Jun 23, 2011

Hi,

in addition: did you try the "alert-box technique" already?

Hans-G.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 23, 2011 Jun 23, 2011
LATEST

I have not tried the "alert-box technique" yet.

I have found code that will only display for first time visitors. How would I add an image to the below code with a link to a website?

newwin=open("yourpage.htm", "dispwin",
"width=350,height=350,scrollbars=no,menubar=no");

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines