jQuery: The Write Less, Do More JavaScript Library

jqModal position:relative IE bug

View: New views
3 Messages — Rating Filter:   Alert me  

jqModal position:relative IE bug

by DavidIcreate :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

I set up an example at
http://lukoil.norbertprovoost.be/dev/index.php/jquery/test2

If you use IE6 or IE7 and click on view you will notice the window is
behind the overlay. This is because the window element is inside an
element with the position set to relative. It took me a while to figure
out what was going on but now i hit a wall. Is it possible to attach the
window to the overlay for the time it is shown or is there another solution?

Another thing is noticed is that in IE7 the overlay pushes the content
of the page down. I solved it by using absolute instead of fixed where
the overlay div gets created (line 29, on my page line 79)

--
David Duymelinck
________________
david@...


Re: jqModal position:relative IE bug

by DavidIcreate :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I got arround the relative element by hiding the content of the window
and coping it into a div outside the relative element. It's very
restricted but maybe this is the base of the solution?

http://lukoil.norbertprovoost.be/dev/index.php/jquery/test3



David Duymelinck schreef:

>
> Hello,
>
> I set up an example at
> http://lukoil.norbertprovoost.be/dev/index.php/jquery/test2
>
> If you use IE6 or IE7 and click on view you will notice the window is
> behind the overlay. This is because the window element is inside an
> element with the position set to relative. It took me a while to
> figure out what was going on but now i hit a wall. Is it possible to
> attach the window to the overlay for the time it is shown or is there
> another solution?
>
> Another thing is noticed is that in IE7 the overlay pushes the content
> of the page down. I solved it by using absolute instead of fixed where
> the overlay div gets created (line 29, on my page line 79)
>


--
David Duymelinck
________________
david@...


Re: jqModal position:relative IE bug

by Brice Burgess-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sep 13, 11:12 am, David Duymelinck <da...@...> wrote:
> I got arround the relative element by hiding the content of the window
> and coping it into a div outside the relative element. It's very
> restricted but maybe this is the base of the solution?
>
> http://lukoil.norbertprovoost.be/dev/index.php/jquery/test3

David,

  Later versions of jqModal include a "toTop" method (example 7) to
deal with this issue. See; http://dev.iceburg.net/jquery/jqModal/toTop.html
for further details.

~ Brice