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 DEV-Group
 DEV Discussions (General)
 Changing the layout on default.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

joatham
Junior Member

United Kingdom
169 Posts

Posted - 06 October 2003 :  11:43:19  Show Profile  Visit joatham's Homepage
Hi, I've made a slight change to the layout of default.asp, removing the "Topics" and "Posts" columns, and added a (nn posts in nn topics) line to the description of the forum.

That works fine, but I'm having trouble removing the columns in the header. If I remove the "Topics" and "Posts" columns and expand the "Forum" column by adding "colspan=3" to it, the lines which separate the columns vanish.

I've tried all sorts of combinations and can't sort this out, am I overlooking something obvious, or could someone help me out? (See the following pic for details of the behaviour, the icons aren't sthere as I've used a "view source" and saved the file to work on before attempting to hack the asp, so that's not a problem..


Screen when I've removed the columns with the Topics and Posts:-



Screen when I've made the "Forum" column colspan=3



Thanks for any ideas.

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 06 October 2003 :  12:29:14  Show Profile
don't do a colspan="3" unless you did the same thing to the cell where each forum is written.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 06 October 2003 :  13:33:54  Show Profile  Visit D3mon's Homepage
At some point you'll need to wrestle with the sGetColspan(6,5) function. This essentially determines the colspan value depending on the current users status. If your removing one colum from the layout deduct 1 from each value - sGetColspan(6,5) becomes sGetColspan(5,4)


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

joatham
Junior Member

United Kingdom
169 Posts

Posted - 06 October 2003 :  19:53:24  Show Profile  Visit joatham's Homepage
Thanks for the advice - I get the feeling I might have done colspan=2 on the forum description, will check that out when I go to work tomorrow. I'll take a look at the sGetColSpan function too..

It's one of those things where I've been staring at it so long that I lost the plot on where I might be going wrong, hopefully I'll be able to fix it tomorrow, I'll let you know!

Thanks again,

John
Go to Top of Page

joatham
Junior Member

United Kingdom
169 Posts

Posted - 07 October 2003 :  05:28:08  Show Profile  Visit joatham's Homepage
Well, I got closer, but gave up, and persuaded my colleagues that keeping the original layout was a good idea. I decided that it's better not to mess with the code, as it's quite complex - it's one thing changing the static html produced, but I would then need to go through all of the asp code for all the possible combinations.

Thanks for the help though!
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07