The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Web Design
> JavaScript Development
|
JavaScript ICQ in Netscape 4.05 problem
Discuss JavaScript ICQ in Netscape 4.05 problem in the JavaScript Development forum on Dev Shed. JavaScript ICQ in Netscape 4.05 problem JavaScript Development forum discussing JavaScript and DHTML, AJAX, and issues such as coding cross-browser JavaScript.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

May 26th, 2000, 09:06 PM
|
|
Junior Member
|
|
Join Date: Mar 2000
Posts: 7
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Dear everyone,
I am writing a ICQ like contact organizer with JavaScript+DHTML, i am testing it under many platform, including Linux, Windows95, Windows 98, Windows NT. My Contact Organizer will refresh the contact list(who is online/offline) from the server every 1 minute and redisplay the users in the contact organizer, so the DHTML, CSS part will rewrite from a hidden frame (use JavaScript and PHP3) to contact window everytime. The problem is
how come my Netscape 4.05 on Windows 95 will display page fault run time error after i just let my ICQ contact organizer running there after 10 minute. This is not happen in Netscape 4.72, IE4, IE5. Is it Netscape 4.05 got memory leak problem in JavaScript?
Thank you.
William Ng.
|

June 8th, 2000, 01:20 PM
|
|
Contributing User
|
|
Join Date: May 2000
Posts: 81
Time spent in forums: < 1 sec
Reputation Power: 13
|
|
|
NS 4.05 uses Javascript 1.2
NS 4.06 up & IE5 use javascript 1.3
But since IE4 uses JS 1.2, I can only assume your problem has to do with differences in the DOM.
The IE browser uses a bubble-up approach to event handlers and the DOM where NS uses a route-down approach. P.S. Since the bubble-up approach is adopted by ECMAscript 262, perhaps JS 1.3 handles this differently thus the reason it works in NS 4.06 & up.
My guess without seeing the script, not that I'm master programmer by ANY means, is that you may have either created an object and/or object properties or methods, that you have strung together (ie: Object.prop1.prop2). If prop1 is not defined, NS wills not recognize it in v4.05 and below; even if it recognizes object or prop2. I've seen other people with a similar problem and I think this is what was wrong. Although they never wrote back to verify if that was the case.
I suggest you insure any properties and/or methods you use are valid for the objects you're using and are completely defined for NS.
Russ
|

June 8th, 2000, 08:37 PM
|
|
Junior Member
|
|
Join Date: Mar 2000
Posts: 7
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Dear Russ,
Where can i find the detail different about JavaScript 1.2 and Javascript 1.3?
The javascript: The definitive Guide 3rd edition only talk about up to v1.2.
William Ng.
|

June 9th, 2000, 02:08 AM
|
|
Contributing User
|
|
Join Date: Oct 1999
Posts: 84
Time spent in forums: 5 m 28 sec
Reputation Power: 14
|
|
|

June 13th, 2000, 01:28 AM
|
|
Contributing User
|
|
Join Date: May 2000
Posts: 81
Time spent in forums: < 1 sec
Reputation Power: 13
|
|
The netscape site Spookster recommended is a good one. Also, if you simply type javascript into your search engine, you'll come up with a myriad of sites to view.
Although somewhat expensive, I use Professional Javascript from www.wrox.com I also have the book you mentioned, which is a great book, but this one has 1200 pages of info. P.S. The O'Reilly book is better for beginners and intermediates. The Wrox text is best for intermediates to advanced. Together, they make a great pair.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|