Home » , , , , , , » Automatically Refresh Web Pages with CSSrefresh.js

Automatically Refresh Web Pages with CSSrefresh.js


According to their description: CSSrefresh is a small, unobstructive javascript file that monitors the CSS-files included in your webpage. As soon as you save a CSS-file, the changes are directly implemented, without having to refresh your browser.

How to use 

Adding CSSrefresh to your site takes just 5 seconds. Follow up the instructions below to add CSSrefresh on your website or blog.

Note: Make sure that you add CSS file before the javascript file. CSS files added after the javascript won’t be refreshed automatically.

<head>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript" src="js/cssrefresh.js"></script>
</head>
 
After inserting the code, drag and drop the bookmarklet 
(from CSSrefesh page) to the bookmark bar. 
I have tested it with all the major web browsers and it works well. 
Share this article :

0 comments:

Post a Comment

 
Support : Femin Collection | Habitat Design | Kreatifa Media
Copyright © 2013. Kreatifa Media - All Rights Reserved
Template Created by Habitat Design Published by Kreatifa Media
Proudly powered by Blogger