
المشاركة الأصلية كتبت بواسطة مستر لؤي
تمبليت
headinclude
اعلاه اضف الكود التالي
كود:
<!-- www.fnetf.com/vb
-->
<script type="text/javascript" language="JavaScript1.2">
//Gradual-Highlight image script- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use
function high(which2)
{
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2)
{
clearInterval(highlighting)
if(which2.style.MozOpacity)
{
which2.style.MozOpacity=0.3
}
else if(which2.filters)
{
which2.filters.alpha.opacity=30
}
}
function highlightit(cur2)
{
if(cur2.style.MozOpacity<1)
{
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
}
else if(cur2.filters&&cur2.filters.alpha.opacity<100)
{
cur2.filters.alpha.opacity+=10
}
else if(window.highlighting)
{
clearInterval(highlighting)
}
}
var loading = '<div id="loading">'
loading += '<table border="0" width="100%" cellspacing="0" cellpadding="0" height="100%">'
loading += ' <tr>'
loading += ' <br>'
loading += ' <br>'
loading += ' <br>'
loading += ' <br>'
loading += ' <br>'
loading += ' <br>'
loading += ' <br>'
loading += ' <br>'
loading += ' <td height="47.5%"> </td>'
loading += ' </tr>'
loading += ' <tr>'
loading += ' <td height="5%" align="center">'
loading += ' <img border="0" src="images/loading.gif" width="200" height="10"><br />'
loading += ' <b><font size="2" face="tahoma" color="#CC6699">يتم تحميل الصفحة يرجى الإنتظار</font></b></td>'
loading += ' </tr>'
loading += ' <tr>'
loading += ' <td height="47.5%"> </td>'
loading += ' </tr>'
loading += '</table></div>'
var none = '<div id="none" style="display:none">';
document.write(loading, none);
window.onload = function()
{
document.getElementById("loading").style.display = "none";
document.getElementById("none").style.display = "";
}
</script>
<!-- www.fnetf.com/vb
-->
ارفع الصورة المرفقة إلى images داخل vb
مثال
http://www.fnetf.com/vb/index.php?styleid=51
انتهى