The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Floating Navbar
Is there a floating navbar option/mod for 4.2.x?
If not, then that would be a request... Cheers.. |
#2
|
||||
|
||||
|
Благодарность от: | ||
DemOnstar |
#3
|
|||
|
|||
It could be easily done by adding "position:fixed" to the parent container div. Depending on the style used, it might require a bit of editing and moving things around though.
|
#4
|
||||
|
||||
Quote:
Although the design is a little over stylized for me, this is what I am looking for. Thank you for the example but is there a link to the source? --------------- Added [DATE]1381810463[/DATE] at [TIME]1381810463[/TIME] --------------- Quote:
Thanks. |
#5
|
|||
|
|||
Futureaudio's suggestion is what I would do. What you may find is that the rest of your page may shift up by the width of the navbar so just bear that in mind
|
#6
|
||||
|
||||
Ok, I am on the right lines. I added this to my additional.css
Code:
.navbar { position: fixed; width: 97.6%; z-index: 1; } Scrolling the page leaves it exactly where it was, but when I scroll to the top of the page, it should stop and then fix itself there... Good fun so far... |
#7
|
||||
|
||||
Quote:
DemOnstar, There is no source. HandMade. Did it myself for my site. Used 1 script and some css code. This can be done for each site will be different execution/ Open the contents and copy the code If you have problems, I will help you. If it does not take much time |
Благодарность от: | ||
DemOnstar |
#8
|
|||
|
|||
You should be able to adjust the vertical placement with "top" attribute. "top: 0" for topmost placement and then add as many pixels to it as need be.
Quote:
|
Благодарность от: | ||
DemOnstar |
#9
|
||||
|
||||
Thank you all for your assistance...
I am getting there bit by bit... --------------- Added [DATE]1381916601[/DATE] at [TIME]1381916601[/TIME] --------------- Not sure which contents you are talking about but you have already helped a great deal by showing me your site...Inspiring.. |
#10
|
||||
|
||||
Same position literally...
The navbar doesn't move, it sits there and everything moves behind it...Ok, now again, it looks a bit weird..It should scroll to the top of the screen and then stop there whilst everything else goes underneath it and away... But alas. it doesn't.. I open the page and all looks as it should, I scroll and the navbar doesn't move but all other content does... I tried the 'top' attribute and it didn't really do much, I just ended up moving the wrapper down.. What is it apart from coding ability that I am missing? Thanks... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|