JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 26th, 2000, 09:06 PM
nnh97 nnh97 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Posts: 7 nnh97 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to nnh97
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.

Reply With Quote
  #2  
Old June 8th, 2000, 01:20 PM
rkmarcks rkmarcks is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 81 rkmarcks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via AIM to rkmarcks
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

Reply With Quote
  #3  
Old June 8th, 2000, 08:37 PM
nnh97 nnh97 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Posts: 7 nnh97 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to nnh97
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.

Reply With Quote
  #4  
Old June 9th, 2000, 02:08 AM
Spookster Spookster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 1999
Posts: 84 Spookster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
You can find all that at Netscape DevEdge Online:
http://developer.netscape.com/docs/...javascript.html

Spookster

Reply With Quote
  #5  
Old June 13th, 2000, 01:28 AM
rkmarcks rkmarcks is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 81 rkmarcks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via AIM to rkmarcks
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > JavaScript ICQ in Netscape 4.05 problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT