The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Advertising Banner System (http://www.thevbgeek.com/forumdisplay.php?f=28)
-   -   Popup Question? (http://www.thevbgeek.com/showthread.php?t=5023)

PokerVillain 03-02-2009 09:52 AM

Popup Question?
 
Would this sytem work for popups? I want to be able to display popups to unregistered users only.

Morgan 03-04-2009 02:27 PM

It depends on what ad code you use for the pop-up and whether anything interferes with the code that creates the pop-up. Generally pop-ups would be created using JavaScript, and GAB does allow you to create HTML ads, but as JavaScript is run client-side, there is no guarantee the pop-up would show to the end user. The below JavaScript worked on this site, but it may or may not work on your site, and if someone is using a pop-up blocker, s/he of course wouldn't see the pop-up:
Code:

<script type="text/javascript">
        function gabpopupwindow()
        {
                newWindow = window.open('http://www.thevbgeek.com', 'gabnewwindow', 'toolbar=no,menubar=no,resizable=no,scrollbars=no,status=no,location=no,width=300,height=500');
        }
        gabpopupwindow();
</script>



All times are GMT. The time now is 04:20 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.