Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>
- <style type="text/css">
- #overlay {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: #000;
- filter:alpha(opacity=70);
- -moz-opacity: 0.95;
- -khtml-opacity: 0.95;
- opacity: 0.95;
- z-index: 100;
- display: none;
- }
- .cnt223 a{
- text-decoration: none;
- }
- .popup{
- width: 70%;
- margin: 0 auto;
- display: none;
- position: fixed;
- z-index: 101;
- top: 50px;
- }
- .cnt223{
- min-width: 600px;
- width: 600px;
- min-height: 150px;
- margin: 100px auto;
- background: #f3f3f3;
- position: relative;
- z-index: 103;
- padding: 10px;
- border-radius: 5px;
- box-shadow: 0 2px 5px #000;
- }
- .cnt223 p{
- clear: both;
- color: #555555;
- text-align: justify;
- }
- .cnt223 p a{
- color: #d91900;
- font-weight: bold;
- }
- .cnt223 .x{
- float: right;
- height: 35px;
- left: 22px;
- position: relative;
- top: -25px;
- width: 34px;
- }
- .cnt223 .x:hover{
- cursor: pointer;
- }
- .style1 {
- text-align: center;
- }
- </style>
- <script type='text/javascript'>
- $(function(){
- var overlay = $('<div id="overlay"></div>');
- overlay.show();
- overlay.appendTo(document.body);
- $('.popup').show();
- $('.close').click(function(){
- $('.popup').hide();
- overlay.appendTo(document.body).remove();
- return false;
- });
- $('.x').click(function(){
- $('.popup').hide();
- overlay.appendTo(document.body).remove();
- return false;
- });
- });
- </script>
- <script>
- function showText(id,delay){
- var elem=document.getElementById(id);
- setTimeout(function(){elem.style.visibility='visible';},delay*1000)
- }
- window.onload=function(){
- showText('delayedText3',60);
- }
- </script>
- <script language="javascript">
- var max_time = 60;
- var cinterval;
- function countdown_timer(){
- // decrease timer
- max_time--;
- document.getElementById('countdown').innerHTML = max_time;
- if(max_time == 0){
- clearInterval(cinterval);
- }
- }
- // 1,000 means 1 second.
- cinterval = setInterval('countdown_timer()', 1000);
- </script>
- <div class='popup'>
- <div class='cnt223'>
- <p class="style1">
- <strong>
- <center>
- <font color="red">Klikni na sliku da pogledas GIF/Sliku ili cekaj 60 sekundi.</font></center>
- </strong>
- <br/>
- <br/>
- <center>
- <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <!-- Blog slike -->
- <ins class="adsbygoogle"
- style="display:inline-block;width:336px;height:280px"
- data-ad-client="ca-pub-3626159287188817"
- data-ad-slot="2588435683"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- <br />
- <br />
- Mogucnost zatvaranja za: (<span id="countdown">60</span>) sekundi <div id="delayedText3" style="visibility:hidden"><a href='' class='close'>OVDJE</a></div>
- </center></p>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement