FONForumBETA
http://www.fonforum.org/ffbeta/

HTML - pomoc u vezi ocitavanja strane
http://www.fonforum.org/ffbeta/viewtopic.php?f=8&t=1102
Stranica 1 od 1

Autoru:  INZAGHI [ 02.03.2003. 01:20:26 ]
Tema posta: 

Da li neko zna kako da podesim da mi se stranica ne ocitava
postepeno, vec da se sadrzaj strane pojavi odjenom.

Autoru:  BugiVugi [ 03.03.2003. 11:33:34 ]
Tema posta: 

Stavi "belu masku" ... neka stoji sve dok se stranica ne ucita. Evo nasao sam skript ...

<style type="text/css">
#divLoadCont{position:absolute; width:100%; height:98%; top:0; left:0; background-color:white; layer-background-color:white; font-family:arial,helvetica; z-index:100}
</style>
===============================================
part 2
===============================================
<script type="text/javascript" language="JavaScript">
//Default browsercheck, added to all scripts!
function checkBrowser(){
this.ver=navigator.appVersion
this.dom=document.getElementById?1:0
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
this.ie4=(document.all && !this.dom)?1:0;
this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
return this
}
bw=new checkBrowser()
//Hides the div
function hideIt(div){
if(bw.bw){
div="divLoadCont"
obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?document[div]:0;
obj.visibility='hidden'
}
}
onload=hideIt;
</script>
============================================================
part 3
============================================================

<script>
//We write the table and the div to hide the content out, so older browsers won't see it
if(bw.bw) document.write('<div id="divLoadCont"><table width="100%" height="95%" align="center" valign="middle"><tr><td width="100%" height="100%" align="center" valign="middle"><h3>Stranica se ucitava....</h3></td></tr></table></div>')
</script>

Autoru:  INZAGHI [ 03.03.2003. 14:18:27 ]
Tema posta: 

E to mi je bas i trebalo.
Hvala ti mnogo.

Stranica 1 od 1 Sva vremena su u UTC + 1 sat
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/