Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Sticky Top Bar Details »
Sticky Top Bar
Mod Version: 1.00, by bjarne2 (Member) bjarne2 is offline
Developer Last Online: Nov 2016 I like it Show Printable Version Email this Page

vB Version: 4.2.1 Rating: (2 votes - 5.00 average) Installs: 14
Released: 02 May 2013 Last Update: Never Downloads: 0
Not Supported  

I have used the idea and some code from XiTCLUB
This can work in a more simple way and act in the general navbar too.

Template Navbar
*************
as line number 2 paste
<div id="stickyBar">

additional.css
***********

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Width is set to the width you have on the side or 100% (my page is width:1200px
Set the height of the Navbar incl submenu (my page Navbar is height:59px
It is important to add the correct px

Template Headinclude
******************

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To get it to work without notch set height down to the navbar (my page is .top +130; in this file in headinclude)
If you use another jquery version is also okay.
It is important to add the correct px

If you use Google Translate disappear the top of the navbar!!


You can see it in action here, but only with this style

http://www.corvetteworld.dk/forums/forum.php?styleid=7

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Display Enhancements MARCO1 Separate Sticky Threads/Non Sticky Threads Version 2 MARCO1 vBulletin 3.8 Add-ons 15 06 Mar 2011 23:35

  #16  
Old 28 Apr 2014, 12:29
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Not sure what you mean here..


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Mine already looks like that.

I downloaded, added the code to the necessary areas, did some tweaking and all seems well.

I tried to do this myself a while back, didn't succeed.
So now it does the job, well done bjarne2 sir.

Thanks for your effort..
Reply With Quote
  #17  
Old 28 Apr 2014, 14:55
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
I did however find a minor issue.

When a user clicks the arrow icon in a quoted message, the page opens but the top of the message is clipped. i.e. obscured by the navbar.

Otherwise this would work perfectly.
Reply With Quote
  #18  
Old 28 Apr 2014, 15:10
Wedframe Wedframe is offline
 
Join Date: Mar 2013
Look to color of footer... is same as color of navbar without closed div. In some chances is not a problem.
Reply With Quote
  #19  
Old 28 Apr 2014, 15:19
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
I am seeing nothing different.
Perhaps in your style there may well be something different?
Reply With Quote
  #20  
Old 28 Apr 2014, 19:02
Wedframe Wedframe is offline
 
Join Date: Mar 2013
Then I install this mod, i was have default style of vB4.2.2
And without closed div, I was haved color of foot same as stiky navbar(dark-blue). When I add </div>, color of foot staying with default color.
Reply With Quote
  #21  
Old 29 Apr 2014, 02:39
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
I see. I had the same issue with the subnav being dark blue.
I just changed the background colour in additional.css.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #22  
Old 29 Apr 2014, 21:26
Wedframe Wedframe is offline
 
Join Date: Mar 2013
DemOnstar, may be I`m wrong... But my point in this:
Then you add to your postbit template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

you add and open one more div. But if div opened, this div must be closed somewhere below the content.
Normally div look like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thats it.
Reply With Quote
  #23  
Old 30 Apr 2014, 03:23
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
I do not think you are wrong squire, in fact you are correct.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But as I say, it is not affecting me as the thing works just fine.
That is of course except for http://www.vbulletin.org/forum/showp...8&postcount=18 which is my main issue.

Thank you.
Reply With Quote
  #24  
Old 18 Jul 2014, 13:15
ArcadeSyndicate's Avatar
ArcadeSyndicate ArcadeSyndicate is offline
 
Join Date: Oct 2008
works great, thank you
__________________
Reply With Quote
  #25  
Old 21 Feb 2015, 14:41
edgeless edgeless is offline
 
Join Date: Mar 2013
I posted the other day about this modification. I've deleted that post and will attempt to clarify a bit better in this one.

This mod certainly works. But it seems to have some inconsistencies from forum site to forum site. On my forum site the sticky navbar won't correctly re-size with window dimension changes on any of the browsers that I've tested. That is, when the sticky anchor point is set correctly for a maximized window, although it continues to work fine while the window remains maximized, both the sticky anchor point and the width setting for the navbar fail to maintain proper positioning when the browser window is reduced to a smaller size. However, my observations suggests that this problem may be peculiar to my forum site alone... as I've noticed that those position/dimensional properties seem to track reasonably well on certain other vB sites where this mod has been added. There does seem to be a problem with it on the site that bjarne2 posted a link for, though. That is, on Google Chrome the entire navbar scrolls up and stops at its correct anchor point (as it should) and its tabs align properly at the top of the browser window and are accessible (as they should be). But when I view the same page with Firefox, the tabs scroll off screen as if the anchor point has been set much higher. Only the navbar links below remain visible.

And another important concern seems to exist on every forum site using this mod that I've checked. That is, when the navbar correctly sticks where it should, it tends to cover up the top portion of posts that have been called by their respective anchor point URL's. This is the same issue that DemOnstar has pointed out. Simply stated, you can't see the text near the tops of those anchor-positioned posts because the sticky navbar is in the way. A solution may be that some padding can be added to showthread (or somehow) to push the content of those posts down a bit.

Aside from the issues I've mentioned, this would be a great mod that I would otherwise consider using.
Reply With Quote
  #26  
Old 22 Feb 2015, 13:58
OUTL4W OUTL4W is offline
 
Join Date: May 2013
installed...I added the option for members to choose whether to stick/unstick


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 23:56.

Layout Options | Width: Wide Color: