jQSlickWrap for Slick Text Wrapping in jQuery

We all know how to use a float property to float an image around a block of text. But what if you want to wrap content around an image… you know the actual image content itself not the block it takes up? jQSlickWrap is a plugin for jQuery which enables you to easily and accurately wrap your text around the content of floated images.

Very very simple usage (:

1	$('img').slickWrap();

Example :

01	<html>
02	    <head>
03	        <title>jQSlickWrap Demo 1</title>
04	        <script src="./jquery-1.3.2.min.js" type="text/javascript"></script>
05	        <script src="./jquery.slickwrap.js" type="text/javascript"></script>
06	        <style type="text/css">
07	            .wrapReady {
08	                float: left;
09	            }
10	        </style>
11	        <script type="text/javascript" charset="UTF-8">
12	            $(document).ready(function(){
13	                $('.wrapReady').slickWrap();
14	            });
15	        </script>
16	    </head>
17	    <body>
18	        <img src="./myImage.jpg" class="wrapReady" />
19	        <p>Lots of text goes here..</p>
20	    </body>
21	</html>

http://www.jwf.us/projects/jQSlickWrap/

How to Search Item in List in JavaScript

Multi Step Form Using HTML and JavaScript

Form is the important part in web design. Form is the primary interface to the user by which user is…

How to Create Custom CSS, jQuery Autocomplete Plugin

Web developers often use autocomplete features in websites as a part of their work. Yet lot of good …

How to Make Sticky Sidebar Using jQuery and CSS

Sticky sidebar is an essential part of web development. Not in all cases but for some cases where ou…

Selectors, Animation, and AJAX – jQuery Tutorial And Examples

By now I’m sure you have grasped at least the basics and simplicity of the jQuery library. Now it’s …

s3Slider jQuery Plugin & Tutorial

The s3Slider jQuery plugin is made by example of jd`s smooth slide show script. Usage: HTML: Sample …