In my current project, I''m using the prototype window class found here: http://prototype-window.xilinus.com/download.html I''ve been using it up to prototype 1.6.0.1 without any problems what so ever. However, after the recent upgrade to 1.6.0.2, I''ve encountered an error in internet explorer 6 & 7. Before I continue, here is the test case: http://sandbox.protopository.com/samples/multi_modal.html Steps to replicate: Click the link "Open a modal window". Error Message: ''style'' is null or not an object (line 2252 prototype.js) Here are my findings thus far: 1. The problem occurs in function _checkIEOverlapping in file window.js 2. For arguments sake, I tried switching the function to be more compliant of new version with no luck: this.element.insert({after: ''<iframe id="'' + this.element.id + ''_iefix" ''+ ''style="display:none;position:absolute;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);" '' + ''src="javascript:false;" frameborder="0" scrolling="no"></ iframe>''}); 3. This error does not occur in firefox (tested by removing the browser check "if" statement in the checkIEOverlapping function). 4. When this error occurs in the getStyle function, the element nodeType is 9. I have contacted the author of this great class, but I''m a little pushed for a deadline... Thanks, Ian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Use trunk version, it works Sorry for not answering berfore but you contact me yesteray at 10pm and I have some contracts to honor before :) On Jan 29, 3:29 pm, itynd...-ue636x8T32g@public.gmane.org wrote:> In my current project, I''m using the prototype window class found > here:http://prototype-window.xilinus.com/download.html > > I''ve been using it up to prototype 1.6.0.1 without any problems what > so ever. However, after the recent upgrade to 1.6.0.2, I''ve > encountered an error in internet explorer 6 & 7. > > Before I continue, here is the test case: > > http://sandbox.protopository.com/samples/multi_modal.html > > Steps to replicate: > > Click the link "Open a modal window". > > Error Message: ''style'' is null or not an object (line 2252 > prototype.js) > > Here are my findings thus far: > > 1. The problem occurs in function _checkIEOverlapping in file > window.js > 2. For arguments sake, I tried switching the function to be more > compliant of new version with no luck: > > this.element.insert({after: ''<iframe id="'' + this.element.id + > ''_iefix" ''+ > ''style="display:none;position:absolute;filter:progid:DXImageTransform.Micro soft.Alpha(opacity=0);" > '' + ''src="javascript:false;" frameborder="0" scrolling="no"></ > iframe>''}); > > 3. This error does not occur in firefox (tested by removing the > browser check "if" statement in the checkIEOverlapping function). > 4. When this error occurs in the getStyle function, the element > nodeType is 9. > > I have contacted the author of this great class, but I''m a little > pushed for a deadline... > > Thanks, > Ian--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
ityndall-ue636x8T32g@public.gmane.org
2008-Jan-29 17:13 UTC
Re: 1.6.0.2 IE Error on Insert
Thanks Seb! Whats the repo address, can''t find it on your site? On Jan 29, 12:05 pm, seb <sgruh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Use trunk version, it works > Sorry for not answering berfore but you contact me yesteray at 10pm > and I have some contracts to honor before :) > > On Jan 29, 3:29 pm, itynd...-ue636x8T32g@public.gmane.org wrote: > > > In my current project, I''m using the prototype window class found > > here:http://prototype-window.xilinus.com/download.html > > > I''ve been using it up to prototype 1.6.0.1 without any problems what > > so ever. However, after the recent upgrade to 1.6.0.2, I''ve > > encountered an error in internet explorer 6 & 7. > > > Before I continue, here is the test case: > > >http://sandbox.protopository.com/samples/multi_modal.html > > > Steps to replicate: > > > Click the link "Open a modal window". > > > Error Message: ''style'' is null or not an object (line 2252 > > prototype.js) > > > Here are my findings thus far: > > > 1. The problem occurs in function _checkIEOverlapping in file > > window.js > > 2. For arguments sake, I tried switching the function to be more > > compliant of new version with no luck: > > > this.element.insert({after: ''<iframe id="'' + this.element.id + > > ''_iefix" ''+ > > ''style="display:none;position:absolute;filter:progid:DXImageTransform.Micro soft.Alpha(opacity=0);" > > '' + ''src="javascript:false;" frameborder="0" scrolling="no"></ > > iframe>''}); > > > 3. This error does not occur in firefox (tested by removing the > > browser check "if" statement in the checkIEOverlapping function). > > 4. When this error occurs in the getStyle function, the element > > nodeType is 9. > > > I have contacted the author of this great class, but I''m a little > > pushed for a deadline... > > > Thanks, > > Ian--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
http://svn.itseb.com/public/pwc/trunk/ On Jan 29, 2008, at 6:13 PM, ityndall-ue636x8T32g@public.gmane.org wrote:> > Thanks Seb! > > Whats the repo address, can''t find it on your site? > > On Jan 29, 12:05 pm, seb <sgruh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Use trunk version, it works >> Sorry for not answering berfore but you contact me yesteray at 10pm >> and I have some contracts to honor before :) >> >> On Jan 29, 3:29 pm, itynd...-ue636x8T32g@public.gmane.org wrote: >> >>> In my current project, I''m using the prototype window class found >>> here:http://prototype-window.xilinus.com/download.html >> >>> I''ve been using it up to prototype 1.6.0.1 without any problems what >>> so ever. However, after the recent upgrade to 1.6.0.2, I''ve >>> encountered an error in internet explorer 6 & 7. >> >>> Before I continue, here is the test case: >> >>> http://sandbox.protopository.com/samples/multi_modal.html >> >>> Steps to replicate: >> >>> Click the link "Open a modal window". >> >>> Error Message: ''style'' is null or not an object (line 2252 >>> prototype.js) >> >>> Here are my findings thus far: >> >>> 1. The problem occurs in function _checkIEOverlapping in file >>> window.js >>> 2. For arguments sake, I tried switching the function to be more >>> compliant of new version with no luck: >> >>> this.element.insert({after: ''<iframe id="'' + this.element.id + >>> ''_iefix" ''+ >>> ''style="display:none;position:absolute;filter:progid:DXImageTransfor >>> m.Micro soft.Alpha(opacity=0);" >>> '' + ''src="javascript:false;" frameborder="0" scrolling="no"></ >>> iframe>''}); >> >>> 3. This error does not occur in firefox (tested by removing the >>> browser check "if" statement in the checkIEOverlapping function). >>> 4. When this error occurs in the getStyle function, the element >>> nodeType is 9. >> >>> I have contacted the author of this great class, but I''m a little >>> pushed for a deadline... >> >>> Thanks, >>> Ian > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
ityndall-ue636x8T32g@public.gmane.org
2008-Jan-29 18:32 UTC
Re: 1.6.0.2 IE Error on Insert
Just checked out the trunk and updated my test case... same result. Any ideas? On Jan 29, 1:02 pm, Sébastien Gruhier <sgruh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> http://svn.itseb.com/public/pwc/trunk/ > On Jan 29, 2008, at 6:13 PM, itynd...-ue636x8T32g@public.gmane.org wrote: > > > > > Thanks Seb! > > > Whats the repo address, can''t find it on your site? > > > On Jan 29, 12:05 pm, seb <sgruh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Use trunk version, it works > >> Sorry for not answering berfore but you contact me yesteray at 10pm > >> and I have some contracts to honor before :) > > >> On Jan 29, 3:29 pm, itynd...-ue636x8T32g@public.gmane.org wrote: > > >>> In my current project, I''m using the prototype window class found > >>> here:http://prototype-window.xilinus.com/download.html > > >>> I''ve been using it up to prototype 1.6.0.1 without any problems what > >>> so ever. However, after the recent upgrade to 1.6.0.2, I''ve > >>> encountered an error in internet explorer 6 & 7. > > >>> Before I continue, here is the test case: > > >>>http://sandbox.protopository.com/samples/multi_modal.html > > >>> Steps to replicate: > > >>> Click the link "Open a modal window". > > >>> Error Message: ''style'' is null or not an object (line 2252 > >>> prototype.js) > > >>> Here are my findings thus far: > > >>> 1. The problem occurs in function _checkIEOverlapping in file > >>> window.js > >>> 2. For arguments sake, I tried switching the function to be more > >>> compliant of new version with no luck: > > >>> this.element.insert({after: ''<iframe id="'' + this.element.id + > >>> ''_iefix" ''+ > >>> ''style="display:none;position:absolute;filter:progid:DXImageTransfor > >>> m.Micro soft.Alpha(opacity=0);" > >>> '' + ''src="javascript:false;" frameborder="0" scrolling="no"></ > >>> iframe>''}); > > >>> 3. This error does not occur in firefox (tested by removing the > >>> browser check "if" statement in the checkIEOverlapping function). > >>> 4. When this error occurs in the getStyle function, the element > >>> nodeType is 9. > > >>> I have contacted the author of this great class, but I''m a little > >>> pushed for a deadline... > > >>> Thanks, > >>> Ian--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Same problem here.. ugrading to 1.6.0.2 on IE6 . When i use the http://svn.itseb.com/public/pwc/trunk/ i only see a 1.5.1.1 of protottype.js in it... Any other hotfixes for this one available ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
ityndall-ue636x8T32g@public.gmane.org
2008-Feb-12 16:08 UTC
Re: 1.6.0.2 IE Error on Insert
zmaj, Temporarily, I''ve been using the latest snapshot before the 1.6.0.2 release as it does not have any problems. You can find the copy I''m using here: http://sandbox.protopository.com/javascripts/prototype.js.1.6.0.1 From what I understand, development of this class for 1.6.0.2 is not going to happen... instead they will be offering prototype ui: http://prototype-ui.com/ I''m not using the prototype ui class b/c of problems with Internet Explorer: http://dev.prototype-ui.com/ticket/7 As soon as the prototype ui is stable enough, I plan to port my project to it. On Feb 12, 9:25 am, zmaj <papic...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Same problem here.. ugrading to 1.6.0.2 on IE6 . > When i use thehttp://svn.itseb.com/public/pwc/trunk/ > i only see a 1.5.1.1 of protottype.js in it... > > Any other hotfixes for this one available ?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
itynd, thanky you for the information i also downgraded to 1.6.0.1 and my problem is gone for the momen. What made me also wonder about 1.6.0.2 is that clonePosition in IE6 within large trees or nvery large nested tables takes up to 15!! sec longer than with 1.6.0.1. I saw the new code for IE offsetParent calculation for absolute elements and think it has somehow to do with this. At the end i avoided clonePosition within large trees by wrinting my own positioning logic. DAMN IE stressed me all day long today . --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---