Viser ikke baggrund.
Hej, jeg har et problem med mit script. Den viser ikke baggrunden: baggrund.gifScriptet:
<body background="baggrund.gif">
<STYLE type="text/css">
<!--
BODY {
scrollbar-face-color: #27539A;
scrollbar-highlight-color: #1;
scrollbar-3dlight-color: #1;
scrollbar-darkshadow-color: #1;
scrollbar-shadow-color: #000000;
scrollbar-arrow-color: #000000;
scrollbar-track-color: #1;
}
-->
</STYLE>
<style>
<!--
a:link{color: #FFFFFF;text-decoration: none;}
a:visited{color: #FFFFFF;text-decoration: none;}
a:active{color: #000000;text-decoration: underline;}
a:hover{color: #000000;text-decoration: none;}
-->
</style>
<script>
var dayNames = new Array("Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag");
var monthNames = new
Array("Januar","Debruar","Marts","April","Maj","Juni","Juli","August ","September","Oktober","November","December");
var nu = new Date();
var aar = nu.getYear();
var maaned = nu.getMonth();
var dag = nu.getDay();
var dato = nu.getDate();
var time = ((nu.getHours()< 10) ? "0" : " ") + nu.getHours();
var minut = ((nu.getMinutes()< 10) ? ":0" : ":") + nu.getMinutes();
var sekund = ((nu.getSeconds()< 10) ? ":0" : ":") + nu.getSeconds();
var aar = nu.getYear();
if (aar< 1900)
aar+=1900;
// Start statuslinie
var timerID = null;
var timerRunning = false;
function tid ()
{
var nu = new Date();
var time = ((nu.getHours()< 10) ? "0" : " ") + nu.getHours();
var minut = ((nu.getMinutes()< 10) ? ":0" : ":") + nu.getMinutes();
var sekund = ((nu.getSeconds()< 10) ? ":0" : ":") + nu.getSeconds();
var datoStreng=(" "
+ dayNames[dag]
+ " d. "
+ dato
+ ". "
+ monthNames[maaned]
+ " "
+ ""
+ aar
+ " "
+ time
+ minut
+ sekund
);
window.status=datoStreng;
timerID = setTimeout("tid()",1000);
timerRunning = true;
}
// Slut statuslinie
// Start tekstfelt
function visKlokken() {
var nu = new Date();
var time = nu.getHours();
var minut = nu.getMinutes();
var sekund = nu.getSeconds();
var klokken = ((time< 10) ? "0" : "") + time;
klokken += ((minut< 10) ? ":0" : ":") + minut;
klokken += ((sekund< 10) ? ":0" : ":") + sekund;
document.Ur.tekstbox.value = klokken;
timerID = setTimeout("visKlokken()", 1000);
}
// Slut tekstfelt
</script>
<html>
<head>
<meta http-equiv="Content-Language" content="da">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>SkySkraber.dk - ...ikke kun en chat.</title>
</head>
<body background="baggrund.gif" leftmargin=0 topmargin=0 rightmargin=0 bottommargin=0 style="font-family: Verdana; font-size: 10px; color: #FFFFFF; text-align:center">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="722" id="AutoNumber1" background="Chat_Baggrund.gif" height="100%">
<tr>
<td width="100%" height="100%" valign="top" style="border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1">
<table cellspacing=1 border=0 width="676" height="566" style="border-collapse: collapse; font-family:Verdana; font-size:10px" bordercolor="#111111">
<tr>
<td colspan=2 align="right" width="676" height="1"></td>
</tr>
<tr>
<td width="488" height="484" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" id="AutoNumber4" height="22">
<tr>
<td width="100%" height="19">
<p align="center"><font size="2">|<a href="/">Startside</a>|-|<a href="/">Nyheder</a>|-|<a href="/">Login</a>|-|<a href="/">Hjælp</a>|-|<a href="/">Debat</a>|-|<a href="/">Kontakt</a>|</font></td>
</tr>
<tr>
<td width="100%" height="40">
<p align="center">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="50%" id="AutoNumber8" align="center">
<center><tr><center>
<td width="50%" height="50%" align="center"><center>
<p align="center">
<script language="JavaScript">
today = new Date()
if(today.getMinutes() < 10){
pad = "0"}
else
pad = "";
document.write ;if((today.getHours() >=0) && (today.getHours() <=6)){
document.write("<img src='aften.gif'>")
}
if((today.getHours() >=7) && (today.getHours() <=9)){
document.write("<img src='dagslys.gif'>")
}
if((today.getHours() >=10) && (today.getHours() <=16)){
document.write("<img src='dag.gif'>")
}
if((today.getHours() >=17) && (today.getHours() <=19)){
document.write("<img src='solnedgang.gif'>")
}
if((today.getHours() >=20) && (today.getHours() <=23)){
document.write("<img src='aften.gif'>")
}
</script></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="3">
</td>
</tr>
<tr>
<td width="100%" height="16">
</td>
</tr>
<tr>
<td width="100%" height="16"><?
include("tb_info.php");
?></td>
</tr>
</table>
</td>
<td valign="top" align="right" style="padding-right:20px;background-repeat:repeat-x" width="168" height="484">
<p align="center"><center>
<center>
<table border="1" cellpadding="0" cellspacing="0" style="border-width:0; border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5" height="33">
<tr>
<td width="100%" style="border-style: none; border-width: medium" height="14"><center><font face="Verdana" color="#FFFFFF" size="1">
<center><SCRIPT LANGUAGE=JavaScript>
document.write(dayNames[dag]+" den "+dato+". "+monthNames[maaned]+" "+aar);
</SCRIPT>
<a href="java script:addbookmark()">Tilføj til foretrukne</a></td>
</tr>
<tr>
<td width="100%" style="border-style:none; border-width:medium; " height="1">
<b><font size="1">Quick-login:</font></b></td>
</tr>
<tr>
<td width="100%" style="border-left: medium none #111111; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="78">
<p>
</p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber6">
<tr>
<td width="100%" style="border-style: none; border-width: medium">
<font size="1">Brugernavn:</font></td>
</tr>
<tr>
<td width="100%" style="border-left: medium none #111111; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium">
<font size="1">
<input type="text" name="T1" size="20" style="font-family: Verdana; font-size: 10px; border-style: solid; border-width: 1"></font></td>
</tr>
<tr>
<td width="100%" style="border-left: medium none #111111; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium">
<p align="left"><font size="1">Kodeord:</font></td>
</tr>
<tr>
<td width="100%" style="border-left: medium none #111111; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium">
<font size="1">
<input type="password" name="T1" size="20" style="font-family: Verdana; font-size: 10px; border-style: solid; border-width: 1"></font></td>
</tr>
<tr>
<td width="100%" style="border-left: medium none #111111; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber7" height="24">
<tr>
<td width="50%" style="border-style: none; border-width: medium" height="22">
<p align="left">
<input type="submit" value="Login >" name="B1" style="color: #000000; font-family: Verdana; font-size: 10px; border-style: solid; border-width: 1; background-color: #FFFFFF"></td>
<td width="50%" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top: medium none #111111; border-bottom: medium none #111111" height="22">
<p align="left">
<a target="_blank" href="registrer.php">
<input type="submit" value="Opret ny" style="color: #000000; font-family: Verdana; font-size: 10px; border-style: solid; border-width: 1; background-color: #FFFFFF"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" style="border-left: medium none #111111; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="16">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" width="488" height="73" valign="top">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="90%" id="AutoNumber2">
<tr>
<td width="100%" style="border-style: none; border-width: medium">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber3">
<tr>
<td width="33%" style="border-style: none; border-width: medium"><script type="text/javascript" src="http://dk.danban.com/ad/2fa2194c093cc077af0a433b1665b09e">
</script> </td>
<td width="33%" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top: medium none #111111; border-bottom: medium none #111111"><script type="text/javascript" src="http://dk.danban.com/ad/e879260f32aa549b243bc82b482d28ec">
</script> </td>
<td width="34%" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top: medium none #111111; border-bottom: medium none #111111"><script type="text/javascript" src="http://dk.danban.com/ad/e363372db891b70f4709a1c9ddf926af">
</script>
</script> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" style="border-left: medium none #111111; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" valign="top">
<p align="center"><font size="1">© Copyright 2001-2002 ·
<a href="http://www.skyskraber.dk">
SkySkraber.dk</a><br>
Jeff Heimann · </font>
</font>
<font size="1">
<a href="mailto:jeff@skyskraber.dk">
Jeff@SkySkraber.dk</a> · <a href="/">Politik</a></font></td>
</tr>
</table>
</td>
<td width="188" height="73" valign="top">
<center><center>
<center><script language="JavaScript">
<!--
document.write('<a href="http://www.chart.dk/ref.asp?id=45658" target="_blank">');
document.write('<img src="http://cluster.chart.dk/chart.asp?id=45658&style=0&secID=' + Math.random()*10000000 + '&ref=' + escape(document.referrer) + '" border="0">');
document.write('</a>');
//-->
</script>
<noscript>
<a href="http://www.chart.dk/ref.asp?id=45658" target="_blank">
<img src="http://cluster.chart.dk/chart.asp?id=45658&style=0" border="0">
</a></noscript>
<p align="center">
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
