Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This calls the colorbox:
- <script>
- var openColorbox = function() {
- $.colorbox({ href: "pages/custom/download/download.php", width: 304, height: 235, scrolling: false, opacity: 0.5, });
- };
- setTimeout(openColorbox, 3000);
- </script>
- // This is the download.php file
- <?php
- $_SESSION["popup"] = true;
- ?>
- <div id="wrapper" style="width: 299px; height: 200px;">
- <img src="pages/custom/download/button.jpg" usemap="#Map2" >
- <map name="Map2" id="Map2">
- <area shape="rect" coords="255,5,296,20" href="index.php" />
- <area shape="rect" coords="167,142,257,176" href="download.php" />
- <area shape="rect" coords="43,141,134,178" href="index.php" />
- </map>
- </img>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement