Welcome, Guest. Please login or register.

Author Topic: AWeb and IBrowse Javascript implementation info needed  (Read 1717 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline futaura

Re: AWeb and IBrowse Javascript implementation info needed
« on: February 22, 2010, 08:28:04 PM »
I still visit this site too :).

IBrowse's core JS engine is up to JavaScript 1.6 standard, but the window and document objects are a separate entity from the core functions/objects.  The completeness of the window, document and other browser-side objects are mostly Netscape 4 standard, although some limited support for newer functions was added such as document.getElementById for example.  The main limitations come from the DOM implementation, which is relatively restrictive in that you can't modify much of an existing HTML except for the images.  If you need to know anything specific, just ask - unfortunately there isn't a list of supported functions available.

I can't speak for AWeb except IBrowse generally supports more JavaScript :D.
 

Offline futaura

Re: AWeb and IBrowse Javascript implementation info needed
« Reply #1 on: February 27, 2010, 01:10:39 PM »
Basically, just document.getElementById() and document.getElementsByTagName().  However, these are both limited to returning elements that are accessable in the DOM as of NS4, which is generally all elements that are accessable also using document.elementname, document.forms.elementname, etc.  From memory, that means all form elements, images and links.  For example, you can't access things like
elements, tables, or anything else.