SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    422
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Jquery Div Popup Mouseover Hover

    http://jsfiddle.net/YMs4q/75/

    In this example when you mouse over the 'Show pop up' text, the div that appears simply pushes all the content down the page.

    I would need the popup div to simply appear above the current content rather than push the content beneath it downwards. It should have absolutely no bearing on any of the content beneath it.

    Can anyone help?

    Thanks

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,716
    Mentioned
    103 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by antonyx View Post
    I would need the popup div to simply appear above the current content rather than push the content beneath it downwards. It should have absolutely no bearing on any of the content beneath it.
    You can use CSS to set the popup to be absolutely positioned, which removes it from the normal flow of the document.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •