DomAPI Home
DomAPI
Build: 4.5
Topic: Drop Shadow Issue in IE

  Jason Keirstead registered v4 wrote on Tuesday 7/6/10 at 11:11 AM (PST)  
 

I think I found a drop shadow issue in IE.

In shadow.js - the _hideShadow function calls e.shadowElm.style.display = "none"

However, in the constructor domapi.shadow.dropShadow() the Elm is created with doIframeShield:true. This causes an IFrame to be created for IE.

The _hideShadow method only hides the shadow, not the IFrame. I believe the proper fix would be:

domapi.shadow._hideShadow = function(e){e.shadowElm.hide()};

This would cause .hide to be called on the Elm which properly cleans up the IFrame.

Cheers

 
    RSS feed of forum  
You could respond to this post if you were logged in.
DHTML by www.domapi.com