News for hackers. Stuff that matters.
Re:Fixie.js - Automatic filler content for HTML documents. by rthprog on Thursday May 03, 2012 @07:41AM (#3923322)
Nice suggestion. I made some modifications so this is the new behavior. Child elements are targeted, and content is never overwritten.

``` <div class="fixie"> <p></p> <p>Hello <a></a></p> </div> ``` The above will cause only the first `<p>` tag to be filled, and the `<a>` tag.

In addition, you can now use `fixie.init(["CSS-selector"]);` to target arbitrary tag names, class names, and ids. If the tag in question contains text content, it will not auto-fill it (though it will auto-fill children, if need be).

There are no comments on this comment yet.