Fixed navbar
2 posters
Page 1 of 1
Fixed navbar
I am creating a fixed navbar with a position in the middle of the page. I want to create it so when you minimize the browser it does not overlap the body of the page.
I tried using this code
but it seems to be not working. Any suggestions?
I tried using this code
- Code:
$(window).scroll(function(event) {
$("#pun-navlinks").css("margin-left", $("#pun-navlinks").css("margin-left")-$(document).scrollLeft());
});
but it seems to be not working. Any suggestions?
Re: Fixed navbar
yeah I know rideem, I have a css made for it. the jQuery is so it does not move left or right when resizing the window
I had it working one day. But it was a css class that i made, trial basis, then i started to add the widgets, and now since they really dont have a css, I tried using the #left and it just stopped workin...
And after another test it works lol wow i ask questions alot here cuz i get very impatient, then i fix em myself. Sorry rideem my bad. Hey listen base hasn't been on in a few, and my tuts where being reviewed can you get ahold of him, cuz i have three other tuts that implement invision features to phpbb2 and punbb please.
You can lock this, as well as the other two you commented on. this 200seconds till responds is biting me in the [Language]
I had it working one day. But it was a css class that i made, trial basis, then i started to add the widgets, and now since they really dont have a css, I tried using the #left and it just stopped workin...
And after another test it works lol wow i ask questions alot here cuz i get very impatient, then i fix em myself. Sorry rideem my bad. Hey listen base hasn't been on in a few, and my tuts where being reviewed can you get ahold of him, cuz i have three other tuts that implement invision features to phpbb2 and punbb please.
You can lock this, as well as the other two you commented on. this 200seconds till responds is biting me in the [Language]
Re: Fixed navbar
Topic Solved & Locked |
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» position fixed
» #1386 Widget Latest topics stopped working.
» Ticker Banner edit
» Forum Not Showing
» Time zone update
» #1386 Widget Latest topics stopped working.
» Ticker Banner edit
» Forum Not Showing
» Time zone update
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum