Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Scrolling Topic Review Mod
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Steve D.
Average Member

USA
640 Posts

Posted - 06 February 2002 :  12:00:48  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
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  Show Profile  Visit Nathan's Homepage
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
Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 06 February 2002 :  23:22:23  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
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.

Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 06 February 2002 :  23:34:06  Show Profile  Visit Nathan's Homepage
Can you give me a link to the page?

 Nathan Bales - Romans 15:13
---------------------------------

Snitz Exchange | Mod Resource
Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 06 February 2002 :  23:37:54  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
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.

Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 06 February 2002 :  23:43:55  Show Profile
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.
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 06 February 2002 :  23:47:25  Show Profile  Visit Nathan's Homepage
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
Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 06 February 2002 :  23:47:38  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
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?

Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 06 February 2002 :  23:49:06  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
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.

Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 07 February 2002 :  00:00:42  Show Profile  Visit Nathan's Homepage
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
Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 07 February 2002 :  00:08:31  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
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...

Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 07 February 2002 :  00:35:01  Show Profile  Visit Nathan's Homepage
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
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 07 February 2002 :  00:42:04  Show Profile
That will work!

www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 07 February 2002 :  00:42:30  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
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

Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 07 February 2002 :  00:56:16  Show Profile
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.
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 07 February 2002 :  01:09:54  Show Profile  Visit Nathan's Homepage
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
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07