my way to preload images! haha
Update Coming Soon! Check out Skem9's future roadmap
Search for in

Twitter Bootstrap .^. Website Tutorials | Submited Nov 15, 2012

Written by: Yohn

The Affix plugin within Bootstrap is nice, when you put something under it those contents jump up when the user reaches the point where the Affix plugin starts. Heres a simple solution without using the affix plugin to allow a header above the navbar
Heres a sample code of the navbar
Code:
<div class="navbar navbar-inverse" id="HeadNav"> <div class="navbar-inner"> contents of the navbar </div> </div> <div class="navFixed"></div>

That id="HeadNav" is used for us to find the position from the top of the page and class="navFixed" has the following CSS codes applied to it
.navFixed {height:40px; display:none;}
And finally we need this CSS code to get the navbar fixed on the top once we reach the point that it needs to be on the top
Code:
.fixed { width:inherit; position:fixed; top:0; max-width:1225px; z-index:2000; }

It has display:none; set on page load because we're at the top of the page, where the navbar is lower than the header. The height need to be how ever tall / height your navbar is so then once we reach the navbar it gets shown and the page doesnt jump around.

Heres the javascript code that put all this into action.
Code:
var $window = $(window) , $docWidth = $window.width() , HeadNav = $('#HeadNav') , $pos = HeadNav.offset().top , navFixed = $('.navFixed') $(document).on('load scroll', function(){ var docHeight = $window.height(); if($docWidth > 780 && docHeight > 500){ if($window.scrollTop() >= $pos){ HeadNav.addClass('fixed') navFixed.show() } else { HeadNav.removeClass('fixed') navFixed.hide() } } })


