erikv
04-09-2008, 01:40 AM
1) Script Title: chromemenu
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm
3) Describe problem:
When you mouse out of a drop down menu into a text input field, Firefox throws a Permission Denied error for parentNode.
I hacked the contains_firefox function to work around as follows:
contains_firefox:function(a, b) {
try {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
catch(e) {return false;}
},
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm
3) Describe problem:
When you mouse out of a drop down menu into a text input field, Firefox throws a Permission Denied error for parentNode.
I hacked the contains_firefox function to work around as follows:
contains_firefox:function(a, b) {
try {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
catch(e) {return false;}
},