I am pleased to find someone who has been able to get it to work in IE.  It runs perfectly on my machine but I have heard nothing but error responses from those who have tried it.

if you download the code, you will find that it is actually just a few lines of code.

AfroGUI.Object.prototype.invokeEvent=function(type,e) {
    if ((!this.eventListeners || this.eventListeners.length==0) && !this['on'+type]) return; <-- THIS ONE
    if (!e) e=new DynEvent(type,this);
    if (this['on'+type]) this['on'+type](e); <-- THIS ONE
    if (this.eventListeners && this.eventListeners.length!=0) for (var i=0;i<this.eventListeners.length;i++) {
        e.target=this.eventListeners[i].target;
        this.eventListeners[i].handleEvent(type,e);
    };
    if (is.ns4 && is.other && type=='mouseup') {
        e.type='click';
        this.invokeEvent('click',e);
        e.type=type;
    };
    return;
};
 

Richard Bennett wrote:

I see you got it working properly in IE also now.There are a couple of real nice things there, the focus and simple mouse events especially.I'd really like to get those simple events working in the Dynapi, - while being able to use normal event listeners on the same page. Richard
----- Original Message -----
Sent: 13 June, 2001 09:02
Subject: [Dynapi-Help] AfroAPI and Website
 I have just finished putting a bare bones site together for the afroapi.  The url is  http://www.mpember.f2s.com/afroapix/website/

There are a few problems with NS4 / Mozilla at the moment but IE5+ (Win only @ the moment) works fine.

I would be interested to see what people think of the layout / structure of the site and also if they find any problems with any of the examples. (the mor detail, the better).

There are some known problems that I am currently working on but I'll know more about them in the next few days.

The core code should work in NS4 (Mac / Win), IE5+ (Win Only), Mozilla 0.9+ (ALL).  It will not work in NS6, this will remain the case until NS get around to upgrading to the latest mozilla base.

Also, the site is limited at the moment by the webspace I am using.  If anyone out there knows where I can get PHP/MySQL webspace without ads / filetype restrictions, please email me.
--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010

--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010
 

Reply via email to