PHP and MySQL in Netobjects Fusion

:: PHP developers ::
PHP developers

Home

A Javascript solution that displays a temporary message while the page is loading.


In page view, F9, click HTML on the layout property palette and paste the following
"Between Head Tags" - remember to paste all code into notepad first, then from notepad to Fusion.


<script language="JavaScript" type="text/javascript">
function swap(f, t) {
  var fdiv, tdiv;
   if (document.getElementById) {
   fdiv = document.getElementById(f).style;
   tdiv = document.getElementById(t).style;
  } else if (document.layers) {
   fdiv = document.layers[f];
   tdiv = document.layers[t];
  } else if (document.all) {
   fdiv = document.all[f].style;
   tdiv = document.all[t].style;
  }
  if (fdiv && tdiv) {
   fdiv.visibility = 'hidden';
   tdiv.visibility = 'visible';
  }
}
</script>


Then paste the following "Inside Body Tag" (via Notepad), click OK.


onload="swap('pleaseWait','mainContent');"


And on the page, draw a textbox in a suitable position, and with the cursor flashing inside,
press CTRL +T then paste the following into the box that pops up


<div id="pleaseWait" style="position:absolute;visibility:visible;">
 Please wait …fetching images …</div>
<div id="mainContent" style="position:absolute;visibility:hidden;"></div>




.: inserted code :.


Publish to the server to test.


Home    
Web Site Design »   
© Copyright  2003 - 2010