Solved

forcing a scrollbar to appear

Posted on 2011-02-27
2
363 Views
Last Modified: 2012-05-11
hi I have a module for joomla called RokTabs, it takes a number of articles and displays them i a set on one page with tabs to navigate between them. the problem being is that it doesn't have dynamic height. So if one article has more content than another it makes the whole module. as long as the longest article. I'm fine to fix the height and have a scroll bar, however the scroll bar appears briefly then disappears, the area is scrollable but only with a mouse wheel, any ideas how to keep the scroll bar appearing?
/* Light Theme */

.roktabs-wrapper {padding: 0;}
.roktabs-wrapper .light {position: relative;border: 1px solid #DCDCDC;}
.roktabs-wrapper .light .roktabs-container-inner {position:relative; overflow:hidden;}
.roktabs-wrapper .light .roktabs-container-wrapper {clear:both;position: relative; height:570px; overflow-y:auto }
.roktabs-wrapper .light .roktabs-container-wrapper div {float: left;/*width: 450px;*//*width: 220px;*/}
.roktabs-wrapper .light .roktabs-container-wrapper div.wrapper {padding: 14px;width: auto;}
.roktabs-wrapper .light .roktabs-links {overflow: hidden;margin:0;}
.roktabs-wrapper .light .active-arrows .roktabs-links {margin:0 21px;}
.roktabs-wrapper .light .roktabs-links ul {text-align: left;font-weight: bold;list-style-type: none;padding: 0;overflow:hidden;}
.roktabs-wrapper .light .roktabs-links ul.roktabs-top {margin: 0;background: url(tabbg-light.png) 0 0 repeat-x;height: 32px;}
.roktabs-wrapper .light .roktabs-links ul.roktabs-bottom {margin: 0;background: url(tabbg-bottom-light.png) 0 0 repeat-x;height: 32px;}
.roktabs-wrapper .light .roktabs-links ul li {float: left;padding: 0;margin: 0;text-decoration: none;border-right: 1px solid #DCDCDC;border-bottom: none;color: #666;position: relative;height: 31px;line-height: 31px;}
.roktabs-wrapper .light .roktabs-links ul li span {padding: 0 10px;}
.roktabs-wrapper .light .roktabs-links ul li.first {border-left: 0;}
.roktabs-wrapper .light .roktabs-links ul li.active.last {border-right: 1px solid #DCDCDC;}
.roktabs-wrapper .light .roktabs-links ul li.last {border-right: 0;}
.roktabs-wrapper .light .roktabs-links ul li.hover {color: #000;}
.roktabs-wrapper .light .roktabs-links ul.roktabs-top li.active {background: url(tabbg-active-light.png) 0 0 repeat-x;color: #000;height: 31px;border-bottom: 1px solid #fff;}
.roktabs-wrapper .light .roktabs-links ul.roktabs-bottom li.active {background: url(tabbg-active-bottom-light.png) 0 0 repeat-x;color: #000;height: 31px;border-top: 1px solid #fff;margin-top: -1px;}
.roktabs-wrapper .light .roktabs-links ul li.active.first {border-left: 0;}
.roktabs-wrapper .light .roktabs-scroller {position: absolute;bottom: 0;right: 0;height: 32px;}
.roktabs-wrapper .light .arrow-next, .roktabs-wrapper .light .arrow-prev {line-height: 29px;margin: 1px;text-align: center;float: left;cursor: pointer;border: 1px solid #DCDCDC;z-index: 2;width:17px;position:absolute;top:0;height:29px;}
.roktabs-wrapper .light .arrow-next {right:0;background: url(next-light.png) 50% 0 no-repeat;}
.roktabs-wrapper .light .arrow-prev {left:0;background: url(prev-light.png) 50% 0 no-repeat;}
.roktabs-wrapper .light .arrow-next-hover {background-position: 50% -29px;}
.roktabs-wrapper .light .arrow-prev-hover {background-position: 50% -29px;}
.roktabs-wrapper .light .arrow-prev span, .roktabs-wrapper .light .arrow-next span {display: none;}
.roktabs-wrapper .light .roktabs-container-tr, .roktabs-wrapper .light .roktabs-container-inner, .roktabs-wrapper .light .active-arrows {background: #fff;}
.clear {clear: both;}
.roktabs-wrapper .icon-left .tab-icon {vertical-align:middle;margin-right:5px;}
.roktabs-wrapper .icon-right .tab-icon {vertical-align:middle;margin-left:5px;}

Open in new window

0
Comment
Question by:Weezi
2 Comments
 
LVL 16

Accepted Solution

by:
SSupreme earned 500 total points
ID: 35044747
Try this:
.roktabs-wrapper .light .roktabs-container-wrapper {clear:both;position: relative; height:570px; overflow:hidden; }
.roktabs-wrapper .light .roktabs-container-wrapper div {float: left; height:570px;/*width: 450px;*//*width: 220px;*/}
.roktabs-wrapper .light .roktabs-container-wrapper div.wrapper {padding: 14px;width: auto; overflow-y: scroll;}
0
 

Author Closing Comment

by:Weezi
ID: 35045913
Awesome, thank you very much worked fantastically
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now