Hmm er ved at blive helt desperat nu - kan virkelig ikke regne ud hvor fejlen ligger.
Prøver at poste hele koden nu - hvis du vil prøve at se hvordan fejlen ser ud så tjek
www.saloonbar.com under gallery...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Copyright Abuu Design 2006, All Rights Reserved - For more information visit
www.abuu.dk --><HTML
xmlns="
http://www.w3.org/1999/xhtml"><HEAD><TITLE>Saloonbar - The hottest bar in the alps</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><LINK
href="Stylessheet/sub.css" type=Text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.2769" name=GENERATOR>
<script language="javascript">
function winopen(vindue){
window.open(vindue,nyt_vindue,'height=600,width=800');
}
</script>
</HEAD>
<BODY class=sub>
<TABLE class=sub>
<TBODY>
<TR>
<TD class=vin colSpan=4> <H3>Gallery -
<% Response.write Request.QueryString("week")%>
</H3>
<table width="100%" border="0">
<%
Mappe = request("week")
Billedesti = "billeder/"& mappe
antalBillederPrSide = 8
antalBillederPrRekke = 4
if Request.QueryString("billede") = "" then
start = request.querystring("start")
if start = "" then start = 0
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFolder(server.mappath(billedeSti))
Set fc = f.Files
For Each billed in fc
arrayBuild = arrayBuild & billed.name & "|"
next
arrayBuild = left(arrayBuild, (len(arrayBuild) - 1))
myArray = Split(arrayBuild, "|")
Antalsider = int(ubound(myarray) / antalBillederPrSide)
antal = 0
for i = start to (start + antalBillederPrSide-1)
if not i > ubound(myarray) then
if antal = 0 then Response.Write "<TR>"
%>
<td width="<%=Int(antalBillederPrRekke/100)%>"><p align="center">
<a href="java script:winopen('<%=billedeSti & "/" & myArray(i)%>');"><img src="<%=billedeSti & "/" & myArray(i)%>" border="0" alt="" WIDTH="116" HEIGHT="82" /></a>
</td>
<%
else
nesteside = 1
end if
antal = antal + 1
if antal = 4 then
Response.Write "</TR>"
antal = 0
end if
next
if antal > 0 then Response.Write "</TR>"
%>
</table>
<center>
<%
if start <> 0 then
response.write "<a href=""?start=" & (start - 6) & "&week=" & mappe&""">Back</a>"
end if
response.write(" ")
if nesteside <> 1 then
response.write "<a href=""?start=" & (start + 6) & "&week="&mappe&""">Next</a>"
end if
%>
</center>
<%
else
'Vis billedet
end if%>
<center>
<a href="
http://www.saloonbar.com/gallery.asp">Choose week number</a>
</center>
<TD class=pic rowSpan=3>
<IMG height=455 alt=""
src="Pictures/right-front.jpg" width=221> </TD></TR>
<TR>
<TD class=four><IMG alt="" src="Pictures/front-general-small-a.jpg" width="163" height="112">
</TD>
<TD class=four><IMG alt="" src="Pictures/front-gallery-small-b.jpg" width="163" height="112">
</TD>
<TD class=four><IMG alt="" src="Pictures/front-gallery-small-c.jpg" width="163" height="112">
</TD>
<TD class=four><IMG alt="" src="Pictures/front-gallery-small-d.jpg" width="163" height="112">
</TD></TR>
<TR>
<TD class=sub colSpan=4><A class=drejs href="
http://www.abuu.dk/">© Abuu
Design 2006</A> </TD></TR></TBODY></TABLE></BODY></HTML>