⬆️ ⬇️

Great plugin to check the layout

There are many ways to test the layout. Most of them were described in articles or comments habr. I did not find any references to this method.



XPrecise






The utility is developed by the xhtmlized team.

Compatible with all browsers, because it connects as a jQuery plugin.

')

Installation and Setup


To test the layout, you need to connect jQuery, and then XPrecise



<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script src="_xprecise/xprecise.min.js"></script> 




Then you export your design in .jpg image corresponding to the name of the page and put in the _xprecise_images folder.

If you have a different type or file name, you can replace it during the testing process.



Demo

Download



PS Unfortunately the latest version of jQuery with which it is compatible is 1.7.1. I haven’t managed to port to the latter yet, I will be glad if someone helps.

Source: https://habr.com/ru/post/152115/



All Articles