Pixel-Perfect Text Wrapping - jQSlickWrap

Pixel-Perfect Text Wrapping - jQSlickWrap
File Size: 16.2 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

jQSlickWrap is a jQuery Plugin that allows you to easily and accurately wrap your text around the content of floated images.

Basic Usage:

1. Include jQuery library and jQSlickWrap.js

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> 
<script src="jquery.slickwrap.js"></script>

2. Markup

<div class="container"> 
<img class="wrapReady" src="escalator.png" />
<p>...</p>
</div>

3. Css

<style type="text/css">
.wrapReady { float: left; margin: 10px; }
</style>

4. Call the plugin

<script type="text/javascript">
      $(document).ready(function(){
          $('.wrapReady').slickWrap();
      });
</script>

This awesome jQuery plugin is developed by unknown. For more Advanced Usages, please check the demo page or visit the official website.