Author |
Topic |
Steve D.
Average Member
USA
640 Posts |
Posted - 06 February 2002 : 12:00:48
|
Does anybody know how to put the topic review for multi page threads in a scrollable window? I've seen this on a phpBB forum and thought it was pretty cool
It appears the use
< iframe>< /iframe>
to make a subwindow scrollable, I just don't know where to stick this in the topic.asp page, or if that's even the right page.
<-- Nathan -- I moved this topic here because it contains the secret to making the topic rewview (Thats the topic as it appears unernith the post field on post.asp) independantly scrolling. This has its advantages and disadvantages. Good luck! -->
Edited by - Nathan on 07 February 2002 18:30:19 |
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 06 February 2002 : 18:37:05
|
about line 1022 in post.asp
</table> <table border="0" width="100%" align=center> <iframe> <table border="0" width="100%" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="<% =strTableBorderColor %>">
about line 1120 in post.asp Response.Write " </table>" & vbNewline & _ " </td>" & vbNewline & _ " </tr>" & vbNewline & _ "</table>" & vbNewline & _ "</iframe>" & vbNewline & _ "</font>" & vbNewline
Let me know if that works
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource
Edited by - Nathan on 06 February 2002 18:37:39 |
|
|
Steve D.
Average Member
USA
640 Posts |
Posted - 06 February 2002 : 23:22:23
|
quote:
about line 1022 in post.asp
</table> <table border="0" width="100%" align=center> <iframe> <table border="0" width="100%" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="<% =strTableBorderColor %>">
about line 1120 in post.asp Response.Write " </table>" & vbNewline & _ " </td>" & vbNewline & _ " </tr>" & vbNewline & _ "</table>" & vbNewline & _ "</iframe>" & vbNewline & _ "</font>" & vbNewline
Nope, it doesn't work, hmmm, I'll have to play with it some more.
I get a page can't be displayed error.
|
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 06 February 2002 : 23:34:06
|
Can you give me a link to the page?
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource |
|
|
Steve D.
Average Member
USA
640 Posts |
Posted - 06 February 2002 : 23:37:54
|
quote:
Can you give me a link to the page?
http://www.itsallswing.com/forum
We are just getting things up and running and putting together our wish list of things to change.
|
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 06 February 2002 : 23:43:55
|
Remove the comments, the text in red, that is not corect way of putting the comments
"</iframe>" & vbNewline & _ <%' 1 line Addition of Scrolling window around topic review '
www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 06 February 2002 : 23:47:25
|
It is not wise to put comments in the middle of response.writes either.
This would be the proper way of doing it.
Response.Write " </table>" & vbNewline & _ " </td>" & vbNewline & _ " </tr>" & vbNewline & _ "</table>" '1 line addition for iframe Response.Write "</iframe>" & vbNewline & _ "</font>" & vbNewline
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource |
|
|
Steve D.
Average Member
USA
640 Posts |
Posted - 06 February 2002 : 23:47:38
|
quote:
Remove the comments, the text in red, that is not corect way of putting the comments
"</iframe>" & vbNewline & _ <%' 1 line Addition of Scrolling window around topic review '
I had just noticed that when I got notified of your post.
So now the Frame gets put in, but it's empty. I don't have the SRC field filled in for IFRAME tag.
Any thoughts?
|
|
|
Steve D.
Average Member
USA
640 Posts |
Posted - 06 February 2002 : 23:49:06
|
quote:
It is not wise to put comments in the middle of response.writes either.
This would be the proper way of doing it.
Response.Write " </table>" & vbNewline & _ " </td>" & vbNewline & _ " </tr>" & vbNewline & _ "</table>" '1 line addition for iframe Response.Write "</iframe>" & vbNewline & _ "</font>" & vbNewline
Great tip. Thanks.
|
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 07 February 2002 : 00:00:42
|
Take out <iframe> and put in <div width=100% height="400" style="overflow: scroll;">
and take out </iframe> and put in </div>
That should work. . . in theory. . . for IE 5+ and NS6+
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource |
|
|
Steve D.
Average Member
USA
640 Posts |
Posted - 07 February 2002 : 00:08:31
|
quote:
Take out <iframe> and put in <div width=100% height="400" style="overflow: scroll;">
and take out </iframe> and put in </div>
That should work. . . in theory. . . for IE 5+ and NS6+
I can see the page, but it doesn't have a scroll bar...
|
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 07 February 2002 : 00:35:01
|
Fooey, I think we need to be more explict with the dimentions
<div style="overflow:scroll;width:100%;height:400px;">
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 07 February 2002 : 00:42:04
|
That will work!
www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
|
|
Steve D.
Average Member
USA
640 Posts |
Posted - 07 February 2002 : 00:42:30
|
quote:
Fooey, I think we need to be more explict with the dimentions
<div style="overflow:scroll;width:100%;height:400px;">
I see your Fooey, and raise you one RATS!
At least now we can see where the scrolling page should be, but the Topic review, loads, below the DIV area
|
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 07 February 2002 : 00:56:16
|
Add the statements inred as shown <table border="0" width="100%" align=center> <table border="0" width="100%" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="<% =strTableBorderColor %>"> <table border="0" width="100%" cellspacing="1" cellpadding="4"> <tr> <td bgcolor="<% =strHeadCellColor %>" colspan="2" align="center"><b><font <% =strDefaultFontFace %> size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">T O P I C R E V I E W</font></b></td> </tr> </table> <div style="overflow:scroll;width:100%;height:400px;"> <table border="0" width="100%" cellspacing="1" cellpadding="4">
www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 07 February 2002 : 01:09:54
|
Remove the blue part.
<table border="0" width="100%" align=center> <table border="0" width="100%" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="<% =strTableBorderColor %>"> <table border="0" width="100%" cellspacing="1" cellpadding="4"> <tr> <td bgcolor="<% =strHeadCellColor %>" colspan="2" align="center"><b><font <% =strDefaultFontFace %> size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">T O P I C R E V I E W</font></b></td> </tr> </table> <div style="overflow:scroll;width:100%;height:400px;"> <table border="0" width="100%" cellspacing="1" cellpadding="4">
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource |
|
|
Topic |
|