Codingjquery got me stumped, again

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  CHYRON (DSMITHHFX)   
 To:  Matt     
40429.4 In reply to 40429.3 
quote:
It'll probably be moving the div to the very last element on the page so it can make sure it appears above all other elements on the page.

I thought z-index took care of that, but I have a poor understanding of how the popup works. I've suggested to the author that instead of moving the popup div, he copies and (on close) destroys the copy, leaving the page in its original state, so we'll see if that's viable.


----
"Some ideas make you dumber the moment you learn of them."
0/0
 Reply   Quote More 

 From:  Matt  
 To:  CHYRON (DSMITHHFX)      
40429.5 In reply to 40429.4 
The problem with z-index is that it is relative. By moving the div so it's a child of the body tag, it will have a relative z-index to elements that are also children of the body tag and not of the body tag's siblings' children.

See http://stackoverflow.com/a/7482870 for a good explanation.

doohicky

0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)   
 To:  Matt     
40429.6 In reply to 40429.5 
I managed to get it working by overrridng the bPopup "append" function (with a handy parameter), and using JQuery clone() and remove().

----
"Some ideas make you dumber the moment you learn of them."
0/0
 Reply   Quote More 

Reply to All    
 

1–6

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats