Loading a div with ajax problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Carly Jung
    New Member
    • Aug 2011
    • 2

    #1

    Loading a div with ajax problem

    Hello Everyone,

    I load a div using ajax:
    $("#contentdiv" ).load('MyPage. php');
    This is a "modal" div that shows details related to a picture the user clicks on.
    The clickable pictures form a long list down my page.

    I would like to have this modal div appearing on the position (have the same top value so to speak!!) of the picture that was clicked. Therefore the use does not need to scroll back to his/her picture of interest when the information div is hidden (closed!)

    Any help is very much appreciated.

    Thank you,

    Carly
Working...