Web App | Div positioning

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

  1. Kushagra macrumors newbie

    Joined:
    Dec 21, 2010
    #1
    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!
     
  2. TheyCallMeSaint macrumors regular

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

Share This Page