Advice on clonePosition and creating a new DOM element.
Paul Ramos
2 posts
|
Hi Christophe, I do have a question though that I thought you might be able to help me with. -Paul
function ieShimFix(elmnt){
var body = document.getElementsByTagName("body")[0];
var ieFixframe = new Element('iframe',{id:'ieFixframe',className:'ieFix',zIndex:'50'});
$(body).appendChild(ieFixframe);
Element.clonePosition(ieFixframe,elmnt);
$('ieFixframe').style.display = "block";
}
|
Christophe P...
28 posts
|
Hey Paul, I’m not so sure I’d like this book’s forums to turn into a forked support forum. The official ML is very good at that, and when I want to spend some time fielding support requests, I go there. So do you, apparently, as you posted that same question there just one hour before you posted here. Our beloved Kangax answered you 30 minutes later, suggesting something: follow up on that. These forums are, from my humble point of view, more about discussing the book itself, its contents, its direction, philosophy, wishlist for future editions, etc. and asking about clarifications on examples or such. As for your question, I would have answered pretty much like Kangax did. Try it out! Best, Christophe |
Paul Ramos
2 posts
|
Sorry for the multi post. I wasn’t sure where I’d get my answer from. I’ll keep my support questions to the official ML , and book edition questions here. :) -Paul |
3 posts, 2 voices
