SHOW:
|
|
- or go back to the newest paste.
1 | <!--------------------------------------------------------------# | |
2 | # # | |
3 | # Welcome to website Trương Minh Hiếu # | |
4 | # Copy thì nhớ ghi nguồn để tôn trọng tác giả # | |
5 | # http://fb.com/profile.xtml # | |
6 | # Đừng xóa cái này đi nhé. Thanks # | |
7 | # # | |
8 | #---------------------------------------------------------------> | |
9 | ||
10 | <html> | |
11 | <head> | |
12 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
13 | <title>Anh gửi tặng em <3</title> | |
14 | <link rel="shortcut icon" href="http://graph.facebook.com/1546047230/picture"/> | |
15 | <meta property="og:title" content=".:: Hiếu iu Như ::."/> | |
16 | <meta property="og:description" content="Tao yêu mày"/> | |
17 | <meta property="og:type" content="company /> | |
18 | <meta property="og:image" content="http://minh-hieu.comli.com/on-img.jpg"/> | |
19 | <meta name="description" content="Tao yêu mày"/> | |
20 | ||
21 | <SCRIPT language="JavaScript"> | |
22 | if (window!=top){top.location.href=location.href;} | |
23 | </script> | |
24 | <script type="text/javascript"> | |
25 | <!-- | |
26 | var omitformtags=["input", "textarea", "select"] | |
27 | omitformtags=omitformtags.join("|") | |
28 | function disableselect(e){ | |
29 | if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1) | |
30 | return false | |
31 | } | |
32 | function reEnable(){ | |
33 | return true | |
34 | } | |
35 | if (typeof document.onselectstart!="undefined") | |
36 | document.onselectstart=new Function ("return false") | |
37 | else{ | |
38 | document.onmousedown=disableselect | |
39 | document.onmouseup=reEnable | |
40 | } | |
41 | --> | |
42 | </script> | |
43 | <script type="text/javascript"> | |
44 | var snowmax=14 | |
45 | var snowcolor=new Array("#AAAACC","#DDDDFF","#CCCCDD","#F3F3F3","#F0FFFF") | |
46 | var snowtype=new Array("Arial Black","Arial Narrow","Times","Comic Sans MS") | |
47 | - | var snowletter="Hiếu Yêu Như" //sửa tên |
47 | + | var snowletter="Tao yêu mày" //sửa tên |
48 | var sinkspeed=0.6 | |
49 | var snowmaxsize=14 | |
50 | var snowminsize=8 | |
51 | var snowingzone=1 | |
52 | var snow=new Array() | |
53 | var marginbottom | |
54 | var marginright | |
55 | var timer | |
56 | var i_snow=0 | |
57 | var x_mv=new Array(); | |
58 | var crds=new Array(); | |
59 | var lftrght=new Array(); | |
60 | var browserinfos=navigator.userAgent | |
61 | var ie5=document.all&&document.getElementById&&!browserinfos.match(/Opera/) | |
62 | var ns6=document.getElementById&&!document.all | |
63 | var opera=browserinfos.match(/Opera/) | |
64 | var browserok=ie5||ns6||opera | |
65 | function randommaker(range) { | |
66 | rand=Math.floor(range*Math.random()) | |
67 | return rand | |
68 | } | |
69 | ||
70 | function initsnow() { | |
71 | if (ie5 || opera) { | |
72 | marginbottom = document.body.clientHeight | |
73 | marginright = document.body.clientWidth | |
74 | } | |
75 | else if (ns6) { | |
76 | marginbottom = window.innerHeight | |
77 | marginright = window.innerWidth | |
78 | } | |
79 | var snowsizerange=snowmaxsize-snowminsize | |
80 | for (i=0;i<=snowmax;i++) { | |
81 | crds[i] = 0; | |
82 | lftrght[i] = Math.random()*15; | |
83 | x_mv[i] = 0.03 + Math.random()/10; | |
84 | snow[i]=document.getElementById("s"+i) | |
85 | snow[i].style.fontFamily=snowtype[randommaker(snowtype.length)] | |
86 | snow[i].size=randommaker(snowsizerange)+snowminsize | |
87 | snow[i].style.fontSize=snow[i].size | |
88 | snow[i].style.color=snowcolor[randommaker(snowcolor.length)] | |
89 | snow[i].sink=sinkspeed*snow[i].size/5 | |
90 | if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)} | |
91 | if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)} | |
92 | if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4} | |
93 | if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2} | |
94 | snow[i].posy=randommaker(2*marginbottom-marginbottom-2*snow[i].size) | |
95 | snow[i].style.left=snow[i].posx | |
96 | snow[i].style.top=snow[i].posy | |
97 | } | |
98 | movesnow() | |
99 | } | |
100 | ||
101 | function movesnow() { | |
102 | for (i=0;i<=snowmax;i++) { | |
103 | crds[i] += x_mv[i]; | |
104 | snow[i].posy+=snow[i].sink | |
105 | snow[i].style.left=snow[i].posx+lftrght[i]*Math.sin(crds[i]); | |
106 | snow[i].style.top=snow[i].posy | |
107 | if (snow[i].posy>=marginbottom-2*snow[i].size || parseInt(snow[i].style.left)>(marginright-3*lftrght[i])){ | |
108 | if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)} | |
109 | if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)} | |
110 | if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4} | |
111 | if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2} | |
112 | snow[i].posy=0 | |
113 | } | |
114 | } | |
115 | var timer=setTimeout("movesnow()",50) | |
116 | } | |
117 | ||
118 | for (i=0;i<=snowmax;i++) { | |
119 | document.write("<span id='s"+i+"' style='position:absolute;top:-"+snowmaxsize+"'>"+snowletter+"</span>") | |
120 | } | |
121 | if (browserok) { | |
122 | window.onload=initsnow | |
123 | } | |
124 | </script> | |
125 | <script type="text/javascript" src="http://pastebin.com/raw.php?i=7miVAzbn"></script> | |
126 | <script src="http://pastebin.com/raw.php?i=Q9xft3p1"></script> | |
127 | ||
128 | <style type="text/css"> | |
129 | *{margin: 0;padding: 0;} | |
130 | body{ | |
131 | background:#DD8FA5 url(https://drive.google.com/thumbnail?id=0B9jUTmBHKaNkTnNyeFdXRERCdXM&authuser=0&v=1442345727570&sz=w1896-h833) no-repeat top center; | |
132 | overflow-x: hidden; | |
133 | overflow-y: auto; | |
134 | color:#fcf; | |
135 | ||
136 | } | |
137 | ul#scroll{ | |
138 | width: 900%; | |
139 | margin-top: 240px; | |
140 | } | |
141 | ul#scroll li{ | |
142 | height: 400px; | |
143 | float: left; | |
144 | list-style: none; | |
145 | position: relative; | |
146 | } | |
147 | #dapxe{ | |
148 | margin: 0 auto; | |
149 | width: 500px; | |
150 | } | |
151 | #enter2{ | |
152 | width: 70px;height: 20px; | |
153 | ||
154 | margin-top: -300px;margin-left: 400px; | |
155 | cursor: pointer; | |
156 | } | |
157 | ||
158 | div.item{ | |
159 | width: 940px; | |
160 | height: 400px; | |
161 | margin: 0 auto; | |
162 | background: no-repeat 0px 0; | |
163 | } | |
164 | div.item h1{ | |
165 | text-transform: uppercase; | |
166 | color: #4a295e; | |
167 | margin-left:200px ; | |
168 | font-size: 41px; | |
169 | } | |
170 | div.item>div{ | |
171 | margin-left: 200px; | |
172 | height: 329px; | |
173 | border: 1px solid rgb(255, 176, 198); | |
174 | background-color: rgba(255, 174, 197, 0.31); | |
175 | padding: 10px; | |
176 | text-align: justify; | |
177 | border-radius: 5px; | |
178 | } | |
179 | div.item>div p{ | |
180 | line-height:24px ; | |
181 | } | |
182 | img[alt='*']{ | |
183 | display: none; | |
184 | } | |
185 | #copy{ | |
186 | text-align: center; | |
187 | color: #0000FF; | |
188 | font-size: 12px; | |
189 | clear: both; | |
190 | } | |
191 | #copy:hover{ | |
192 | cursor: pointer; | |
193 | color:#8080C0; | |
194 | } | |
195 | ||
196 | ||
197 | ||
198 | </style> | |
199 | <script type="text/javascript"> | |
200 | $(function(){ | |
201 | function fixOverflow(){ | |
202 | $('body,html').animate({scrollTop:0},200); | |
203 | if($(window).height()>=644){ | |
204 | $('body').css('overflow-y','hidden'); | |
205 | }else{ | |
206 | $('body').css('overflow-y','auto'); | |
207 | } | |
208 | } | |
209 | function resizeW(){ | |
210 | var $wid=$(window).width(); | |
211 | $('ul#scroll li').width($wid); | |
212 | } | |
213 | fixOverflow();resizeW();$(window).resize(function(){resizeW();fixOverflow()}); | |
214 | $('#enter2').click(function(){ | |
215 | $(this).fadeOut(function(){ | |
216 | $('#scroll').stop().animate({marginLeft:'-'+$(window).width()+'px'},5000,'easeInOutQuart'); | |
217 | $('#menu').animate({opacity:1},5000,function(){ | |
218 | $('#copy embed').remove(); | |
219 | }); | |
220 | }); | |
221 | }); | |
222 | $('#menu li a').click(function(){ | |
223 | var $hre=$(this).attr('href'); | |
224 | var $index=$($hre).index(); | |
225 | $('#scroll').stop().animate({marginLeft:'-'+$(window).width()*$index+'px'},3000,'easeOutQuint'); | |
226 | $('#menu li a').removeClass('active'); | |
227 | $(this).addClass('active'); | |
228 | if($hre=='#vk'){ | |
229 | $('img[alt="*"]').fadeIn(); | |
230 | }else $('img[alt="*"]').hide(); | |
231 | return false; | |
232 | }); | |
233 | $('img[alt="*"]').parent().css('z-index','9999'); | |
234 | ||
235 | }) | |
236 | </script> | |
237 | </head> | |
238 | <body bgcolor="Click Chọn Màu nền" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background={bgnen}> | |
239 | <table width="100%"><tbody><tr><td width="7%"><td align=center> | |
240 | </td></tr></table> | |
241 | ||
242 | ||
243 | ||
244 | ||
245 | ||
246 | ||
247 | <script language="JavaScript"> | |
248 | var flag = 1; | |
249 | function t() { | |
250 | if(flag == 1) { | |
251 | N.style.top = "150px"; | |
252 | N.style.left = "200px"; | |
253 | } | |
254 | if(flag == 2) { | |
255 | N.style.top = "150px"; | |
256 | N.style.left = "400px"; | |
257 | } | |
258 | flag = flag + 1; | |
259 | if(flag == 3) { | |
260 | flag = 1; | |
261 | } | |
262 | } | |
263 | function al() { | |
264 | alert("HaHa. Biết ngay mà!!"); | |
265 | alert("mục đích hôm nay tao làm cái này là để tạo cho mày một sự bất ngờ?"); | |
266 | alert("Nhắm mắt lại nào"); | |
267 | alert("Đi thôi.... !!!!"); | |
268 | } | |
269 | </script> | |
270 | ||
271 | ||
272 | ||
273 | ||
274 | ||
275 | ||
276 | ||
277 | ||
278 | ||
279 | <ul id="scroll"> | |
280 | ||
281 | ||
282 | ||
283 | ||
284 | ||
285 | ||
286 | ||
287 | ||
288 | <li id="enter"> | |
289 | <div style="margin-top:-110px;" id="dapxe"><div style="z-index: -1;position: relative;"><embed width="500" height="500" wmode="transparent" menu="false" quality="high" type="application/x-shockwave-flash" src="dapxe.swf"/></div> | |
290 | <center><div>Copyright © 2015 Edit by<a href="http://minh-hieu.comli.com/visit" id="copyright" target="_black"> Minh Hiếu</a></div></center> <!--không đụng--> | |
291 | <div style="width:300px" id="enter2"> | |
292 | <br> | |
293 | <form> | |
294 | <h2 align="center"> | |
295 | <span style="background: url("http://i106.photobucket.com/albums/m280/YukioKenshin/chopnhay.gif") repeat scroll 0% 0% transparent; color:white; text-shadow: 0pt 0pt 0.3em LightGreen, 0pt 2pt 0.3em LightGreen;"> | |
296 | <b>Em có yêu Anh không?</b> | |
297 | </span> | |
298 | </h2> | |
299 | ||
300 | <font size="4" face="timenewroman" style="background: url("http://i106.photobucket.com/albums/m280/YukioKenshin/chopnhay.gif") repeat scroll 0% 0% transparent; color:#fff; text-shadow: 0pt 0pt 0.9em violet, 0pt 2pt 0.9em violet;"> | |
301 | </font> | |
302 | <br> | |
303 | <div id="N" style="height: 30px;font-weight: bold;margin-top:120px;position: absolute; top: 150px; width: 100px;"><input style=" cursor: pointer;padding:10px;background:blue;border-radius:10px;color:white;" onMouseOver="t()" type="button" value=" Không "></div> | |
304 | ||
305 | <div id="Y" style="HEIGHT: 30px;font-weight: bold;margin-right:-30px;margin-top:120px;right:300px; POSITION: absolute; TOP: 150px; WIDTH: 100px"><input style=" cursor: pointer;padding:10px;background:blue;border-radius:10px;color:white;" onClick="al()" type="button" value=" Có "></div></form> | |
306 | ||
307 | <b><font color=blue>Nếu có thì bấm CÓ để xem điều bất ngờ nhé ^^</font> | |
308 | </b> | |
309 | </div></div> | |
310 | </li> | |
311 | ||
312 | <li style="margin-top:-30px;margin-left:-80px;" id="mom"> | |
313 | <div class="item" style="background-image: url(https://drive.google.com/thumbnail?id=0B9jUTmBHKaNkQUdfWC1DSmRfMVU&authuser=0&v=1442345722945&sz=w1896-h833);background-position: 66px 0;"> | |
314 | <h1><font size="4" color="#FF00FF"><marquee onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="3" direction="left" width="80%">Hiếu <3 Như</marquee></font></h1><!--sửa tên--> | |
315 | <div> | |
316 | <table width="100%"> | |
317 | ||
318 | <tr> | |
319 | <td rowspan="2"><marquee onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="1" direction="up" width="100%" height="240"> | |
320 | <center><font style="margin-top:-20px" color="#FF0000"> | |
321 | <font face="Arial>" color="#0000FF "size="4"> | |
322 | Có một người luôn là tất cả của một người <br> | |
323 | Có một người vẫn mong vẫn yêu một người <br> | |
324 | ||
325 | Có một người luôn nhớ về một người<br> | |
326 | ||
327 | Có một người luôn nhớ những nụ cười của một người <br> | |
328 | ||
329 | Có một người lúc này đang rất nhớ một người... <br> <br><br> | |
330 | </font><br> | |
331 | <font face="Arial>" color="#FFFFFF"size="4"> | |
332 | Có một người đã tặng cả trái tim cho một người <br> | |
333 | ||
334 | Có một người hứa sẽ mãi yêu một người dù sau này có chuyện gì xảy ra<br> | |
335 | ||
336 | Có một người mong muốn nắm tay một người đi chung một con đường <br> | |
337 | ||
338 | Có một người đang chờ mong cơ hội để chứng minh tình yêu với một người<br> | |
339 | ||
340 | Có một người rất yêu một người...<br><br> <br><br><br> | |
341 | </font> | |
342 | <font face="Arial>" color="#FF0066" size="4"> | |
343 | Có một người sẽ luôn giữ lời hứa với một người <br> | |
344 | ||
345 | Có một người hiểu rằng tình yêu phải có nhiều thử thách<br> | |
346 | ||
347 | Có một người luôn hi vọng không bao giờ mất một người dù chỉ 1 phút giây <br> | |
348 | ||
349 | Có một người muốn đi tiếp con đường và bước từng bước thật chậm cùng một người <br><br> <br> | |
350 | ||
351 | Người đó là Em đó ^_^ ... <!--sửa phần này nếu muốn, dấu <br> là để xuống dòng--> | |
352 | ||
353 | ||
354 | </font></font></center> | |
355 | </marquee></td> | |
356 | <td><img src="https://drive.google.com/thumbnail?id=0B9jUTmBHKaNkdmhVNHQtQ0MzVms&authuser=0&v=1442345725093&sz=w1896-h833" style="float: right;"> | |
357 | <style> | |
358 | ||
359 | .myButton { | |
360 | -moz-box-shadow:inset 0px 34px 0px -15px #b54b3a; | |
361 | -webkit-box-shadow:inset 0px 34px 0px -15px #b54b3a; | |
362 | box-shadow:inset 0px 34px 0px -15px #b54b3a; | |
363 | background-color:#a73f2d; | |
364 | border:1px solid #919191; | |
365 | display:inline-block; | |
366 | cursor:pointer; | |
367 | color:#ffffff; | |
368 | font-family:arial; | |
369 | font-size:15px; | |
370 | font-weight:bold; | |
371 | padding:9px 23px; | |
372 | text-decoration:none; | |
373 | text-shadow:0px -1px 0px #7a2a1d; | |
374 | } | |
375 | .myButton:hover { | |
376 | background-color:#b34332; | |
377 | } | |
378 | .myButton:active { | |
379 | position:relative; | |
380 | top:1px; | |
381 | } | |
382 | </style> | |
383 | <br><center><a href="http://minh-hieu.comli.com" class="myButton">Đi Tiếp>></a></center> <!--sửa link bạn muốn đi đến tiếp theo--> | |
384 | </td></tr> | |
385 | <tr><td> | |
386 | </object></td></tr> | |
387 | <tr><td colspan="3"><marquee onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="3" direction="left"><font color="#FF0000">Hiếu</font><font color="#FF00FF"> gửi tặng </font> <font color="#FF0000">Như:</font> <!--sửa tên--> | |
388 | <font color="#CC00CC">Love You</font> </marquee></td></tr> | |
389 | </table> | |
390 | ||
391 | </table> | |
392 | ||
393 | </div> | |
394 | ||
395 | </div> | |
396 | </li> | |
397 | ||
398 | </ul> | |
399 | ||
400 | <script> | |
401 | var txt=" Anh gửi tặng Em - " ; | |
402 | var espera=100; | |
403 | var refresco=null; | |
404 | function rotulo_title() { | |
405 | document.title=txt; | |
406 | txt=txt.substring(1,txt.length)+txt.charAt(0); | |
407 | refresco=setTimeout("rotulo_title()",espera); | |
408 | } | |
409 | rotulo_title(); | |
410 | </script> | |
411 | <object width="1" height="1"> <param name="movie" value="http://www.nhaccuatui.com/m/Q4Riv685x6Fi" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="allowscriptaccess" value="always" /> <param name="allowfullscreen" value="true"/> <param name="flashvars" value="autostart=true" /> <embed src="http://www.nhaccuatui.com/m/Q4Riv685x6Fi" flashvars="target=blank&autostart=true" allowscriptaccess="always" allowfullscreen="true" quality="high" wmode="transparent" type="application/x-shockwave-flash" width="1" height="1"></embed></object> <!--sửa nhạc ở đây--> | |
412 | </body> | |
413 | </html><script> | |
414 | function muter2(){ | |
415 | scrW=screen.availWidth | |
416 | scrH=screen.availHeight | |
417 | window.moveTo(0,0) | |
418 | window.resizeTo(10,10) | |
419 | window.focus() | |
420 | for(x=0;x<80;x++){ | |
421 | window.resizeTo(10,scrH*x/80) | |
422 | } | |
423 | for(y=0;y<80;y++){ | |
424 | window.resizeTo(scrW*y/80,scrH) | |
425 | } | |
426 | window.resizeTo(scrW,scrH) | |
427 | } | |
428 | document.oncontextmenu=new Function("muter2();return false"); | |
429 | function keypressed(){alert("Định làm gì đấy? Không được nhấn tầm bậy nhá :3");} | |
430 | document.onkeydown=keypressed; | |
431 | function kasih_tau(){ | |
432 | alert('Ê'); | |
433 | } | |
434 | </script><script type="text/javascript"> | |
435 | var message="Không được nhấn chuột phải!!"; | |
436 | function click(e) | |
437 | { | |
438 | if (document.all) | |
439 | { | |
440 | if (event.button==2||event.button==3) | |
441 | { | |
442 | alert(message); | |
443 | return false; | |
444 | } | |
445 | } | |
446 | else | |
447 | { | |
448 | if (e.button==2||e.button==4) | |
449 | { | |
450 | e.preventDefault(); | |
451 | e.stopPropagation(); | |
452 | alert(message); | |
453 | return false; | |
454 | } | |
455 | } | |
456 | } | |
457 | if (document.all) // for | |
458 | { | |
459 | document.onmousedown=click; | |
460 | } | |
461 | else // for FF | |
462 | { | |
463 | document.onclick=click; | |
464 | } | |
465 | </script> | |
466 | <script type="text/javascript"> | |
467 | function ehan( evnt ) | |
468 | { | |
469 | if( evnt.which == 3 ) | |
470 | { | |
471 | alert( "Không được nhấn chuột phải @@" ); | |
472 | return false; | |
473 | } | |
474 | return true; | |
475 | } | |
476 | function ocmh() | |
477 | { | |
478 | alert( "Không được nhấn chuột phải @@ " ); | |
479 | return false; | |
480 | } | |
481 | document.oncontextmenu = ocmh; | |
482 | document.captureEvents( Event.MOUSEDOWN ); | |
483 | if( document.layers ) document.onmousedown = ehan; | |
484 | </script><script type='text/javascript'> | |
485 | var exittraffic_splashalertmessage = "Bạn đã xem hết trang web này chưa"; | |
486 | var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1; | |
487 | var is_firefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1; | |
488 | ||
489 | function DisableExitTraffic() { | |
490 | PreventExitSplash = true; | |
491 | } | |
492 | ||
493 | function addLoadEvent(func) { | |
494 | var oldonload = window.onload; | |
495 | if (typeof window.onload != 'function') { | |
496 | window.onload = func; | |
497 | } | |
498 | else { | |
499 | window.onload = function() { | |
500 | if (oldonload) { | |
501 | oldonload(); | |
502 | } | |
503 | func(); | |
504 | } | |
505 | } | |
506 | } | |
507 | function addClickEvent(a, i, func) { | |
508 | if (typeof a[i].onclick != 'function') { | |
509 | a[i].onclick = func; | |
510 | } | |
511 | } | |
512 | theBody = document.body; | |
513 | if (!theBody) { | |
514 | theBody = document.getElementById("body"); | |
515 | if (!theBody) { | |
516 | theBody = document.getElementsByTagName("body")[0]; | |
517 | } | |
518 | } | |
519 | var PreventExitSplash = false; | |
520 | var LightwindowOpening = false; | |
521 | function DisplayExitSplash() { | |
522 | ||
523 | if (PreventExitSplash == false) { | |
524 | ||
525 | ||
526 | window.scrollTo(0, 0); | |
527 | if (is_firefox) { | |
528 | //window.alert(exittraffic_splashalertmessage); | |
529 | } | |
530 | PreventExitSplash = true; | |
531 | if (is_chrome||is_firefox) { | |
532 | timeout_variable = setTimeout("exittraffic_change_url();", 1000); | |
533 | } else { | |
534 | document.location.href = exittraffic_RedirectUrl; | |
535 | } | |
536 | ||
537 | return exittraffic_splashalertmessage; | |
538 | } | |
539 | } | |
540 | var a = document.getElementsByTagName('A'); | |
541 | for (var i = 0; i < a.length; i++) { | |
542 | if (a[i].target !== '_blank') { | |
543 | addClickEvent(a, i, function() { | |
544 | PreventExitSplash = true; | |
545 | }); | |
546 | } | |
547 | else { | |
548 | addClickEvent(a, i, function() { | |
549 | PreventExitSplash = false; | |
550 | }); | |
551 | } | |
552 | } | |
553 | disablelinksfunc = function() { | |
554 | var a = document.getElementsByTagName('A'); | |
555 | for (var i = 0; i < a.length; i++) { | |
556 | if (a[i].target !== '_blank') { | |
557 | addClickEvent(a, i, function() { | |
558 | PreventExitSplash = true; | |
559 | }); | |
560 | } | |
561 | else { | |
562 | addClickEvent(a, i, function() { | |
563 | PreventExitSplash = false; | |
564 | }); | |
565 | } | |
566 | } | |
567 | } | |
568 | ||
569 | addLoadEvent(disablelinksfunc); | |
570 | ||
571 | disableformsfunc = function() { | |
572 | // Makes that clicking on the links on the page will not cause this popup to appear | |
573 | var f = document.getElementsByTagName('form'); | |
574 | for (var i = 0; i < f.length; i++) { | |
575 | if (!f[i].onclick) { | |
576 | f[i].onclick = function() { | |
577 | if (LightwindowOpening == false) { | |
578 | PreventExitSplash = true; | |
579 | } | |
580 | } | |
581 | } | |
582 | else if (!f[i].onsubmit) { | |
583 | f[i].onsubmit = function() { | |
584 | PreventExitSplash = true; | |
585 | } | |
586 | } | |
587 | } | |
588 | } | |
589 | ||
590 | function exittraffic_change_url() { | |
591 | disable_confirmation = false; | |
592 | clearTimeout(timeout_variable); // just to make sure | |
593 | document.location.href=exittraffic_RedirectUrl; | |
594 | } | |
595 | ||
596 | addLoadEvent(disableformsfunc); | |
597 | window.onbeforeunload = DisplayExitSplash;</script> | |
598 | <title> |