JSMITH242B
Programmer
Hi group,
I have a table in one of my ASP pages. When I view it on my machine I can see all the columns, however when it is viewed on a 'console', not all the columns can be seen.
Is there a way whereby any user can resize the table/ maximise the window at their leisure?
The user can minimize and close the window but the maximise button is not enabled.
I've increased the width but no can do!! I was hoping that by setting the border to anything other than 0 will give me 'handles' to resize but the form but it just gives you a thicker border!!
Thanks for your help.
Please see code snippet below.
<style>
a:visited {
COLOR:blue;
}
table.dataSet {
background-color:white;
cellPadding:5;
cellSpacing:2;
font-size:10pt;
}
</style>
The table itself...
<table class="dataSet" cellpadding="0" cellspacing="0" border="0" width="800">
<tr>
<%
'Create Column Headings
dim sortDir
Response.Write("<td align=""center"">#</td>" & vbCrLf)
for each x in objRS.Fields
if x.Name <> primaryKey then
sortDir = dir
if sortBy <> x.Name then
sortDir = "ASC"
else
if dir = "ASC" then
sortDir = "DESC"
else
sortDir = "ASC"
end if
end if
Response.Write("<td><a href=""javascript:navigate('1','" & x.Name & "','" & sortDir & "');""><b>" & x.Name & "</b></a></td>" & vbCrLf)
end if
next
Response.Write("<td></td>" & vbCrLf)
%>
</tr>
<%
'Create Record Rows
for i=1 to objRS.PageSize
if objRS.EOF then exit for
Response.Write("<tr onMouseOver=""highlight(this);"" onMouseOut=""lowlight(this);"">" & vbCrLf & vbTab & "<a href=""javascript:showRecord(" & objRS(primaryKey) & ");""><td align=""center"">" & record + i & "</td>" & vbCrLf)
for each x in objRS.Fields
if x.Name <> primaryKey then
Response.Write(vbTab & "<td>" & trim(x.Value) & "</td>" & vbCrLf)
end if
next
Response.Write(vbTab & "</a><td><input type=""checkbox"" name=""item" & objRS(primaryKey) & """ value=""" & objRS(primaryKey) & """ onclick=""updatePageList(this);""></td>" & vbCrLf & "</tr>" & vbCrLf)
objRS.MoveNext
next
%>
</table>
I have a table in one of my ASP pages. When I view it on my machine I can see all the columns, however when it is viewed on a 'console', not all the columns can be seen.
Is there a way whereby any user can resize the table/ maximise the window at their leisure?
The user can minimize and close the window but the maximise button is not enabled.
I've increased the width but no can do!! I was hoping that by setting the border to anything other than 0 will give me 'handles' to resize but the form but it just gives you a thicker border!!
Thanks for your help.
Please see code snippet below.
<style>
a:visited {
COLOR:blue;
}
table.dataSet {
background-color:white;
cellPadding:5;
cellSpacing:2;
font-size:10pt;
}
</style>
The table itself...
<table class="dataSet" cellpadding="0" cellspacing="0" border="0" width="800">
<tr>
<%
'Create Column Headings
dim sortDir
Response.Write("<td align=""center"">#</td>" & vbCrLf)
for each x in objRS.Fields
if x.Name <> primaryKey then
sortDir = dir
if sortBy <> x.Name then
sortDir = "ASC"
else
if dir = "ASC" then
sortDir = "DESC"
else
sortDir = "ASC"
end if
end if
Response.Write("<td><a href=""javascript:navigate('1','" & x.Name & "','" & sortDir & "');""><b>" & x.Name & "</b></a></td>" & vbCrLf)
end if
next
Response.Write("<td></td>" & vbCrLf)
%>
</tr>
<%
'Create Record Rows
for i=1 to objRS.PageSize
if objRS.EOF then exit for
Response.Write("<tr onMouseOver=""highlight(this);"" onMouseOut=""lowlight(this);"">" & vbCrLf & vbTab & "<a href=""javascript:showRecord(" & objRS(primaryKey) & ");""><td align=""center"">" & record + i & "</td>" & vbCrLf)
for each x in objRS.Fields
if x.Name <> primaryKey then
Response.Write(vbTab & "<td>" & trim(x.Value) & "</td>" & vbCrLf)
end if
next
Response.Write(vbTab & "</a><td><input type=""checkbox"" name=""item" & objRS(primaryKey) & """ value=""" & objRS(primaryKey) & """ onclick=""updatePageList(this);""></td>" & vbCrLf & "</tr>" & vbCrLf)
objRS.MoveNext
next
%>
</table>