javascript - Jquery sticky footer that adjusts with dynamic content -
i'm using plugin here http://codedumper.com/jquerystickyfooter create sticker footer.
take http://client.astam.co.uk. works expect.
the problem that, example, if error message comes , user clicks remove, or toggled content available footer jump bottom of browser until window resized , sort out.
is there way plugin know re-position itself?
better use $.stickyfooterpos() callback other layout changing functions changing close function in app.js to
function close(){ $(this).attr('href', 'javascript:void(0)'); $(this).parent().fadeout(200,function(){$.stickyfooterpos()}); }
p.s: others suggested, position:fixed far more better choice considering fact number of ie6 users declining... (see http://www.w3schools.com/browsers/browsers_explorer.asp , http://www.w3schools.com/browsers/browsers_stats.asp )
Comments
Post a Comment