Very cool! I love the simplicity of the implementation.
Depending on personal preference, you could simplify further by expressing this.parentNode.nextElementSibling.setAttribute('srcdoc', '…'); as this.nextElementSibling.srcdoc = '…';
(We could even drop the this., but that might be more controversial.)
Latest comments
Supervet! Heel bruikbaar in HTML presentaties :)
Really, really cool! Also, TIL something!
Interesting but also a bit weird. It never reaches the end in my higher browser window. And it starts animating before I start scrolling.
Hoi Krijn, bedankt voor het delen van je CSS Day aantekeningen.
Just catching up on your blog, but definitely not the only one who cares about a nice source. I even wrote about it myself ;)
Ik wil me wel aanmelden
TIL about interest invokers. All these personal experiments remind me of the Good Ol' Days™ of the Web. *tears.gif
This is pretty neat Krijn!
Loving the recent blogs.
Batman asked me to try this out.