vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2007, 01:51 PM
NBSFlak NBSFlak is offline
Junior Member
 
Join Date: Oct 2005
Posts: 18
Default Adding a scrollbar to a Module

For our recent Posts module, I'd like to have it scrolling so it takes up less room. I can't for the life of me figure out how to do it. I know for an iframe its:

Code:
style="overflow:auto;height:250px;width:100%
but I don't know where to do it if there isn't an iframe. Can anyone help? I did search the forums and didn't find a lot about scrollbars.
Reply With Quote
  #2  
Old 04-27-2007, 05:46 PM
Decipher Decipher is offline
Addicted to PHP
 
Join Date: Feb 2006
Posts: 62
Default Re: Adding a scrollbar to a Module

the above code is not for an iframe. There is a specific html tag that defines an iframe, that displays another page within the frame.
But the code u posted is exactly what u looking for, and shows the same as an iframe.

You simply need to add it to an block level element for the scrolling to work.
EG:
Code:
<div style="overflow:auto;height:250px;width:100%"> <!-- The content you want to scroll goes within this division layer --> </div>
scrollbar will only appear once content is larger than specified height.
Hope this helps
__________________
My Setup:
www.audiofx.co.za
Reply With Quote
  #3  
Old 05-30-2007, 03:20 PM
NBSFlak NBSFlak is offline
Junior Member
 
Join Date: Oct 2005
Posts: 18
Default Re: Adding a scrollbar to a Module

Sorry it took me so long to get back. Thank you very much, this worked perfectly!
Reply With Quote
  #4  
Old 09-11-2009, 10:37 PM
dbirosel dbirosel is offline
Junior Member
 
Join Date: Feb 2007
Posts: 21
Default

I'm confused with this...If your adding a scroll bar to a module, where exactly in the module do you add this code in?
Reply With Quote
  #5  
Old 09-12-2009, 09:51 AM
Chimpie's Avatar
Chimpie Chimpie is offline
Senior Member
 
Join Date: May 2008
Location: Sarasota, Florida
Posts: 302
Default

Quote:
Originally Posted by dbirosel View Post
I'm confused with this...If your adding a scroll bar to a module, where exactly in the module do you add this code in?
In the Module Content box.
__________________
CHIMPIE | SKYWARN

"I have found Chimpie to be very professional, knowledgeable, prompt, and reasonably priced."
"I would not hesitate to utilize his services again in the future, and I highly recommend him."
Reply With Quote
  #6  
Old 09-13-2009, 02:53 PM
dbirosel dbirosel is offline
Junior Member
 
Join Date: Feb 2007
Posts: 21
Default

Exactly where though?
Reply With Quote
  #7  
Old 09-13-2009, 03:18 PM
Chimpie's Avatar
Chimpie Chimpie is offline
Senior Member
 
Join Date: May 2008
Location: Sarasota, Florida
Posts: 302
Default

This is my guess because I haven't done it, but....

Put this code as the first line...
Code:
<div style="overflow:auto;height:250px;width:100%">
Then put your in your module content.

Then end the code with this...
Code:
</div>
Now your module will have a scroll bar if it exceeds 250 px high.
__________________
CHIMPIE | SKYWARN

"I have found Chimpie to be very professional, knowledgeable, prompt, and reasonably priced."
"I would not hesitate to utilize his services again in the future, and I highly recommend him."
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a second nav module? redalibi "How Do I..." Questions 2 04-05-2007 03:25 PM
Adding Module chrislive Troubleshooting / "How do I..." Questions 3 10-20-2005 03:35 PM
Adding Module ´ÀÉ`SÌLVÉR´ÀÉ` Troubleshooting / "How do I..." Questions 4 03-25-2005 04:21 PM
Adding the Forum as a Module gilbert Troubleshooting / "How do I..." Questions 7 01-02-2005 10:51 AM
Help with adding new module Nameless Troubleshooting / "How do I..." Questions 7 12-15-2004 06:52 PM


All times are GMT -4. The time now is 07:00 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.