Nice, actually that did fix the div sliding issue.  Also, for the
moment (it has been very inconsistent), I haven't been able to
reproduce the crash.

Thanks Ariel!

On Aug 14, 11:49 am, Ariel Flesler <[EMAIL PROTECTED]> wrote:
> Try doing the following replacement on jQuery 1.2.6 (uncompressed)
> Line 1132:
>
> before:                 if( array != null ){
> after  :                if( typeof array != 'undefined' ){
>
> Let me know if it still fails.
> --
> Ariel Fleslerhttp://flesler.blogspot.com/
>
> On Aug 14, 3:19 pm, John Mathews <[EMAIL PROTECTED]> wrote:
>
> > Hopefully this issue will be resolved in 1.2.7.  Until then, I
> > inserted a browser sniff and am now including version 1.2.1 where
> > these issues aren't happening.
>
> > Please email me if someone is able to resolve this issue or if a bug
> > is opened in response to this post.
>
> > On Aug 12, 9:31 am, John Mathews <[EMAIL PROTECTED]> wrote:
>
> > > I tried just including the jQuery library itself and that doesn't seem
> > > to cause the crash.  It is something we are doing with the library.  I
> > > haven't isolated the issue to a few lines of code as of yet.
>
> > > In addtion, I am also seeing an issue around sliding in Safari 2.0.3
> > > as well.  The div that is supposed to be expanding isn't pushing the
> > > div below it down and instead there is a strange overlapping issue.
> > > The issue starts in 1.2.2 (continues to 1.2.6) and works fine in
> > > 1.2.1.  Below is code that should demonstrate the issue without any
> > > styles needed.  Thoughts?
>
> > > <script type="text/javascript" src="/shared-static/scripts/jquery.
> > > 1.2.2.js"></script>
>
> > > <script type='text/javascript'>
>
> > >         $(document).ready(function(){
> > >                 //   Slide the login box up and down
> > >                 $("a#slidein").click(function(){ $
> > > ("div#loginWrap").find("div#loginBox:hidden").slideDown("slow"); $
> > > ("div#loginExpand").hide(); $("div#loginContract").show(); });
> > >                 $("a#slideout").click(function(){ $
> > > ("div#loginWrap").find("div#loginBox:visible").slideUp("slow"); $
> > > ("div#loginContract").hide(); $("div#loginExpand").show(); });
> > >                 $("div#loginContract").hide();
> > >                 $("div#loginBox").hide();
>
> > >                 $("#login").show();
> > >         });
> > > </script>
>
> > > <div id="content" class="clear">
> > >         <div id="left">
> > >                 <div id"asdf">SOME TEST TEXT BLOCK</div>
> > >                 <div id="LoginArea">
> > >                         <div id="login" style="display:none">
> > >                                 <div id="loginExpand" 
> > > class="switchContent">
> > >                                         <a id="slidein" href="##" 
> > > name="slidein"><img src="/shared-static/
> > > images/login/login-expand.gif" alt="Expand Login Section" width="59"
> > > height="17" border="0" /></a>
> > >                                 </div>
> > >                                 <div id="loginContract" style="display: 
> > > none;">
> > >                                         <a id="slideout" href="##" 
> > > name="slideout"><img src="/shared-
> > > static/images/login/login-contract.gif" alt="Close Login Section"
> > > width="59" height="17"  border="0"/></a>
> > >                                 </div>
> > >                                 <div id="loginWrap">
> > >                                         <div id="loginBox" 
> > > style="display:none">
> > >                                                 <p>SOME TEST DATA FILLER 
> > > BLA BLA</p>
> > >                                                 <form name="loginForm" 
> > > id="loginForm"  action="#" method="post">
> > >                                                         <input 
> > > id="loginFormButton" type="image" src="/shared-static/
> > > images/login/login-go.gif" alt="login" onclick="submitLogin();"  />
> > >                                                         <label 
> > > for="loginFormUsername">Username</label><br />
> > >                                                         <input 
> > > type="text" name="username" id="loginFormUsername"
> > > value="" maxlength="80" onkeypress="return
> > > entsub(event,this.form);"><br>
> > >                                                         <label 
> > > for="loginFormPassword">Password</label><br />
> > >                                                         <input 
> > > type="Password" name="password" id="loginFormPassword"
> > > maxlength="12" onkeypress="return entsub(event,this.form);"><br>
> > >                                                         <input 
> > > type="checkbox" id="loginRemember"
> > > name="chk_sharedComputer" value="1" >
> > >                                                         <label 
> > > for="loginRemember"><div id="loginRemember">Remember my
> > > account</div></label>
> > >                                                 </form>
> > >                                                 <div id="loginFooter">
> > >                                                         Forgot username 
> > > or password?
> > >                                                 </div>
> > >                                         </div>
> > >                                 </div>
> > >                         </div>
> > >                 </div>
> > >                 <div id"asdf">SOME TEST TEXT BLOCK</div>
> > >         </div>
> > > </div>
>
> > > On Aug 11, 3:19 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote:
>
> > > > Can you provide a test case to reproduce the error ? please try to
> > > > keep it to the minimum js required to trigger the error.
>
> > > > Thanks
> > > > --
> > > > Ariel Fleslerhttp://flesler.blogspot.com/
>
> > > > On 11 ago, 14:08, Jason <[EMAIL PROTECTED]> wrote:
>
> > > > > John... did you get this resolved?  I have been hitting my head up
> > > > > against a wall trying to figure out what is going on. I am upgarding
> > > > > as well.
>
> > > > > On Aug 8, 8:53 am, Jason <[EMAIL PROTECTED]> wrote:
>
> > > > > > I am having the same issue.  Does anyone have any insight into this?
>
> > > > > > On Aug 7, 2:22 pm, John Mathews <[EMAIL PROTECTED]> wrote:
>
> > > > > > > On Aug 7, 12:09 pm, John Mathews <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > On Aug 6, 8:07 pm, Mike Alsup <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > > > I have made an upgrade from jQuery 1.1.3 to 1.2.6 and 
> > > > > > > > > > everything is
> > > > > > > > > > working great in all browsers except Safari2.0.3.  The 
> > > > > > > > > > strange thing
> > > > > > > > > > is that it seems there are issues at random times.  
> > > > > > > > > > Sometimes you can
> > > > > > > > > > click through a couple pages, sometimes it crashes on load. 
> > > > > > > > > >  This
> > > > > > > > > > could be due to when the document is ready and code that 
> > > > > > > > > > only runs
> > > > > > > > > > under that condition.  When the page does load, even simple 
> > > > > > > > > > things
> > > > > > > > > > like the code shown below are not rendering properly.  The 
> > > > > > > > > > div doesn't
> > > > > > > > > > slide down and push the content below down with it.  
> > > > > > > > > > Instead they have
> > > > > > > > > > some strange overlap issues.  The CSS and jQuery related to 
> > > > > > > > > > the
> > > > > > > > > > function were working before the upgrade.
>
> > > > > > > > > > $("a#slidein").click(function(){
> > > > > > > > > > $("div#loginWrap").find("div#loginBox:hidden").slideDown("slow");
> > > > > > > > > > $("div#loginExpand").hide(); $("div#loginContract").show(); 
> > > > > > > > > > });
>
> > > > > > > > > > Has anyone else had similar issues?
>
> > > > > > > > > What is reported inSafari'serror console?
>
> > > > > > > > Date/Time:      2008-08-07 09:12:38.601 -0700
> > > > > > > > OS Version:     10.4.6 (Build 8I1119)
> > > > > > > > Report Version: 4
>
> > > > > > > > Command:Safari
> > > > > > > > Path:    /Applications/Safari.app/Contents/MacOS/Safari
> > > > > > > > Parent:  WindowServer [55]
>
> > > > > > > > Version:        2.0.3(417.9.2)
> > > > > > > > Build Version:  6
> > > > > > > > Project Name:   WebBrowser
> > > > > > > > Source Version: 4170902
>
> > > > > > > > PID:    511
> > > > > > > > Thread: 0
>
> > > > > > > > Exception:  EXC_BAD_ACCESS (0x0001)
> > > > > > > > Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x000002e5
>
> > > > > > > > Thread 0 Crashed:
> > > > > > > > 0   com.apple.WebCore           0x94fb3670
> > > > > > > > DOM::operator==(DOM::DOMString const&, DOM::DOMString const&) + 
> > > > > > > > 30
> > > > > > > > 1   com.apple.WebCore           0x94fce7be
> > > > > > > > DOM::operator==(DOM::AtomicString const&, DOM::DOMString 
> > > > > > > > const&) + 24
> > > > > > > > 2   com.apple.WebCore           0x9510def2
> > > > > > > > DOM::NodeListImpl::itemById(DOM::DOMString const&) const + 172
> > > > > > > > 3   com.apple.WebCore           0x95173173
> > > > > > > > DOM::NodeList::itemById(DOM::DOMString const&) const + 57
> > > > > > > > 4   com.apple.WebCore           0x9505c12f
> > > > > > > > KJS::DOMNodeList::tryGet(KJS::ExecState*, KJS::Identifier 
> > > > > > > > const&)
> > > > > > > > const + 309
> > > > > > > > 5   com.apple.WebCore           0x94fde86e
> > > > > > > > KJS::DOMObject::get(KJS::ExecState*, KJS::Identifier const&) 
> > > > > > > > const +
> > > > > > > > 58
> > > > > > > > 6   com.apple.JavaScriptCore    0x94e9297e
> > > > > > > > KJS::Reference::getValue(KJS::ExecState*) const + 516
> > > > > > > > 7   com.apple.JavaScriptCore    0x94e925e5
> > > > > > > > KJS::AccessorNode2::evaluate(KJS::ExecState*) + 55
> > > > > > > > 8   com.apple.JavaScriptCore    0x94e989af
> > > > > > > > KJS::BinaryLogicalNode::evaluate(KJS::ExecState*) + 155
> > > > > > > > 9   com.apple.JavaScriptCore    0x94e98941
> > > > > > > > KJS::BinaryLogicalNode::evaluate(KJS::ExecState*) + 45
> > > > > > > > 10  com.apple.JavaScriptCore
>
> ...
>
> read more ยป

Reply via email to