How To Add Filler Content To HTML WebPages Automatically

Normally all these years, we (developers) are used to lorem ipsum for content filler. Sometimes we spend some good time in finding the suitable content filler and edit it for the web page. Now with Fixie.js you can stop worrying about finding the suitable content and start concentrating more on coding.

fixie.js

How Fixie.js works?

Fixie interprets the semantic HTML5 tags and automatically add the suitable content at the right place. Still no convinced? Then take a look at the sample page and view the source code.

<article>
		<h1 class="fixie"></h1>
		<p> Check us out at <a class="fixie"></a>,
			and don't forget to view source.</p>
		<section class="fixie">
			<p></p>
			<img/>
			<ul></ul>
			<p></p>
		</section>
		<h2 class="fixie"></h2>
		<section class="fixie"></section>
	</article>

Link to the sample page

Install Instructions

Add the below code before </body> Do I need jQuery? No, after adding the following code you’re ready to go.

<script type="text/javascript" src="https://raw.github.com/rthprog/fixie/master/fixie_min.js"></script>

One more thing to do. Make sure that you add class="fixie" to see the magic.

May 26, 2012. This entry was posted in Web Resources and tagged . Bookmark the permalink.

We Recommend HostGator Hosting

Bloggermint strongly recommends Hostgator Hosting for all of your web hosting needs. Sign up today for WordPress Hosting at just $4.95/month.

Use coupon code "bloggermint" to get 25% discount on any hosting packages. Get an account with Hostgator now!