---
title: "Ladnings sida(bild"
type: "forum-thread"
url: "https://www.webforum.nu/amne/html-css/360-ladnings-sida-bild"
topic: "HTML & CSS"
topic_url: "https://www.webforum.nu/amne/html-css"
author: "anton"
published: "2000-07-14T19:47:00.000Z"
updated: "2000-07-15T08:52:00.000Z"
replies: 1
views: 173
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/html-css/360-ladnings-sida-bild"
---

# Ladnings sida(bild

## #1 — anton, 2000-07-14T19:47Z

Är det någon som har någon kod som gör att en bild eller en sida vissas över hela skärmen när en annan sida laddas?
:D

Permalänk: https://www.webforum.nu/p/360

## #2 — Matti, 2000-07-15T08:52Z

Hm..

```
<html>
<head>
	<title>Cross-browser Dynamic HTML Scripts - Loading....</title>
<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>
<script type="text/javascript" language="JavaScript">
/********************************************************************************
Copyright (C) 1999 Thomas Brattli
This script is made by and copyrighted to Thomas Brattli at [url="http://www.bratta.com"]www.bratta.com[/url] 
Visit for more great scripts. This may be used freely as long as this msg is intact!
I will also appriciate any links you could give me.
********************************************************************************/
//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 &#0124; &#0124; this.ie4 &#0124; &#0124; this.ns4 &#0124; &#0124; 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>
</HEAD>
<BODY bgcolor="White">
	<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>Loading Page....</h3></td></tr></table></div>')
	</script>

YOUR REGULAR BODY CONTENT GOES IN HERE
</BODY>
</HTML>
```

Permalänk: https://www.webforum.nu/p/194096

---

Tråden på webben: https://www.webforum.nu/amne/html-css/360-ladnings-sida-bild
