Maybe here's another way to attack this. I'm not using CM in this example, but I'm just rolling my own overlay with new Element:
$$('.coverme').invoke('observe','click', function(evt){
var elm = this;
var overlay = new Element('div', {'class': 'overlay'}).clonePosition(elm);
$('PageDiv').insert(overlay);
overlay.observe('click', function(evt){ this.stopObserving().remove(); });
});
.overlay {
background-color: rgba(0,0,0,0.7);
position: absolute;
z-index: 100;
}
Maybe you could use a similar trick to insert the overlay into the page using CM, then warp it into the proper shape/position with clonePosition (Prototype core function).
Walter
>
> --
> You received this message because you are subscribed to the Google Groups "LivePipe UI Users" group.
> To post to this group, send email to
livepipe...@googlegroups.com.
> To unsubscribe from this group, send email to
livepipe-ui-us...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/livepipe-ui-users?hl=en.
>