Javascript Question
Javascript Question
Out of context: Reply #3
- Started
- Last post
- 3 Responses
- BabySnakes0
with jQuery something like this,
///////////
var newHeight = //your value
var endValue = // some value you know when the footer's scrollTop() will equal when you are at the bottom of the page.$(window).scroll(function () {
if($('#footer').scrollTop() >= endValue )
{
$('#footer').css('height', newHeight);
}
});- not tested but should put you on the right trackBabySnakes