Skip navigation
Currently Being Moderated

Adding popup message

Jan 2, 2011 11:50 AM

Hey guys,

 

First of all Happy new Year to all.

I need someone help urgently:(  i was suppose to launch my website yesterday the 1st of january, and my website partner left me with tight hands. So i have decided to launch the site either way, even  though i still have a few things to edit and stuff. My idea is to create a popup message so that when users get to the homepage, it would popup to let them know that we are still working on a few things, but the site is fully working. I have no clue what the code is or where to put it. I need help urgently , if someone could help me i would so much appreciate. I am pretty desperate. helpppppp pleaaaseeee.

 

Thank you ever so much

 

LMartins

 
Replies
  • Currently Being Moderated
    Jan 2, 2011 11:57 AM   in reply to LuisDesigns

    Why not instead of a "we are not finnished but here it is anyway" type (annoying) pop up, but some banner or other message to say "New exicitng additions coming soon....check back soon."

     

    Gary

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 2, 2011 12:02 PM   in reply to LuisDesigns

    Browser Pop-Up Blockers will defeat a conventional pop-up window from opening on page load.  If you're under a deadline, simply put your message on the top of your home page where it will be seen.

     

     

    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 2, 2011 12:32 PM   in reply to LuisDesigns

    If you're good with code, this jQuery Sexy Alert Box might do what you need.

    Click on Sexy Info Box.

    http://alt-web.com/DEMOS/jQuery-sexy-alert-box.html

     

     

    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 2, 2011 1:09 PM   in reply to LuisDesigns

    1) Download the Sexy Alert Box scripts and CSS from Google and save them to the Scripts folder in your local site.

     

    2) Insert code between the <head> and </head> tags like so.   Change YOUR WELCOME MESSAGE as desired.

     

     

    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" /> </script>
    <script type="text/javascript" src="Scripts/jquery.easing.1.3.js"></script>
    <script type="text/javascript" src="Scripts/sexyalertbox.v1.2.jquery.mini.js"></script>
    <link rel="stylesheet" type="text/css" media="all" href="Scripts/sexyalertbox.css"/>
    
    <!--begin event cookie -->
    <script type="text/javascript">
    function addListener(obj, evt, handler)
    {
    if (obj.addEventListener)
    {
    obj.addEventListener(evt, handler, false);
    }
    else if (obj.attachEvent)
    {
    obj.attachEvent('on' + evt, handler);
    }
    }
    addListener(window, 'load', function()
    {
    if (!/info/.test(window.name))
    {
    Sexy.info('<h1>YOUR WELCOME MESSAGE GOES HERE!<\/h1><p>The rest of your message goes here.<\/p>');
    window.name = 'info';
    }
    }
    );
    </script>
    
    

     

     

    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 2, 2011 1:36 PM   in reply to LuisDesigns

    do i need to create a folder named scripts in my local site ?

    If you don't already have one, make a Scripts folder (upper case S).

     

    Let us know you how make out.

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 2, 2011 2:06 PM   in reply to LuisDesigns

    ok, before i pay to download this,

     

    You don't need to pay for this download.  jQuery is open source.

    http://code.google.com/p/sexy-alert-box/

     

     

    will the code you gave me make it popup as soon as someone login, at the homepage ?

     

    Yes.

     

    i don´t want it to popup all the time but one, everytime they login.

     

    I added a cookie.  They'll only see it one time per browser session.

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 2, 2011 2:16 PM   in reply to LuisDesigns

    I've done everything but download the Scripts for you.

    http://code.google.com/p/sexy-alert-box/downloads/detail?name=sexy-ale rt-box-1.2.2.zip&can=2&q=

     

    The code I gave you will work.  It's not all that complicated.

     

     

    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 2, 2011 2:36 PM   in reply to LuisDesigns

    What couldn't you get to work?

    Can you post a link to your test page?

     

     

    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 25, 2011 12:13 PM   in reply to LuisDesigns

    Yes.

    Or contact me through my site and I'll set this up for you.

    http://alt-web.com/contact.shtml

     

     

    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 25, 2011 12:25 PM   in reply to Nancy O.

    thanks nancy for the link, script work perfectly!

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 26, 2011 11:12 AM   in reply to LuisDesigns

    Hi Luis,

    I just sent you an e-mail.

     

     

    Nancy O.

    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points