★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum3/HTML/000349.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  JavaScript
  JavaScript ICQ in Netscape 4.05 problem

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   JavaScript ICQ in Netscape 4.05 problem
nnh97
Junior Member
posted May 26, 2000 08:06 PM     Click Here to See the Profile for nnh97   Click Here to Email nnh97     Edit/Delete Message Reply w/Quote
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.

rkmarcks
Member
posted June 08, 2000 12:20 PM     Click Here to See the Profile for rkmarcks   Click Here to Email rkmarcks     Edit/Delete Message Reply w/Quote
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

nnh97
Junior Member
posted June 08, 2000 07:37 PM     Click Here to See the Profile for nnh97   Click Here to Email nnh97     Edit/Delete Message Reply w/Quote
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.

Spookster
Member
posted June 09, 2000 01:08 AM     Click Here to See the Profile for Spookster     Edit/Delete Message Reply w/Quote
You can find all that at Netscape DevEdge Online:
http://developer.netscape.com/docs/manuals/index.html?content=javascript.html

Spookster

rkmarcks
Member
posted June 13, 2000 12:28 AM     Click Here to See the Profile for rkmarcks   Click Here to Email rkmarcks     Edit/Delete Message Reply w/Quote
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.

All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.