![]() |
Quote:
|
I've watched that page load several times and can see no general method of catching it at just the right stage with any general purpose code. There's just too many things going on with all those modifications.
But .... Here's a little work-around just for your site. Find Code:
listWidth=fetch_object('right').offsetLeft-19-17+1; Code:
if(',50,29,31,41,'.match(/{vb:raw style.styleid}/))listWidth-=34; |
Quote:
|
Duh! I didn't need to figure out that fancy conditional, each style has its own template (It's been a long day)
Just put in Code:
listWidth-=34; |
Quote:
|
Same place as I stated earlier.
|
Installed & nominated :)
***** |
Quote:
Do check back, I'm working on an upgraded version that will work with more styles. The present version will work with most styles but I'm trying to get it more general. |
Erica1977, I think the problem here is your min-width setting. When btech page loads it resizes twice, first for the scrollbar and then again when all the forum content is finished. As far as I know the body min-width + all the padding, borders, outline and margins must add to less than 1024 regardless of how wide the user has the page. You have it set at 980px which is much too wide. I think you could set that as low as 650px. Go to StyleVars > Common > doc-minWidth and try something much smaller, then check if the page has to resize. This should speed page loading and make it a lot cleaner.
The next thing to do is eliminate the resizing for the scrollbar. Practically every vBulletin page is too tall to display on the screen so they all need scrollbars. But as it is now the page loads starting at the top, and when it gets to the bottom of the window it has to stop, put in a scrollbar, resize eveything and proceed to finish the page. It ought to have a scrollbar from the get-go. If you want to fix this for SHOWTHREAD only go to the SHOWTHREAD template and find the body tag and add style="overflow-y:scroll;" inside the tag. But a simpler way to do it for all pages is go to vbulletin.css and in the .body properties add the line overflow-y:scroll;. There is only one page I know of that doesn't need a scrollbar and that's the vBulletin Message page, but who's going to notice an inactive scrollbar there anyway? Once this project is done I'm doing this for all my styles. Now to get rid of the attempts to fix ThreadNav: If changing min-width eliminates the resizing of the page you can get rid of the line I suggested earlier. And if you add the scroll property to vbulletin.css, then in threadnav, go to the line listWidth=fetch_object('right').offsetLeft-19-17+1; and edit out "-17" (And you thought I was just too lazy to do my arithmetic!) |
For some reason any of the updates seen to work at my board. I dont see the navbox
|
All times are GMT. The time now is 11:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|