Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > Forum Scroll Bar
Sri Shaman (Guild Admin) 10/4/2009 1:55 AM EST : Forum Scroll Bar

Sri Shaman
Posts: 135
Posts With Wolves

Is it possible to add a vertical scrolly bar to my forums, mainly the threads? Some get really long and you go aaaaaallllll the way down the page I find it annoying.
TopBottom

Mottie (MVP) 10/4/2009 10:58 AM EST : RE: Forum Scroll Bar
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Hi Sri Shaman!

Are you saying my posts are too long?! *cry*

LOL... Well, you could add this to your CSS, but I don't think it'll work in older versions of IE. Also, you may need to adjust the height a little more, I use the mouse wheel to scroll through threads so it has to scroll through each message before the page will scroll so you'll probably end up using the browser scroll bar to move down... I find it more difficult to use, but that's just me 
<style type="text/css">
.MessageBodyCell1 { height:auto; }
.MessageBodyCell1 > div { max-height:500px; overflow:auto; }
</style>
Oh, add the above to a free form text/HTML type content box on your forum page, or into your custom style sheet without the <style> and </style> surrounding the CSS.
TopBottom

Sri Shaman (Guild Admin) 10/5/2009 2:12 PM EST : RE: Forum Scroll Bar

Sri Shaman
Posts: 135
Posts With Wolves

I've added this to a custom/html box on the forum page and it didn't do anything. Usually I have luck with all your codes and instructions but apparently I am missing something here.

Does it have to be added to CSS too? Since re-designing the page I haven't used any CSS yet.
TopBottom

Mottie (MVP) 10/5/2009 2:42 PM EST : RE: Forum Scroll Bar
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Hi Sri Shaman!

Actually it is working... because it's set to 500px, you won't need to scroll unless the message is very long, like this top post. It'll be invisible until the contents get taller than 500px.
TopBottom

Sri Shaman (Guild Admin) 10/6/2009 4:39 PM EST : RE: Forum Scroll Bar

Sri Shaman
Posts: 135
Posts With Wolves

Yes it was, I'm not sure if I just over looked it or not. Thanks.
TopBottom

Sri Shaman (Guild Admin) 10/6/2009 4:40 PM EST : RE: Forum Scroll Bar

Sri Shaman
Posts: 135
Posts With Wolves

Oh yeah, is there something similar I can add to a content box? Thanks.
TopBottom

Mottie (MVP) 10/6/2009 7:38 PM EST : RE: Forum Scroll Bar
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Hi Sri Shaman!!

I wouldn't recommend adding something like this to a content box.. it'll limit all your content boxes to the same size.

But, if you switched your Content Box HTML to what is in this post, you would be able to individualize which box you can add the scroll.

TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%