My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 71: Wrong height with Opera
3 people starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Jul 2009


 
Reported by Pierre...@gmail.com, Aug 25, 2008
What steps will reproduce the problem?
1. With a basic nyromodal for photos or new page, the height isn't good
with opera browser.


What is the expected output? What do you see instead?
I expected the same as Firefox 2.x or 3.x

What version of the product are you using? On what operating system?
Windows XP and Opera 9.51 -10081
Windows Vista and Opera 9.50 -10081



 
nyro_opera.jpg
124 KB   View   Download
Aug 26, 2008
#1 jazz....@gmail.com
May be, you have to set height of HTML and BODY elements to 100%?
and valid DOCTYPE element.

HTML, BODY {height: 100%;}
Sep 3, 2008
Project Member #2 william....@gmail.com
see  issue 57 . it might help out.
Sep 14, 2008
#3 Pierre...@gmail.com
It works, thanks

(HTML, BODY {height: 100%;})
Sep 15, 2008
#4 resiste...@gmail.com
I noticed this as well, it seems like it happens when calling from within a div.

Using the suggested workaround in the main page css gives me a unwanted vertical scrollbar but since I'm using 
nM to display a remote page I can set it there and it works with one caveat, I had to step back from 100% as that 
also gave the main page a vertical scrollbar when the modal was showing, 75% worked for my purpose.

Sep 15, 2008
#5 resiste...@gmail.com
OK, this appears to be because of a change Opera made to their 9.5+ browser:

http://www.ericmmartin.com/jquery-browser-issues/

If you cop the patched jquery they use on the test case from the jquery ticket:

http://dev.jquery.com/ticket/3117

And test it with your page and Opera the height now works properly. The modal stretched across the page as 
well so autosizing still isn't perfect but you can set the width within the div (or whatever) and it honors that. At 
some point jquery will be updated and this will be fixed but if that doesn't look like it's happening any time 
soon it might be expedient to patch nyroModal.

Sep 15, 2008
#6 resiste...@gmail.com
OK, last one. :)

As per the ticket if you replace:

$(window).height()

with

document.getElementsByTagName('html')[0].clientHeight

(there are 2 instances) in the nyroModal.js file then Opera works properly without using a prerelease version 
of jquery.

Sep 20, 2008
Project Member #7 nyro...@gmail.com
Sorry about this one, I'm terribly late.
I can't see any error in the project homepage using Opera 9.52 on windows.
Any idea how can I reproduce this bug?
(NB: the page shown by Pierre is actually using an old version of nyroModal)
Sep 23, 2008
#8 resiste...@gmail.com
I just tested it with an unpatched nyromodal.js and it happens in 9.52 on Windows, 
but the issue should resolve itself when jquery updates as it's their bug (or 
Opera's, depending on your point of view). If it really was a nyromodal bug then I'd 
work out a reduced test case for you.

Feb 5, 2009
Project Member #9 nyro...@gmail.com
Does this issue is fixed now with the last jQuery or Opera version?
Feb 16, 2009
Project Member #10 nyro...@gmail.com
any news about this issue?
Jul 16, 2009
Project Member #11 nyro...@gmail.com
(No comment was entered for this change.)
Status: WontFix

Powered by Google Project Hosting