Perl Monk, Perl Meditation | |
PerlMonks |
Re^4: Free Nodelet Hack: Nodelets on the leftby pKai (Priest) |
on Nov 09, 2006 at 14:10 UTC ( [id://583108]=note: print w/replies, xml ) | Need Help?? |
I particularly like your++ short functional solution. As for the IE problem… it seems it is more averse to the remove of the original node (also implicite in the original solution with insertBefore.) So here is a workaround for the IE, avoiding the remove by inserting a cloneNode and display:none the original node.
This being a workaround has a shortcoming: The script interferes (aborts) the cloneNode, effectively cutting the nodelet tower under "Free Nodelet" at its base. So the "Free Nodelet" has to be the last (highest number) in your nodelet settings.
Mixed users (FF/IE/...) might use this out of the box, or can use a browser switch as in:
also avoiding the free nodelet cut in non-IE.
In Section
Perl Monks Discussion
|
|