1) Script Title: Drop down/ Overlapping Content
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...lapcontent.htm
3) Describe problem: I have this script installed and it's working well on FF, but on IE, I get this error:
Line: 116
Error: 'null' is null or not an object
I applied the fix as indicated on this forum post: http://www.dynamicdrive.com/forums/s...Content+script
By doing this...
Old code:
Code:114 init:function(anchorid, pos, glidetime, revealbehavior){ 115 var anchorobj=document.getElementById(anchorid) 116 var subobj=document.getElementById(anchorobj.getAttribute("rel")) 117 var subobjsource=anchorobj.getAttribute("rev") 118 if (subobjsource!=null && subobjsource!="") 119 this.ajaxconnect(subobjsource, anchorobj.getAttribute("rel")) 120 subobj.dropposition=pos.split("-") 121 subobj.glidetime=glidetime || 1000 122 subobj.style.left=subobj.style.top=0
New code:
But I'm still getting the error.Code:114 init:function(anchorid, pos, glidetime, revealbehavior){ 115 var anchorobj=document.getElementById(anchorid) 116 var subobj=document.getElementById(anchorobj.getAttribute("rel")) 117 if (!anchorobj || !subobj) 118 return 119 var subobjsource=anchorobj.getAttribute("rev") 120 if (subobjsource!=null && subobjsource!="") 121 this.ajaxconnect(subobjsource, anchorobj.getAttribute("rel")) 122 subobj.dropposition=pos.split("-") 123 subobj.glidetime=glidetime || 1000 124 subobj.style.left=subobj.style.top=0



Reply With Quote

Bookmarks