Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to pop-up image for visitor that visiting for first time?

    Hello,

    Anyone know how to pop-up image for visitor that visiting for first time?

    the pop-up image should be appears 30seconds then it will open new window tab with adress page that i have attached to image then after 30seconds the pop-up automatically close.

    thx

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    Pop-ups are hated by everyone, so that the majority have installed pop-up blockers on their browsers.

    Anyway, to detect if a visitor enters your site first time you need rather a server-side code which should detect the IP and create a server-side cookie.
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #3
    New to the CF scene
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    so if possible to pop-up image using server side script?

  • #4
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    Quote Originally Posted by mujehaninc View Post
    so if possible to pop-up image using server side script?
    No

    You did not understand. There are 2 different issues:

    1. Don't use a pop-up. It is useless as almost all the people have installed pop-up blockers, thus no one will see your pop-up at all.

    2. The detecting of a first visit is a server-side job (PHP, ASP, etc.)
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #5
    New to the CF scene
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    the case is i want to use pop-up no matter what if the visitor don't like it.

    I ever see a web that when my first time visit. it's pop-up a text Welcome. the box is transparent if i not close it i can't inside the page.

    have u ever make like that pop-up?

  • #6
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    Do you know JavaScript language? Do you know a server-side language, let's say PHP?
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #7
    New to the CF scene
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thx, I have figured it out the ways is combine CSS with JavaScript.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •