View Full Version : drop down content script

07-18-2008, 07:32 PM
1) Script Title: Drop down/ Overlapping Content script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/overlapcontent.htm

3) Describe problem: Does this script work on Safari (PC version)? The onclick event handler does not appear to open the popup DIVs. Thanks!

07-18-2008, 10:26 PM
Ah yes, there is a slight bug with function show() that apparently only Safari has the decency to acknowledge. To fix it, inside function show(), add to it the part in red:

show:function(anchorobj, subobj, e){
if (!this.isContained(anchorobj, e) || (e && e.type=="click")){