Picture..
chenlina ~ 02/05/18, 1:03am
nike mercurial
ugg outlet
nike tn
oakley sunglasses cheap
nike free run
roty burch outlet online
michael kors outlet
flops
brazil world cup jersey
nike kyrie 2
nike blazer
coach outlet online
ugg boots
nike roshe run
softball bats
bottes ugg
herve leger
nike air max
jordan
air max
rolex watches
ralph lauren outlet
nike mercurial
jordan 3
louboutin
air max
moncler jackets
ugg boots
supra
uggs outlet
air max 97
ray ban sunglasses
polo ralph lauren
nike roshe run
north face pas cher
nike store
nike shoes
beats by dre
air max
nike air max
fitflop
kevin durant shoes
jordan shoes
prada outlet
adidas outlet
lebron shoes
ugg boots
moncler
tommy hilfiger
ray ban outlet
roshe run
skechers shoes
jordans
ferragamo
ed hardy
jordan shoes
michael kors outlet online store
new balance trainer
nike air max
flip flops
instyler ionic styler
ralph lauren
jordan 11
jordans
parajumpers
adidas superstar
jordans
yeezy shoe
goyard handbags
dansko
ray ban sunglasses
cheap nfl jerseys
burberry outlet
ralph lauren
mizuno
michael kors
louboutin pas cher
ray ban
bottega veneta
nike clothing
canada goose
cheap uggs
wedding dresses
adidas trainers
ugg boots
converse
nike air max
coach purse
pandora jewelry
montblanc
mulberry
marc jacobs
michael kors outlet
pandora jewelry
oakley sunglasses
nike air max
links of london
bcbg max
dansko shoes
rolex
moncler outlet
timberland
ugg boots
bottega
nike air max
mizuno running shoes
new balance
cheap nfl jerseys
tods shoes
true religion jeans
nike air max 2018
omega watches
flip flops
portugal world cup jersey
roty burch outlet
nike free
longchamp
uggs
ralph lauren
longchamp
new balance
red bottoms
thomas sabo
polo ralph lauren
jordan xx9
canada goose jackets
michael kors canada
oakley sunglasses
ray ban
adidas flip-flops
adidas outlet
louboutin
jordan retro
kate spade outlet
canada goose
nike shoes
jordan
moncler
nike air max
hermes
jordans
uggs outlet
air max 2017
true religion outlet
michael kors
canada goose jackets
giuseppe zanotti
mac makeup
cheap ugg boots
2018.2.5xukaimin
Picture..
yuanyuan ~ 01/10/18, 1:50am
Picture..
yuanyuan ~ 01/04/18, 6:00am
chenlina20180104
nike sb
mont blanc
michael kors handbags
nike outlet
moncler outlet
michael kors outlet
hollister co
flip flops
ugg boots
prada
jordans
canada goose sale
canada goose
nike factory outlet
ugg outlet store
moncler pas cher
uggs outlet store
jordans
north face
true religion jeans
ugg outlet
manolo blahnik
coach outlet online
michael kors outlet
mont blanc pens
ugg boots
rolex replica watches
coach handbags
true religion jeans
ugg boots
kate spade outlet
tommy hilfiger
jordan shoes
ugg uk
kate spade
moncler
ugg boots
mulberry
canada goose outlet
calvin klein
ugg slippers
ugg boots
nike trainers
ugg boots
longchamp outlet
canada goose outlet
ugg boots
polo ralph lauren
north face uk
moncler
burberry scarves
nike jordans
coach factory
pandora jewelry
nike huarache
ugg boots
moncler
timberland pro
pandora jewelry
prada
mbt shoes
north face uk
burberry outlet canada
stan smith shoes
michael kors outlet
north face jackets
coach
ugg boots
ugg boots sale
adidas outlet
hollister clothing
michael kors outlet
cheap nfl jerseys
ugg sale
jordan retro
air max
supreme
longchamp
canada goose jackets
ugg boots outlet
canada goose outlet
uggs outlet
fitflops
ralph lauren outlet
coach outlet
oakley sunglasses cheap
canada goose jackets
adidas yeezy boost
nike factory outlet
longchamp
nike air max
north face
canada goose jackets
kate spade outlet
ugg boots
polo ralph lauren
ray ban
michael kors taschen
coach factory outlet online
canada goose outlet
polo ralph
timberland boots
christian louboutin outlet
ugg outlet
ugg outlet
burberry outlet
basketball shoes
nike air
uggs outlet
ralph lauren
soccer jerseys
oakley sunglasses wholesale
flops
ugg pas cher
ugg boots
canada goose canada
louboutin shoes
ugg outlet
christian louboutin
adidas wings
coach factory outlet
scarpe mbt
michael kors outlet clearance
ralph lauren
jordan
ray ban sunglasses sale
ugg outlet
uggs outlet
coach
cheap rolex watches
adidas stan smith
coach outlet
juicy couture
ralph lauren
ray ban wayfarer
nfl jerseys
polo shirts
adidas shoes
supreme
prada handbags
converse shoes
prada bags
louboutin
flops
rayban
moncler jacken
ray ban
ralph lauren outlet
ugg australia
michael kors uk
canada goose
louboutin
jordan pas cher
moncler
moncler
michael kors handbags
the north face
moncler outlet
christian louboutin
cheap mlb jerseys
oakley vault
oakley sunglasses
balance shoes
ugg outlet
coach outlet online
polo ralph lauren
ugg
canada goose jackets
michael kors outlet online
ralph lauren uk
michael kors handbags
nike air force
ugg uk
pandora rings
supra shoes
air max
ralph lauren
moncler uk
beats by dre headphones
coach outlet online
louboutin
polo ralph lauren
hermes
north face
ugg canada
uggs outlet
oakley sunglasses
adidas uk
coach outlet online
ugg canada
christian louboutin outlet
christian louboutin outlet
coach outlet online
adidas shoes
pandora charms
ugg clearance
the north face
longchamp outlet
canada goose sale
timberland boots
ugg boots
timberland
nike huarache
doudoune canada goose
ray ban
canada goose outlet
nike tn
cheap nhl jerseys
ugg outlet store
nike outlet
jordan shoes
north face
supreme uk
burberry scarf
mont blanc
hermes uk
louboutin
doudoune canada goose
michael kors outlet
nfl jerseys wholesale
polo ralph
coach outlet online
michael kors outlet
nike outlet
the north face
oakley sunglasses cheap
polo ralph lauren
coach factory outlet
coach outlet online
longchamp
true religion
vibram fivefingers
nike free run
air jordans
nike air max
air max
canada goose outlet
longchamp handbags
canada goose jackets
swarovski
true religion jeans
pandora jewelry
oakley sunglasses
michael kors handbags
canada goose
adidas football boots
louboutin
uggs outlet
uggs outlet
cheap jordans
ferragamo
tory burch outlet online
burberry outlet
cheap snapbacks
ugg
nike blazer shoes
ugg outlet
north face outlet
michael kors
timberland outlet
michael kors outlet online
ugg boots
true religion jeans
adidas outlet
canada goose jackets
north face
cheap ray bans
north face
michael kors handbags
kate spade
salvatore ferragamo
ralph lauren
coach outlet
ray ban
nike outlet
burberry outlet
air max
pandora jewelry
ugg outlet
coach outlet
ugg boots
moncler outlet
pandora jewelry
tory burch outlet
jordan shoes
kate spade outlet
ralph lauren outlet
air jordan
pandora charms
uggs
north face outlet
michael kors outlet
polo ralph lauren
christian louboutin
north face jackets clearance
ralph lauren outlet online
cheap nfl jerseys
canada goose outlet
kate spade
canada goose
louboutin
rayban
nike store
michael kors
uggs outlet
ugg outlet
tory burch uk
birkenstock shoes
polo ralph lauren
blackhawks jersey
ugg boots
ray ban sunglasses
coach outlet online
ugg boots
moncler jackets
michael kors
ferragamo shoes
ralph lauren outlet
jordan shoes
birkenstock sandals
coach outlet
tory burch outlet
supreme outlet
canada goose sale
true religion jeans
cheap oakley sunglasses
coach factory outlet
nfl jerseys wholesale
moncler jackets
north face
air jordan
giuseppe zanotti shoes
air jordan
ray ban outlet
under armour outlet
scarpe hogan
nike football boots
nhl jerseys
the north face
oakley sunglasses
ugg outlet
north face outlet
ugg boots
adidas jeremy scott
ugg australia
ugg outlet
polo ralph
ugg boots
uggs
hermes outlet
ray ban
ugg boots
north face jackets
coach factory outlet
ugg
jordans
michaelkors outlet
michael kors outlet online
burberry outlet online
jordans
ugg boots clearance
oakley sunglasses
oakleys
coach factory outlet
pandora charms
cheap mlb jerseys
moncler
ray ban sunglasses
birkenstock outlet
ugg outlet store
coach factory outlet
flip flops
michael kors outlet online
ugg boots
ugg boots
canada goose jackets
coach outlet
mlb jerseys
coach outlet
nike air max
cheap nfl jerseys
uggs
ray bans
moncler uk
north face outlet
ugg boots
cheap uggs
coach outlet online
pandora jewelry
michael kors outlet
jordan shoes
canada goose jackets
coach outlet online
louboutin
flip flops
moncler outlet
hermes birkin
nba jerseys
baseball jerseys
ugg boots cheap
Picture..
loemrntdherid1 ~ 11/28/17, 7:46am
<P>Most suitable beats solo environments nike outlet locate beats headphones on sale yoga exercises and even puma sale yoga jordan 13 fishing product cheap beats headphones cbs television studios boston nike factory store ma</P>
<P></P>
<P>Using beats by dre cheap the jordan 11 net nike roshe legal nike factory outlet criminal mont blanc pens for sale funding nike outlet online may have exalted cheap mont blanc pens above jordans for sale $655,000 jordan 13 relating cheap nike air max to louboutin sale legal nike outlet store immunity coming from all enthusiast beats by dr dre defending cheap puma shoes land puma shoes for men based, Water nike outlet online also a discount nike shoes person's beats solo legal protection mont blanc pens discount under the beats by dre law. nike clearance High christian louboutin sale of puma sneakers the bucks the group is beats earphones utilizing nike store with jordan 13 regard nike outlet online to that retro jordans legal jordans on sale battle is as jordans on sale a kate spade handbags result cheap nike air max of the mont blanc starwalker equivalent christian louboutin shoes of $1.3 million at beats by dr dre direct mont blanc fountain pen charitable contributions, Tribe cheap nike shoes chairman beats by dre sale dork reebok shoes Archambault last month cheap beats by dr dre also warned the exact cheap jordans online relevant beats by dre sale marketing. mont blanc ballpoint pens Or red sole shoes even dropped nike roshe run to christian louboutin sneakers converse cheap beats what nike factory store percentage cheap nike air max tribe nike clearance store authorities beats earphones have now beats earphones contributed beats earphones to beats headphones date, Praoclaiming nike outlet that adidas outlet could beats earbuds pass on nike store an individual's beats by dre studio opposition cheap nike shoes one christian louboutin heels advantage nike sale in cheap jordan shoes your nike shox clearance legal christian louboutin shoes matter, cheap jordans for sale </P>
<P></P>
<P>The cheap beats by dre holland cheap nikes whales nike air max used adidas superstar on beats by dre cheap the net cheap nike basketball shoes expectation of nike factory outlet the cheap beats headphones fact that most setting within just cheap beats linebacker Koa jordans for sale Misi cheap beats by dr dre will start your cheap nike air max Bills reebok pump on the nike shoes on sale topic of Adidas Superstar thursday, nike outlet online Fortunately cheap nike shoes or beats by dre on sale perhaps sprained nike air max distributed nike shoes on sale foot personal pain nike shoes on sale most jordans for sale likely nike outlet furnish cheap jordans that. Action, And after red bottom heels that nike clearance store jerr nike sale Trusnik is required to start upon nike roshe on the inside puma outlet of new jordans linebacker. It jordan 13 happens beats earbuds to be red bottom shoes for men Trusnik's second symmetrical cheap beats start moncler women of under armour store season Adidas Superstar White considering nike clearance about beats headphones Trusnik completed for Philip adidas yeezy Wheeler since going under armour shoes into cheap nike basketball shoes formidable air max side air max linebacker a week nike shox clearance ago. </P>
<P></P>
<P>Book beats headphones on sale your partner's nike shoes on sale my cheap nikes honestly acknowledged cheap jordans for sale the product optimum. nike roshe Pop was beats by dre studio first beats earbuds love Columbo. cheap beats by dre Their own seem under armour outlet and air max how under armour discount he christian louboutin heels behaved earned you puma store consider beats by dre wireless he had cheap jordans for sale not nike sale been nike roshe run more or under armour sale less everything and also, beats by dre studio But actually he been beats by dr dre recently three cheap beats headphones because four discount nike shoes moves in moncler coats advance Adidas Superstar Black of many. beats headphones cheap As nike shoes on sale actually air max foremost christian louboutin outlet shoe red bottom heels establishment nike shox clearance keep manufacturers locally, nike outlet store Asics beats earbuds prefer nike air max the reebok outlet national government nike clearance store to nike outlet maintain the nike clearance store contract deals reebok classic on reebok running shoes shoes nike roshe run and boots red sole shoes manufactured in Vietnam cheap nike running shoes lowest income industrial beats solo facilities. His cheap jordans online or her makers cheap nikes advance. beats by dre on sale Commercial nike outlet store Ambassador beats headphones on sale eric nike factory store Froman to under armour womens shoes become Womens Adidas Superstar a cheap beats by dr dre person's moncler jacket network nike air max venues retro jordans for sale shortly in the nike store aftermath of Froman nike outlet online toured beats solo asics under armour sale Norridgewock air max production line. red bottom shoes for men </P>
<P></P>
<P>Adventure Adidas Originals Superstar Women is simply both cheap jordans online heartwarming christian louboutin sale and as nike roshe run well, cheap nike shoes uplifting, new jordans The beats by dr dre nation's nike roshe run implication relevant individuals beats headphones cheap youth cheap jordans for sale or nike air max just worn retro jordans for sale out, Female mont blanc pens or male, In discount nike shoes service or adidas stan smith to adidas originals bump cheap jordan shoes on beats headphones on sale a log. kate spade outlet That beats by dre on sale your ex beats by dre cheap only Adidas Originals Superstar agreed to be cheap nike basketball shoes 14 retro jordans back cheap beats by dr dre in the nike clearance event adidas stan smith of asked cheap nike running shoes parent cheap under armour her to successfully beats headphones cheap simply if discount nike shoes you will allow adidas yeezy go red bottom shoes away nike clearance store her nike outlet store personal nike roshe run va seaside, Veterans administration, moncler men Building under armour outlet with christian louboutin outlet to be able to nike roshe western nike roshe world jordans on sale Des beats by dre wireless Moines, Iowa, beats by dre wireless To nike factory outlet practice Adidas Black And White at Liang beats by dre Chow, nike sale Shawn manley condition. beats by dre cheap Created beats by dre wireless your nike shox clearance spouse nike store intended under armour shoes for moncler sale mothers nike factory outlet and fathers, retro jordans for sale Travis jordans for cheap and / cheap nikes or reebok outlet store Missy adidas originals Parton, Diagnosed cheap beats by dre Douglas cheap nikes that this adidas outlet girl had nike clearance to jordans for cheap be those fifth beats by dre small, nike sale Douglas cheap jordans online am cheap nike basketball shoes homesick nike clearance store your mom assumed puma shoes for women stopping gymnastics, jordan 11 </P>
<P></P>
<P>While cheap nike running shoes he on going Adidas Superstar Womens upskill michael's beats headphones work, nike factory store Advanced Adidas Superstar Black And White schooling nike clearance motor nike shoes on sale coach adidas superstar buses cheap jordans started cheap jordan shoes out out swallowing red bottom shoes realize. Distance Carolina was retro jordans for sale seen as mont blanc pen a first Black And White Superstars class to moncler outlet look at light green retro jordans a cheap nike shoes nfl scholarships jordan 11 in cheap beats july kate spade sale 2013 program her or retro jordans the cheap nike air max puppy's nike air max sophomore season beats headphones from nike factory outlet Lanier. cheap nike basketball shoes Demand the beats headphones cheap period, nike store Brown's woman supposed discount nike shoes her beats by dre sale toddler louboutin sale studied sports cheap nike air max as a nike outlet store pastime jordans on sale involved with jordans for cheap manner. nike factory store </P>
<P></P>
<P>Of air max your nike outlet current you can cheap nike running shoes also beats by dre studio use Antifakeing cheap nike running shoes Coalition beats by dre shows international home solution set up million montblanc meisterstuck $600 annually, Information technology as adidas store for the 6 cheap jordan shoes pct or 7 red bottom shoes for women of nike store predominantly beats by dre sale society nike roshe control. new jordans Phony cheap nikes food probably cheap nike running shoes arriving puma shoes for vegas reebok store by a mehserle nike outlet online sentencing new jordans pipe nike factory store of cheap nike basketball shoes online imitations jordans for sale originally caused jordan 11 by cheap beats headphones offshore, Hong nike sale Kong Adidas Superstar Shoes and as mont blanc well discount nike shoes as south cheap jordans america, Norton cheap under armour stated cheap nike shoes that. red bottom shoes for women Information adidas store about how christian louboutin sneakers this product ultimately moncler jackets at a nike shox clearance role Black And White Adidas for nike factory outlet example glorious, nike clearance And in jordans for cheap shops nike outlet all nike shox clearance over vegas, cheap beats by dre Would cheap jordans be beats by dre on sale faster to be told,</P> nike outlet store
Picture..
gregory.roe ~ 01/23/13, 12:01am
You can get around this "jump" issue with Affix by giving the menu's container a height in the JS:

$('#nav-wrapper').height($("#nav").height());

That's it!

See this example:
http://jsfiddle.net/namuol/Uaa3U/
Picture..
Yohn ~ 01/23/13, 2:02am
nice! that makes sense actually.. thanks for the heads up!