هيكل عضو فعال
عدد الرسائل : 383 العمر : 116 المزاج : مش فاضى علشان اعرف المهنه : الهوايه : تاريخ التسجيل : 12/06/2008
| موضوع: افلام اكشن مختاره بعنايه ارجو ان اكون وفقت فى اختيارهااااااااااااااااااااااااااااااااااا وارجو الرد الإثنين يوليو 07, 2008 3:27 am | |
|
|
var callCount = 0; function rmvScroll( msg ) { if ( ++callCount > 10 ) { msg.style.visibility = "visible"; }
if ( callCount < 50 && ! imgsDone( msg ) ) { setTimeout( function() { rmvScroll( msg ); }, 200 ); return; } var delta = msg.offsetHeight - msg.clientHeight; var newWidth = 0; var newHeight = 0; delta = ( isNaN( delta )? 1 : delta + 1 ); if ( msg.scrollHeight > msg.clientHeight ) { newHeight = msg.scrollHeight + delta; } delta = msg.offsetWidth - msg.clientWidth; delta = ( isNaN( delta )? 1 : delta + 1 ); if ( msg.scrollWidth > msg.clientWidth ) { newWidth = msg.scrollWidth + delta; } msg.style.overflow = "visible"; msg.style.visibility = "visible";
if ( newWidth > 0 || newHeight > 0 ) { var ssxyzzy = document.getElementById( "ssxyzzy" ); var cssAttribs = ['#' + msg.id + '{']; if ( newWidth > 0 ) cssAttribs.push( 'width:' + newWidth + 'px;' ); if ( newHeight > 0 ) cssAttribs.push( ' height:' + newHeight + 'px;' ); cssAttribs.push( '}' ); try { ssxyzzy.sheet.deleteRule( 0 ); ssxyzzy.sheet.insertRule( cssAttribs.join(""), 0 ); } catch( e ){} } } function imgsDone( msg ) // for Firefox, we need to scan for images that haven't set their width yet { var imgList = msg.getElementsByTagName( "IMG" ); var len = ((imgList == null)? 0 : imgList.length); for ( var i = 0; i < len; ++i ) { var theImg = imgList[i]; if ( ! theImg.complete && "undefined" != typeof theImg.naturalWidth && theImg.naturalWidth == 0 ) { return false; } } return true; } var msg = document.getElementById( "message4768550316356199814849500169434283033375607" ); if ( oBw.agt.match( /gecko/ ) == "gecko" ) { if ( msg && "undefined" != typeof msg ) { rmvScroll( msg ); } } else { msg.style.visibility = "visible"; } |
| |
|