Results 1 to 4 of 4
  1. #1
    Full Member
    Join Date
    January 17th, 2005
    hi all,

    I have two questions so i though i might as well post them both in the same topic.

    First one is, how do i set up a popup, probably cookies based i think (to sign up for a newsletter) so that it will only popup once in a user session (say it resets after 30-45 minutes or so). I dont know if it works that way, but something to that effect would be great.

    Second problem. I am trying to get a script (probably using cookies also) that will send a user to one of two alternating pages, depending on which one they last visited. A new visitor would have to go to one of the designated pages to start off the cycle (eg. page A), then next time they visited the site they would be redirected to page B, then next visit page A, and so on.

    I would appreciate any help with this, or even a pointer in the right direction.

    john [img]/infopop/emoticons/icon_smile.gif[/img]

  2. #2
    Join Date
    January 17th, 2005
    Question 1:

    Go to my web site and look in the scripts section, for my Popup Window control script. This script lets you open a popup window, then sets a cookie to block it until your visitor restarts their browser.

    Question 2:

    Also have a look at my login script. This will show you how to use cookies to redirect people to specific pages.

    if you need help altering these to your spercific requirements, easy to do, let me know.

    Hamilton Laughland

  3. #3
    Full Member
    Join Date
    January 17th, 2005
    Thanks for the scripts, they have come in very handy! [img]/infopop/emoticons/icon_smile.gif[/img]

    BTW, I like your site, some very useful info on there. Ive got the popup working now. Yipee.

    As for the second, Ive modified a script now jsut to spruce up the graphics a bit.

    Thanks again,
    John [img]/infopop/emoticons/icon_wink.gif[/img]

  4. #4
    ABW Founder Haiko de Poel, Jr.'s Avatar
    Join Date
    January 18th, 2005
    New York

    Welcome! <IMG src=>


    BTW ...


  5. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Javascript Questions
    By Aunt Lily in forum PopShops
    Replies: 2
    Last Post: February 9th, 2008, 10:21 PM
  2. Can javascript be seen?
    By tbrown in forum Blocking Tips/Advice/scripts
    Replies: 0
    Last Post: August 5th, 2004, 10:33 AM
  3. JavaScript Help
    By FunPortal in forum Programming / Datafeeds / Tools
    Replies: 6
    Last Post: August 9th, 2003, 01:14 PM
  4. javascript help
    By SpaceBandit in forum Programming / Datafeeds / Tools
    Replies: 1
    Last Post: December 30th, 2001, 07:56 PM

Posting Permissions

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