Hi all
i have included a snapshot of the problem i experience in FireFox and the code responsible for this error.
code (viewcontacts.asp):
<!–#include file=”header.htm”–>
<div id=”breadCrumb”>
<font face=”Verdana, Arial, Helvetica, sans-serif” size=”4″ color=”#FFFFFF”>View Groups</font>
</div>
<%
if session(“username”)=”” then
session(“loginurl”)=”viewgroups.asp”
%>
<!–#include file=”error_footer.htm”–>
<%
response.end
end if
OpenDataBase conn
If Request(“page”) = “” then CurrentPage = 1 Else CurrentPage = CInt(Request(“page”))
alpha=request(“alpha”)
if len(alpha)<>0 then crit=” and groupname like ‘” & alpha & “%’ ” else crit=””
sql=”select * from groups where userid=” & session(“userid”) & crit & ” order by groupname asc”
Set rs = Server.CreateObject(“ADODB.Recordset”)
rs.Open SQL, conn, 1,1
‘on error resume next
if rs.eof<>true then
rs.movefirst
rs.PageSize = NumPerPage
TotalPages = rs.PageCount
rs.AbsolutePage = CurrentPage
end if
if totalpages=”” then totalpages=”1″
%>
<div id=”content”>
<div class=”feature”>
<table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
<TR>
<TD width=”100%” height=”37″>
<p style=”word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0″> etc etc etc
if i remove the lines from “OpenDataBase conn” till “if totalpages=”” then totalpages=”1″ ” then this is displayed just fine in FireFox. The drop down menu is placed just below its hovered item.
fiy, for all the other pages in the site, the drop down bar is displayed correctly
Can you please help me out on how to fix this issue?
thanks in advance,
Foundas
[upl-file uuid=5872d49d-0adb-41f8-bf2e-b161c03d46aa size=69kB]error.JPG