Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Kushagra

macrumors newbie
Original poster
Dec 21, 2010
1
0
Hi

I am working on a iPad enhancement. I want a Div to remain on the bottom of the browser window, while other content to move on finger scroll. The LOC not working is:

$('div#myDocking').css({ 'position': 'absolute', 'top': $(window).height() - $('#myDocking').height() document.documentElement.scrollTop 'px' })

Please help resolving the issue.

Thanks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.