How can I "fake" a click on my site to open a greybox?

4 replies
I like the greybox effect and I am wondering if I can
make a link on a web-page open immediately when the
visitor lands on the page.

Has anyone does this or know how?
#click #fake #greybox #open #site
  • Profile picture of the author GarrieWilson
    Yes.

    It will require JavaScript.

    Javascript: Open a window on page load is a basic one thats blocked by popup blockers.

    If you google, you can find dhtml/lighbox code.

    Garrie
    Signature
    Screw You, NameCheap!
    $1 Off NameSilo Domain Coupons:

    SAVEABUCKDOMAINS & DOLLARDOMAINSAVINGS
    {{ DiscussionBoard.errors[811815].message }}
  • Profile picture of the author Andrew E.
    Originally Posted by Loren Woirhaye View Post

    I like the greybox effect and I am wondering if I can
    make a link on a web-page open immediately when the
    visitor lands on the page.

    Has anyone does this or know how?
    Hi Loren,

    Assuming you are using the real "greybox" javascript code (Orangoo Labs - GreyBox), you can load a greybox when your visitor first lands on your page with the following code:

    HTML Code:
    <script type="text/javascript">
    AJS.AEV(window, 'load', function() {
    GB_show("Your Page Title", "yourpage.html");
    });
    </script>
    Andrew E.
    {{ DiscussionBoard.errors[811875].message }}
  • Profile picture of the author Neil Morgan
    Hey Loren

    From a marketing perspective, you might want to try out different wait times before the grey box appears.

    I did this a while back and found that I got most subscriptions when the grey box didn't appear until the visitor had been on the site for 30(ish) seconds.

    The poorest performer was then the grey box appeared as soon as the visitor arrived. I guess the visitor just closes it because they've just arrived and haven't decided if you're "worth" giving up their email address.

    You might need to get someone to put the Javascript together for you for this but it would be worthwhile if it increases your sign-up rate, as it did mine.

    Cheers,

    Neil
    Signature

    Easy email marketing automation without moving your lists.

    {{ DiscussionBoard.errors[812548].message }}
  • Profile picture of the author Loren Woirhaye
    Thanks Neil,

    I actually hadn't thought of it as a pop-up - just a work-around
    really to open an external site while keeping the viewer on my
    site and making the experience a controlled one. I like the
    way Greybox looks I guess - it's actually Greybox Redux that I've
    used and like a lot. I use XSitePro for some of my sites and
    I actually wanted to find a way to have the menus in XSP open
    a greybox instead of an external page - so my workaround
    theory was that I could have the link just go to a page on the
    same site that opens the external page in the greybox instantly.
    {{ DiscussionBoard.errors[812601].message }}

Trending Topics