<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jiby S K - Web Designer &#187; Css</title>
	<atom:link href="http://www.jibysk.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jibysk.com</link>
	<description>Howdy! I&#039;m Jiby and I&#039;m a web desiner creates attractive, accessible standard compliant websites good at css, html</description>
	<lastBuildDate>Wed, 31 Mar 2010 07:19:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating Peeling Page effect using jQuery and Mootools</title>
		<link>http://www.jibysk.com/2009/11/11/creating-peeling-page-effect-using-jquery-and-mootools/</link>
		<comments>http://www.jibysk.com/2009/11/11/creating-peeling-page-effect-using-jquery-and-mootools/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 11:44:01 +0000</pubDate>
		<dc:creator>Jiby</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Mootools]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.jibysk.com/?p=116</guid>
		<description><![CDATA[Here is some tutorial which helps to create Peeling Page effect. Page peel is an effective way to market products and bring more attention to pages you want visitors to focus on so that they will go for it.

1. Why Peeling Page effect? 
The Peeling Page is an effect is used by advertisers to show [...]]]></description>
			<content:encoded><![CDATA[<p>Here is some tutorial which helps to create Peeling Page effect. Page peel is an effective way to market products and bring more attention to pages you want visitors to focus on so that they will go for it.<br />
<span id="more-116"></span></p>
<h3>1. Why Peeling Page effect? </h3>
<p>The Peeling Page is an effect is used by advertisers to show advertisements. Normally it appears at the top right corner of the page. By this effect advertisement can be shown which would occupy space larger than what is available on a page. </p>
<h3>2. Tutorial site to create Peeling Page Effect &#8211;  jQuery and Mootools</h3>
<p>This tutorial will show you how to create Peeling Page effect using jQuery plug-in.</p>
<p><strong><a href="http://www.sohtanaka.com/web-design/simple-page-peel-effect-with-jquery-css/" target="_blank">Simple Page Peel Effect with jQuery and CSS by Soh Tanaka</a></strong><br />
<a href="http://www.sohtanaka.com/web-design/simple-page-peel-effect-with-jquery-css/" target="_blank"><img src="http://www.jibysk.com/wp-content/uploads/2009/11/pixel-design-studio.jpg" alt="pixel-design-studio" title="pixel-design-studio" width="430" height="150" class="aligncenter size-large wp-image-378" /></a></p>
<p><strong><a href="http://smple.com/2008/12/15/jquery-plugin-page-peel/" target="_blank">Page Peel Effect with jQuery.pagePeel by Simple Multimedia</a></strong><br />
<a href="http://smple.com/2008/12/15/jquery-plugin-page-peel/" target="_blank"><img src="http://www.jibysk.com/wp-content/uploads/2009/11/simple-multimedia.jpg" alt="simple-multimedia" title="simple-multimedia" width="430" height="150" class="aligncenter size-large wp-image-378" /></a></p>
<p>This tutorial will show you how to create a cool Peeling Page effect using Mootools.</p>
<p><strong><a href="http://davidwalsh.name/peel-effect" target="_blank">Page Peel Effect Using MooTools by David Walsh</a></strong><br />
<a href="http://davidwalsh.name/peel-effect" target="_blank"><img src="http://www.jibysk.com/wp-content/uploads/2009/11/david-walsh.jpg" alt="david-walsh" title="david-walsh" width="430" height="150" class="aligncenter size-large wp-image-378" /></a></p>
<p>This tutorial will show you how to create Peeling Page effect using peel.js JavaScript.</p>
<p><strong><a href="http://www.hongkiat.com/blog/create-a-peel-away-effect-on-website-how-to/" target="_blank">Create a Peel Away Effect using JavaScript</a></strong><br />
<a href="http://www.hongkiat.com/blog/create-a-peel-away-effect-on-website-how-to/" target="_blank"><img src="http://www.jibysk.com/wp-content/uploads/2009/11/hongkiat.jpg" alt="hongkiat" title="hongkiat" width="430" height="150" class="aligncenter size-large wp-image-378"/></a></p>
<h3>3. Additional resource to create Peeling Page Effect in Word press</h3>
<p><strong><a href="http://pcandweb.com/tutorials/how-to-create-page-peel-advertisement-wordpress.html" target="_blank">Creating Page Peel Advertisement in Word press</a></strong><br />
<a href="http://pcandweb.com/tutorials/how-to-create-page-peel-advertisement-wordpress.html" target="_blank"><img src="http://www.jibysk.com/wp-content/uploads/2009/11/pcandweb.jpg" alt="pcandweb" title="pcandweb" width="430" height="150" class="aligncenter size-large wp-image-378" /></a></p>
<h3>4. Word press plug-in for Peeling Page Effect in your blog</h3>
<p><strong><a href="http://www.luxiano.com.ar/page-cornr/" target="_blank">Page Cornr</a></strong><br />
<a href="http://www.luxiano.com.ar/page-cornr/" target="_blank"><img src="http://www.jibysk.com/wp-content/uploads/2009/11/PageCornr.jpg" alt="PageCornr" title="PageCornr" width="430" height="150" class="aligncenter size-large wp-image-378" /></a><br />
<a href="http://downloads.wordpress.org/plugin/page-cornr.0.3.6.zip">download plug-in</a></p>
<p><strong><a href="http://www.avramovic.info/lang/en-us/wordpress-plugins/page-peel-wordpress-plugin" target="_blank">Page Peel</a></strong><br />
<a href="http://www.avramovic.info/lang/en-us/wordpress-plugins/page-peel-wordpress-plugin" target="_blank"><img src="http://www.jibysk.com/wp-content/uploads/2009/11/PagePeel.jpg" alt="PagePeel" title="PagePeel" width="430" height="150" class="aligncenter size-large wp-image-378" /></a><br />
<a href="http://downloads.wordpress.org/plugin/page-peel.zip">download plug-in</a></p>
<p><strong><a href="http://herukurniawan.com/2009/11/page-peel-bujanqworks-1-2-wordpress-plugin/" target="_blank">Creating Page Peel Advertisement in Word press</a></strong><br />
<a href="http://herukurniawan.com/2009/11/page-peel-bujanqworks-1-2-wordpress-plugin/" target="_blank"><img src="http://www.jibysk.com/wp-content/uploads/2009/11/BujanQWorkS.jpg" alt="BujanQWorkS" title="BujanQWorkS" width="430" height="150" class="aligncenter size-large wp-image-378" /></a><br />
<a href="http://downloads.wordpress.org/plugin/page-peel-bujanqworks.zip">download plug-in</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jibysk.com/2009/11/11/creating-peeling-page-effect-using-jquery-and-mootools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Collapsible &#8211; Drag and Drop Panels</title>
		<link>http://www.jibysk.com/2009/11/03/creating-collapsible-drag-and-drop-panels/</link>
		<comments>http://www.jibysk.com/2009/11/03/creating-collapsible-drag-and-drop-panels/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 17:21:16 +0000</pubDate>
		<dc:creator>Jiby</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[Inspirations]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Mootools]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.jibysk.com/?p=97</guid>
		<description><![CDATA[Drag and Drop panels are commonly used in home pages of users as well as administrator.  It helps user to control what all the information block to de displayed according to his preference. This type of functionality is often provided by web portals or personal homepage services like iGoogle. wordpress admin page.. etc

In this [...]]]></description>
			<content:encoded><![CDATA[<p>Drag and Drop panels are commonly used in home pages of users as well as administrator.  It helps user to control what all the information block to de displayed according to his preference. This type of functionality is often provided by web portals or personal homepage services like iGoogle. wordpress admin page.. etc<br />
<span id="more-97"></span><br />
In this post I am sharing post written by <a href="http://webdeveloperplus.com/">Web Developer +</a></p>
<h3>How to use?</h3>
<p>Insert the jquery and jQuery UI libraries to the header section of html</p>
<pre class="brush: jscript;">
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery-1.3.2.js&quot; &gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery-ui-1.7.2.custom.min.js&quot; &gt;&lt;/script&gt;
</pre>
<p>The HTML Structure is as follows.<br />
In the example there is two vertical columns defined by div with class=&#8221;column&#8221; that hold our panels. You can increase the number of panels by adjusting the width in the style sheet for .column. Each panel is a div with class=&#8221;dragbox&#8221;. And the content of each panel resides within div<br />
with class=&#8221;dragbox-content&#8221;.</p>
<pre class="brush: xml;">
	&lt;div class=&quot;column&quot; id=&quot;column1&quot;&gt;
		&lt;div class=&quot;dragbox&quot; id=&quot;item1&quot; &gt;
			&lt;h2&gt;Handle 1&lt;/h2&gt;
			&lt;div class=&quot;dragbox-content&quot; &gt;
				&lt;!-- Panel Content Here --&gt;
			&lt;/div&gt;
		&lt;/div&gt;
		&lt;div class=&quot;dragbox&quot; id=&quot;item2&quot; &gt;
			&lt;h2&gt;&lt;span class=&quot;configure&quot; &gt;&lt;a href=&quot;#&quot; &gt;Configure&lt;/a&gt;&lt;/span&gt;Handle 2&lt;/h2&gt;
			&lt;div class=&quot;dragbox-content&quot; &gt;
				&lt;!-- Panel Content Here --&gt;
			&lt;/div&gt;
		&lt;/div&gt;
		&lt;div class=&quot;dragbox&quot; id=&quot;item3&quot; &gt;
			&lt;h2&gt;Handle 3&lt;/h2&gt;
			&lt;div class=&quot;dragbox-content&quot; &gt;
				&lt;!-- Panel Content Here --&gt;
			&lt;/div&gt;
		&lt;/div&gt;
	&lt;/div&gt;
	&lt;div class=&quot;column&quot; id=&quot;column2&quot; &gt;
		&lt;div class=&quot;dragbox&quot; id=&quot;item4&quot; &gt;
			&lt;h2&gt;Handle 4&lt;/h2&gt;
			&lt;div class=&quot;dragbox-content&quot; &gt;
				&lt;!-- Panel Content Here--&gt;
			&lt;/div&gt;
		&lt;/div&gt;
		&lt;div class=&quot;dragbox&quot; id=&quot;item5&quot; &gt;
			&lt;h2&gt;Handle 5&lt;/h2&gt;
			&lt;div class=&quot;dragbox-content&quot; &gt;
				&lt;!--Panel Content Here--&gt;
			&lt;/div&gt;
		&lt;/div&gt;
	&lt;/div&gt;
</pre>
<p>The CSS code</p>
<pre class="brush: css;">
.column{
	width:49%;
	margin-right:.5%;
	min-height:300px;
	background:#fff;
	float:left;
}
.column .dragbox{
	margin:5px 2px  20px;
	background:#fff;
	position:relative;
	border:1px solid #ddd;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}
.column .dragbox h2{
	margin:0;
	font-size:12px;
	padding:5px;
	background:#f0f0f0;
	color:#000;
	border-bottom:1px solid #eee;
	font-family:Verdana;
	cursor:move;
}
.dragbox-content{
	background:#fff;
	min-height:100px; margin:5px;
	font-family:'Lucida Grande', Verdana; font-size:0.8em; line-height:1.5em;
}
.column  .placeholder{
	background: #f0f0f0;
	border:1px dashed #ddd;
}
.dragbox h2.collapse{
	background:#f0f0f0 url('collapse.png') no-repeat top right;
}
.dragbox h2 .configure{
	font-size:11px; font-weight:normal;
	margin-right:30px; float:right;
}
</pre>
<p>The JavaScript Code<br />
This code is to make the boxes dragable and droppable for this we will be using Portables function from jQuery UI library.</p>
<pre class="brush: jscript;">
$('.column').sortable({
    connectWith: '.column',
    handle: 'h2',
    cursor: 'move',
    placeholder: 'placeholder',
    forcePlaceholderSize: true,
    opacity: 0.4,
})
.disableSelection();
</pre>
<p>In this the connectWith lets you move panels across different columns and handle defines the tag which is used to drag the panel. The placeholder parameter is the CSS class to use for the panel placeholder which is displayed when you drag a panel to show the possible position of the dragged panel. forcePlaceholderSize makes sure that placeholder size is equal to the size of the dragged panel and at last opacity sets the opacity of the panel while dragging.<br />
To collapse the content of a panel box when you click on the panel header and show the configure link on panel header on hover, use the below code in jQuery document ready function.</p>
<pre class="brush: jscript;">
$('.dragbox').each(function(){
    $(this).hover(function(){
        $(this).find('h2').addClass('collapse');
    }, function(){
        $(this).find('h2').removeClass('collapse');
    })
    .find('h2').hover(function(){
        $(this).find('.configure').css('visibility', 'visible');
    }, function(){
        $(this).find('.configure').css('visibility', 'hidden');
    })
    .click(function(){
        $(this).siblings('.dragbox-content').toggle();
    })
    .end()
    .find('.configure').css('visibility', 'hidden');
});
</pre>
<p>One thing you’ll notice after adding this code is that when you drag the panel, the content of the panel toggles as when you drag the click event of panel header also fires that toggles the state of content. To fix this, you need to add another parameter to storable so that when drag is finished, state of content does not toggle.</p>
<pre class="brush: jscript;">
$('.column').sortable({
    connectWith: '.column',
    handle: 'h2',
    cursor: 'move',
    placeholder: 'placeholder',
    forcePlaceholderSize: true,
    opacity: 0.4,
    stop: function(event, ui){
        $(ui.item).find('h2').click();
    }
})
.disableSelection();
</pre>
<p>Here I added another parameter stop that defines the function to use when drag is complete. Once the drag is complete, click event of panel header is fired so that the original state of content is restored.</p>
<p>You can view the demo <a href="http://demo.webdeveloperplus.com/drag-drop-panels/" target="_blank">here</a><br />
Download the source file from <a href="http://demo.webdeveloperplus.com/source-code/drag-drop-panels.zip" target="_blank">here.</a></p>
<h2>Some sites that explains Drag and Drop</h2>
<p><strong><a href="http://wil-linssen.com/musings/entry/extending-the-jquery-sortable-with-ajax-mysql/" target="_blank">Wil-linssen</a></strong><br />
<a href="http://wil-linssen.com/musings/entry/extending-the-jquery-sortable-with-ajax-mysql/" target="_blank"><img src="http://www.jibysk.com/wp-content/uploads/2009/11/wil-linssen.jpg" alt="wil-linssen" title="wil-linssen" width="430" height="93" class="aligncenter size-large<br />
wp-image-378" /></a></p>
<p><strong><a href="http://www.brothercake.com/site/resources/scripts/dbx/" target="_blank">Brothercake</a></strong><br />
<a href="http://www.brothercake.com/site/resources/scripts/dbx/" target="_blank"><img src="http://www.jibysk.com/wp-content/uploads/2009/11/brothercake.jpg" alt="brothercake" title="brothercake" width="430" height="150" class="aligncenter size-large wp-image-378" /></a></p>
<p><strong><a href="http://www.snook.ca/archives/javascript/mootools_drag_a/" target="_blank">Snook.ca</a></strong><br />
<a href="http://www.snook.ca/archives/javascript/mootools_drag_a/" target="_blank"><img src="http://www.jibysk.com/wp-content/uploads/2009/11/snook.jpg" alt="snook" title="snook" width="430" height="93" class="aligncenter size-large wp-image-378" /></a></p>
<p><strong><a href="http://blog.cbolson.com/mootools-drag-drop-download/" target="_blank">Chris Bolson </a></strong><br />
<a href="http://blog.cbolson.com/mootools-drag-drop-download/" target="_blank"><img src="http://www.jibysk.com/wp-content/uploads/2009/11/cbolson.jpg" alt="Chris-Bolson " title="Chris-Bolson " width="430" height="93" class="aligncenter size-large wp-image-378" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jibysk.com/2009/11/03/creating-collapsible-drag-and-drop-panels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Styling File Inputs using CSS and jquery</title>
		<link>http://www.jibysk.com/2009/11/02/styling-file-inputs-with-css-and-jquery/</link>
		<comments>http://www.jibysk.com/2009/11/02/styling-file-inputs-with-css-and-jquery/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 06:49:47 +0000</pubDate>
		<dc:creator>Jiby</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.jibysk.com/?p=91</guid>
		<description><![CDATA[Normally browsers do not allow to style file inputs. File Style plug-in shows a solution to fix the problem. This Plug-in uses jquery with css which enables the users to use image as browse button and style filename field as normal text field using CSS.

This Source of this post is from appelsiini
How does it work?
Plug-in [...]]]></description>
			<content:encoded><![CDATA[<p>Normally browsers do not allow to style file inputs. File Style plug-in shows a solution to fix the problem. This Plug-in uses jquery with css which enables the users to use image as browse button and style filename field as normal text field using CSS.<br />
<span id="more-91"></span><br />
This Source of this post is from <a href="http://www.appelsiini.net/projects/filestyle">appelsiini</a></p>
<h3>How does it work?</h3>
<p>Plug-in wraps vanilla file input with div. This div has button as background image. Image button is aligned with file inputs browse button. File input is then hidden by setting opacity to zero. Chosen file is shown in normal text input which mimics file input. This text input also inherits file inputs class. Use this class to style the text input.</p>
<h3>How to use?</h3>
<p>Insert the jquery and filestyle js files to the header section of html</p>
<pre class="brush: jscript;">
&lt;script src=&quot;jquery.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;jquery.filestyle.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<p>The button image used in the code is here.<br />
<img class="alignnone size-full wp-image-90" title="choose-file" src="http://www.jibysk.com/wp-content/uploads/2009/11/choose-file.gif" alt="choose-file" width="80" height="22" /><br />
The java script code for styling the file input is as follows.</p>
<pre class="brush: jscript;">
$(&quot;input[type=file]&quot;).filestyle({
     image: &quot;choose-file.gif&quot;,
     imageheight : 22,
     imagewidth : 82,
     width : 250
 });
</pre>
<p>You can view the demo of the plug-in from <a href="http://www.appelsiini.net/projects/filestyle/demo.html" target="_blank">here</a><br />
Download the javascript file from <a href="http://www.appelsiini.net/download/jquery.filestyle.js" target="_blank">here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jibysk.com/2009/11/02/styling-file-inputs-with-css-and-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS Sticky Footer Layout</title>
		<link>http://www.jibysk.com/2009/10/20/css-sticky-footer-layout/</link>
		<comments>http://www.jibysk.com/2009/10/20/css-sticky-footer-layout/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 12:14:15 +0000</pubDate>
		<dc:creator>Jiby</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.jibysk.com/?p=36</guid>
		<description><![CDATA[Here is a solution for Sticky Footer Layout. It applies a clear fix hack to keep the footer in place in Chrome and other browsers where the footer would float up when you resized the window. This hack fixes the problems that might occur if we are using floats to create two or three column [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a solution for Sticky Footer Layout. It applies a clear fix hack to keep the footer in place in Chrome and other browsers where the footer would float up when you resized the window. This hack fixes the problems that might occur if we are using floats to create two or three column layouts.</p>
<p><span id="more-36"></span></p>
<p>The Sticky Footer Layout posted here is from <a href="http://www.cssstickyfooter.com/using-sticky-footer-code.html">css sticky footer</a>, <a href="http://themaninblue.com/writing/perspective/2005/08/29/">A List Apart</a>, <a href="http://themaninblue.com/writing/perspective/2005/08/29/">Cameron Adams</a> and, <a href="http://www.lwis.net/journal/2008/02/08/pure-css-sticky-footer/">lwis.net.</a> </p>
<p><em>Here is the basic structure of HTML code.</em></p>
<div class="code">
&lt;div id=&#8221;wrap&#8221;&gt;<br />
        &lt;div id=&#8221;header&#8221;&gt;<br />
	&lt;/div&gt;<br />
	&lt;div id=&#8221;main&#8221; class=&#8221;clearfix&#8221;&gt;<br />
	&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;div id=&#8221;footer&#8221;&gt;<br />
&lt;/div&gt;
</div>
<p>You&#8217;ll notice how the footer div is outside of the wrap div and header is placed inside the wrap but above the main. If you wanted to place any elements outside wrap or footer then we have to use absolute positioning for particular element else it messes up the 100% height calculations.</p>
<p><em>Here is the CSS code</em></p>
<div class="code">
html, body, #wrap {height: 100%;}<br />
body > #wrap {height: auto; min-height: 100%;}<br />
#main {padding-bottom: 150px;}  /* must be same height as the footer */<br />
#footer {<br />
	position: relative;<br />
	margin-top: -150px; /* negative value of footer height */<br />
	height: 150px;<br />
	clear:both;<br />
}
</div>
<p>we are not done just yet. </p>
<p>We need to add the clearfix properties to the main div to get the footer to stick in Chrome. It also solves issues that come up when using a 2-column layout where you float your content to one side and sidebar to the other.</p>
<p><em>Here is the clearfix code</em></p>
<div class="code">
.clearfix:after {content: &#8220;.&#8221;;<br />
	display: block;<br />
	height: 0;<br />
	clear: both;<br />
	visibility: hidden;<br />
}<br />
.clearfix {display: inline-block;}<br />
/* Hides from IE-mac \*/<br />
* html .clearfix { height: 1%;}<br />
.clearfix {display: block;}<br />
/* End hide from IE-mac */
</div>
<p>When coding sites for ASP.net where each page is inside a form tag, make sure to add the form tag to the height:100% statement.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jibysk.com/2009/10/20/css-sticky-footer-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easiest Tooltip and Image Preview Using jQuery</title>
		<link>http://www.jibysk.com/2009/10/19/easiest-tooltip-and-image-preview-using-jquery/</link>
		<comments>http://www.jibysk.com/2009/10/19/easiest-tooltip-and-image-preview-using-jquery/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 04:22:24 +0000</pubDate>
		<dc:creator>Jiby</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://www.jibysk.com/?p=32</guid>
		<description><![CDATA[What this script does is adds an element to the body when you roll over a certain object. That element&#8217;s appearance is predefined with css (positioned absolute and styled) so all we need to do is fill the element with content, calculate mouse position and make it move accordingly. When cursor is moved over he [...]]]></description>
			<content:encoded><![CDATA[<p>What this script does is adds an element to the body when you roll over a certain object. That element&#8217;s appearance is predefined with css (positioned absolute and styled) so all we need to do is fill the element with content, calculate mouse position and make it move accordingly. When cursor is moved over he object, element moves with it and when cursor roll out, the element is deleted.<br />
<span id="more-32"></span><br />
Here are couple of examples where you can see this script in action.</p>
<h2>Example 1: The Simplest jQuery Tooltip</h2>
<p>The script takes a title attribute of an A tag and place it inside the popup element.<br />
Here is the code :</p>
<div class="code">
&lt;a href=&#8221;http://cssglobe.com&#8221; class=&#8221;tooltip&#8221; title=&#8221;Web Standards Magazine&#8221;&gt;Roll over for tooltip &lt;/a&gt;
</div>
<p><a href="http://cssglobe.com/lab/tooltip/01/">View demo</a></p>
<h2>Example 2: Image Preview Gallery</h2>
<p>Here we have a bunch of thumbnails. When each thumbnail is rolled over, script will load an image that we have linked in HREF attribute of an A tag. That makes this method accessible as well, because user can still access the target image even with disabled JavaScript.<br />
Here is the code :</p>
<div class="code">
&lt;a href=&#8221;1.jpg&#8221; class=&#8221;preview&#8221;&gt;&lt;img src=&#8221;1s.jpg&#8221; alt=&#8221;gallery thumbnail&#8221; /&gt;&lt;/a&gt;
</div>
<p>or if you want to use caption add a title attribute:</p>
<div class="code">
&lt;a href=&#8221;image.jpg&#8221; class=&#8221;preview&#8221; title=&#8221;Great looking landscape&#8221;&gt;Roll over to preview&lt;/a&gt;
</div>
<p><a href="http://cssglobe.com/lab/tooltip/02/">View demo</a></p>
<h2>Example 3: Links With URL Preview</h2>
<p>This demands a bit more effort but it might be worth it as an extra feature to add to your sites. What you&#8217;ll need here is a small size screenshot of the target url. You&#8217;ll put screenshot image location in in REL attribute of the A tag and script will do the rest.<br />
Here is the code :</p>
<div class="code">
&lt;a href=&#8221;http://www.cssglobe.com&#8221; class=&#8221;screenshot&#8221; rel=&#8221;cssg_screenshot.jpg&#8221;&gt;Css Globe&lt;/a&gt;
</div>
<p>again, if you wish to use caption add a title attribute:</p>
<div class="code">
&lt;a href=&#8221;http://www.cssglobe.com&#8221; class=&#8221;screenshot&#8221; rel=&#8221;cssg_screenshot.jpg&#8221; title=&#8221;Web Standards Magazine&#8221;&gt;<br />
Css Globe&lt;/a&gt;
</div>
<p><a href="http://cssglobe.com/lab/tooltip/03/">View demo</a></p>
<p><a href="http://cssglobe.com/lab/tooltip/tooltip.zip">Download all 3 tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jibysk.com/2009/10/19/easiest-tooltip-and-image-preview-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
