Bugs item #555520, was opened at 2002-05-13 09:35
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=555520&group_id=5757

Category: DynAPI 2 Browser-Specific
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Chris Peery (cpeery)
Assigned to: Nobody/Anonymous (nobody)
Summary: Permission Denied Error on MAC IE 5.1

Initial Comment:
The problem occurs in the DynLayer's setHTML 
function.  In addition to this error displaying in my 
widget I'm currently writing, I have also recieved the 
error consistently in the dynapi.gui.list widget.  
>From what I can tell the error seems to be only when I 
move from one layer to another, because if I move from 
the layer to the documents background I do not recieve 
the error.  I'm probably a mid-level javascript 
developer, and not having a good enough knowledge of 
the DynAPI's core files I'm really stumped.  One thing 
I did however try that cleared up the problem was 
removing all of the HTML from the string that was 
being passed into the function, this definitely fixed 
the problem but is obviously not an acceptable fix.  
Just thought the experts might have an answer or fix 
for me.  All your help is appreciated. 

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2002-05-21 02:14

Message:
Logged In: NO 

As far as I can see this is caused by setting the 
font color in the mouseout event of the list items:

ListItem.listevents.onmouseout = function (e) {
        var o = e.getSource();
        if (!o.selected && o.isMouseOver) {
                o.setBgColor(o.itemStyle.bgcolor);
                o.setFontColor(o.itemStyle.textNormal);
        }
        o.isMouseOver = false;
};

Change the line
                o.setFontColor(o.itemStyle.textNormal);
to:
                        o.font.color = 
o.itemStyle.textNormal;
and the errors are gone (on Macintosh)


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=555520&group_id=5757

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/

Reply via email to