[Javascript] SAFARI javascript major problem

Troy III Ajnej trojani2000 at hotmail.com
Wed Jul 9 22:17:27 CDT 2008


Hello once again
Are there guys supporting Safari at all in this list?
 
I've just tried the error alert the old way 
function tellerror(msg, url, linenumber){alert('Error message= '+msg+'\nURL= '+url+'\nLine Number= '+linenumber)return true}window.onerror=tellerror 
Nothing! Plain def... 
FX, IE majors are delivering alertbox with exact error line number etc
(!?Opera is silent also).
Does anybody know what's going on here?
Are they trying to impose on us some new "standard" standards again
and break once again everything achieved this far?
 
? ? ?~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                      Troy III                         progressive art enterprise~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 



> From: trojani2000 at hotmail.com> To: javascript at lists.evolt.org> Date: Wed, 9 Jul 2008 02:14:17 +0000> Subject: [Javascript] SAFARI javascript css problem> > Hello @all> I'm having an unexpected problem with my script in Safari.> It works great with IE and Firefox, it works (sometimes)> in Opera, but that's in relation to Op UI, but completely fails> in Safari. > > The script uses css selectors to read some css rule.> A call to stylesheets collection > loop in through defined selectors> matching the selector,> and reading its required property.> > But Safari doesn't! > > I was allways very good at debuging scripts, but this is something new.> I found that it understands the call: "document.styleSheets"> but it doesn't seem to be the correct answer: > "document.styleSheets" because the result is "0" and it should be at least> 1 or higher.> > Does this mean that it is not able to return styles? And does anybody > happen to know why?> > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Troy III progressive art enterprise~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> _________________________________________________________________> Need to know now? Get instant answers with Windows Live Messenger.> http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_messenger_072008> _______________________________________________> Javascript mailing list> Javascript at lists.evolt.org> http://lists.evolt.org/mailman/listinfo/javascript
_________________________________________________________________
Need to know now? Get instant answers with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_messenger_072008


More information about the Javascript mailing list