Updating the innerHTML of the 'preview-coverflow' erases the reflections of the covers
.
The covers lose their reflections when I update the innerHTML of the 'preview-coverflow'. I wonder if there is any way around this?
I have disabled the reflections for now due to this error.
The reflection is rendered by a third party plug-in, so integration may not be perfect. Do you have a jsfiddle (or similar) to demonstrate the problem and give me a target to aim for?
The offending code, which breaks reflection is pasted below, basically I simply modify innerHTML of the preview-coverflow:
function receivedMessage(message)
{
var obj = JSON.parse(message);
if(obj.type == "context"){
var globalFeed = document.getElementById("preview-coverflow");
globalFeed.innerHTML = globalFeed.innerHTML + '
'
$('#preview-coverflow').coverflow('refresh');
}
}
globalFeed.innerHTML = globalFeed.innerHTML + 'such-and-such'
breaks reflection.
Sorry accidently clicked close by mistake...