nåe, det er nok fordi der bliver brugt stylesheets til at styre de forskellige sektioner af siden.
Den kode jeg sider og arbejder med ser således ud:
---------
<html>
<SCRIPT type=text/javascript>
function noenter() {
return !(window.event && window.event.keyCode == 13); }
</SCRIPT>
<SCRIPT type=text/javascript>
function captureData(){
formObj = document.loginform;
GaveID = formObj.GaveID.value;
if (GaveID==null || GaveID=="")
{
alert("Husk at skrive dit Gave ID.");
location.href='login.htm';
}
else if (GaveID==1001)
{
window.location = '/shop/external/images/bookingsider/limousine.htm ';
}
else if (GaveID==1002)
{
window.location = '/shop/external/images/bookingsider/hummer.htm';
}
else if (GaveID==1003)
{
window.location = '/shop/external/images/bookingsider/helikopterproeveflyvning.htm';
}
else if (GaveID==1004)
{
window.location = '/shop/external/images/bookingsider/helikoptersightseeing.htm';
}
else if (GaveID==10041)
{
window.location = '/shop/external/images/bookingsider/helikoptersightseeing-aarhus.htm';
}
else if (GaveID==10042)
{
window.location = '/shop/external/images/bookingsider/helikoptersightseeing.htm';
}
else if (GaveID==1005)
{
window.location = '/shop/external/images/bookingsider/prvedyk.htm';
}
else if (GaveID==1007)
{
window.location = '/shop/external/images/bookingsider/kunstflyvning.htm';
}
else if (GaveID==1008)
{
window.location = '/shop/external/images/bookingsider/ubaad.htm';
}
else if (GaveID==10082)
{
window.location = '/shop/external/images/bookingsider/ubaad.htm';
}
else if (GaveID==1009)
{
window.location = '/shop/external/images/bookingsider/havkajak.htm';
}
else if (GaveID==1010)
{
window.location = '/shop/external/images/bookingsider/flysimulator.htm';
}
else if (GaveID==1011)
{
window.location = '/shop/external/images/bookingsider/rundflyvning for 3.htm';
}
else if (GaveID==1012)
{
window.location = '/shop/external/images/bookingsider/rundflyvning for 5.htm';
}
else if (GaveID==1013)
{
window.location = '/shop/external/images/bookingsider/pilot for en dag.htm';
}
else if (GaveID==1016)
{
window.location = '/shop/external/images/bookingsider/faldskaermsolo.htm';
}
else if (GaveID==1017)
{
window.location = '/shop/external/images/bookingsider/faldskaermtandem.htm';
}
else if (GaveID==1018)
{
window.location = '/shop/external/images/bookingsider/flysimulator.htm';
}
else if (GaveID==1019)
{
window.location = '/shop/external/images/bookingsider/Privat sejlads.htm';
}
else if (GaveID==1021)
{
window.location = '/shop/external/images/bookingsider/Lej en racer.htm';
}
else if (GaveID==1022)
{
window.location = '/shop/external/images/bookingsider/Indoorski.htm';
}
else if (GaveID==1023)
{
window.location = '/shop/external/images/bookingsider/Matchrace.htm';
}
else if (GaveID==2001)
{
window.location = '/shop/external/images/bookingsider/spaophold-kvinder.htm';
}
else if (GaveID==2002)
{
window.location = '/shop/external/images/bookingsider/spaophold-maend.htm';
}
else if (GaveID==2003)
{
window.location = '/shop/external/images/bookingsider/nimat-hovedbundsmassage.htm';
}
else if (GaveID==2004)
{
window.location = '/shop/external/images/bookingsider/nimat-kropsmassage.htm';
}
else if (GaveID==2005)
{
window.location = '/shop/external/images/bookingsider/salsa.htm';
}
else if (GaveID==2007)
{
window.location = '/shop/external/images/bookingsider/dgi-shiatsu massage og kurbad[1].htm';
}
else if (GaveID==2008)
{
window.location = '/shop/external/images/bookingsider/dgi-drhauschka.htm';
}
else if (GaveID==2009)
{
window.location = '/shop/external/images/bookingsider/dgi-indpakning[1].htm';
}
else if (GaveID==2010)
{
window.location = '/shop/external/images/bookingsider/dgi-massage[1].htm';
}
else if (GaveID==2011)
{
window.location = '/shop/external/images/bookingsider/chokolademassage.htm';
}
else if (GaveID==2012)
{
window.location = '/shop/external/images/bookingsider/hot stone massage.htm';
}
else if (GaveID==2013)
{
window.location = '/shop/external/images/bookingsider/romantisk spa oplevelse for 2.htm';
}
else if (GaveID==2014)
{
window.location = '/shop/external/images/bookingsider/Make up .htm';
}
else if (GaveID==2015)
{
window.location = '/shop/external/images/bookingsider/floatation.htm';
}
else if (GaveID==2016)
{
window.location = '/shop/external/images/bookingsider/floatation og massage for 1 person.htm';
}
else if (GaveID==2017)
{
window.location = '/shop/external/images/bookingsider/Shiseido.htm';
}
else if (GaveID==20161)
{
window.location = '/shop/external/images/bookingsider/floatation og massage for 1 person.htm';
}
else if (GaveID==20162)
{
window.location = '/shop/external/images/bookingsider/floatation og massage for 2 personer.htm';
}
else if (GaveID==3001)
{
window.location = '/shop/external/images/bookingsider/Romantisk gourmet middag for 2.htm';
}
else if (GaveID==30011)
{
window.location = '/shop/external/images/bookingsider/Gastronomi for 2.htm';
}
else if (GaveID==3002)
{
window.location = '/shop/external/images/bookingsider/kommandanten.htm';
}
else if (GaveID==3003)
{
window.location = '/shop/external/images/bookingsider/olbrygning.htm';
}
else if (GaveID==3004)
{
window.location = '/shop/external/images/bookingsider/sushikursus.htm';
}
else if (GaveID==3009)
{
window.location = '/shop/external/images/bookingsider/MR.htm';
}
else if (GaveID==3010)
{
window.location = '/shop/external/images/bookingsider/Rent a Chef.htm';
}
else if (GaveID==4001)
{
window.location = '/shop/external/images/bookingsider/formel1.htm';
}
else if (GaveID==4002)
{
window.location = '/shop/external/images/bookingsider/formel1.htm';
}
else if (GaveID==4003)
{
window.location = '/shop/external/images/bookingsider/formel1.htm';
}
else if (GaveID==4004)
{
window.location = '/shop/external/images/bookingsider/mig29.htm';
}
else if (GaveID==4005)
{
window.location = '/shop/external/images/bookingsider/mig25.htm';
}
else if (GaveID==4006)
{
window.location = '/shop/external/images/bookingsider/ishotel.htm';
}
else if (GaveID==4009)
{
window.location = '/shop/external/images/bookingsider/formel1.htm';
}
else if (GaveID==5001)
{
window.location = '/shop/external/images/bookingsider/Feng Shui.htm';
}
else if (GaveID==5002)
{
window.location = '/shop/external/images/bookingsider/indretning.htm';
}
else if (GaveID==5005)
{
window.location = '/shop/external/images/bookingsider/Fotosession med Sif.htm';
}
else if (GaveID==5007)
{
window.location = '/shop/external/images/bookingsider/Introduktion.htm';
}
else if (GaveID==5008)
{
window.location = '/shop/external/images/bookingsider/Udvidet introduktion til golf.htm';
}
else if (GaveID==50091)
{
window.location = '/shop/external/images/bookingsider/Latin dans for 2 - kbh.htm';
}
else if (GaveID==50092)
{
window.location = '/shop/external/images/bookingsider/Latin dans for 2 - aalborg.htm';
}
else if (GaveID==50101)
{
window.location = '/shop/external/images/bookingsider/Standard Dans for 2 - kbh.htm';
}
else if (GaveID==50102)
{
window.location = '/shop/external/images/bookingsider/Standard Dans for 2 - aalborg.htm';
}
else if (GaveID==6002)
{
window.location = '/shop/external/images/bookingsider/rally.htm';
}
else if (GaveID==6001)
{
window.location = '/shop/external/images/bookingsider/sturup.htm';
}
else if (GaveID!=null && GaveID!="")
{
alert(GaveID + " er ikke et gyldigt Gave ID. Måske har du tastet forkert.");
location.href='login.htm';
}
}
</SCRIPT>
</HEAD>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<FORM name=loginform method=post>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<TBODY>
<TR>
<TD width="15" rowspan="3"> </TD>
<td width="635px" height="25" colspan="2" background="/images/prodcolor.bmp"><h1>Login</h1></td>
</TR>
<TR>
<TD height="10" colspan="2"> </TD>
</TR>
<TR>
<TD width="5"></TD>
<TD><H2>Indtast dit Gave ID:</H2>
<TABLE width=300 border=0>
<TBODY>
<TR>
<TD width="61"><INPUT onKeyPress="return noenter()" size=3 name=GaveID>
</TD>
<TD width="229"><input type="image" name="button" src="
http://1128631.shop10.dandomain.dk/images/design/knp_login.gif" width="56" height="20" onClick=captureData();>
</TD>
</TR>
</TBODY>
</TABLE>
<p><a href="java script:history.go(-1)" class="txtlink">Tilbage</a></p></TD>
</TR>
<SCRIPT language=javascript>
document.loginform.GaveID.focus();
</SCRIPT>
</TABLE></FORM>
</BODY></HTML>