View Single Post
ישן 30-06-09, 20:55   # 3
moni1x09
חבר מתקדם
 
moni1x09's Avatar
 
מיני פרופיל
תאריך הצטרפות: Apr 2009
מיקום: איזור
הודעות: 561

moni1x09 לא מחובר  

קוד:
============================================================
INSTRUCTIONS.

This is a MUTI-PART Script.

============================================================
PART I. 
Copy code below into <HEAD> section of your HTML pages
============================================================

<SCRIPT TYPE="text/javascript" LANGUAGE="javascript">

<!-- PreLoad Wait - Script -->
<!-- This script and more from http://www.rainbow.arch.scriptmania.com 

function waitPreloadPage() { //DOM
if (document.getElementById){
document.getElementById('prepage').style.visibility='hidden';
}else{
if (document.layers){ //NS4
document.prepage.visibility = 'hidden';
}
else { //IE4
document.all.prepage.style.visibility = 'hidden';
}
}
}
// End -->
</SCRIPT>


============================================================
PART II. 
Add the onLoad event, as shown below, to your <BODY> tag:
============================================================

<BODY onLoad="waitPreloadPage();">


============================================================
PART III. 
Copy codes below to immediately after <BODY> tag.
============================================================

<DIV id="prepage" style="position:absolute; font-family:arial; font-size:16; left:0px; top:0px; background-color:white; layer-background-color:white; height:100%; width:100%;"> 
<TABLE width=100%><TR><TD><B>Loading ... ... Please wait!</B></TD></TR></TABLE>
</DIV>

זה סקריפט שמראה הודעה כל עוד העמוד לא נטען...
תנסה להשתמש בזה
  Reply With Quote