Web App | Div positioning

Discussion in 'iPad' started by Kushagra, Dec 21, 2010.

  1. Kushagra macrumors newbie

    Dec 21, 2010

    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.

  2. TheyCallMeSaint macrumors regular

    Oct 17, 2010
    I think you should re-post this in the "Programming" forum.

Share This Page