<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>malihu</title>
	
	<link>http://manos.malihu.gr</link>
	<description>&lt;web design /&gt;</description>
	<lastBuildDate>Sun, 15 Jan 2012 22:19:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/malihu" /><feedburner:info uri="malihu" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Cursor following menu</title>
		<link>http://feedproxy.google.com/~r/malihu/~3/tjO9DoIdWHE/cursor-following-menu</link>
		<comments>http://manos.malihu.gr/cursor-following-menu#comments</comments>
		<pubDate>Sat, 11 Dec 2010 16:28:42 +0000</pubDate>
		<dc:creator>malihu</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[jQuery/Javascript]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[float menu]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://manos.malihu.gr/?p=352</guid>
		<description><![CDATA[A website navigation menu that follows the cursor, created with the jQuery framework and CSS that&#8217;s easy to implement and configure. DEMO DOWNLOAD The idea behind the script was to create a floating navigation that follows the moving cursor throughout the page. The goal was to make the menu itself as minimal as possible with [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:left; margin:2px 0 0 0;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmanos.malihu.gr%2Fcursor-following-menu"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmanos.malihu.gr%2Fcursor-following-menu&amp;source=malihu&amp;style=compact&amp;service=bit.ly&amp;service_api=R_c23a582d6fa25b84206f8d7812019403&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A website navigation menu that follows the cursor, created with the <a href="http://jquery.com/" target="_blank">jQuery framework</a> and CSS that&#8217;s easy to implement and configure.</p>
<p><img class="malihuwork" title="cursor following menu" src="http://manos.malihu.gr/wp-content/uploads/2010/12/cfm.jpg" alt="cursor following menu" width="510" height="330" /><br />
<span id="more-352"></span></p>
<p><a class="malihu_btn" href="http://manos.malihu.gr/tuts/cursor_following_menu.html" target="_blank">DEMO</a> <a class="malihu_btn" href="http://manos.malihu.gr/tuts/cursor_following_menu.zip">DOWNLOAD</a></p>
<p>The idea behind the script was to create a floating navigation that follows the moving cursor throughout the page. The goal was to make the menu itself as minimal as possible with &#8220;discreet&#8221; float animation to avoid obtrusiveness and help usability. The end result features simple markup, two levels navigation and styling via css. An extra feature included in the plugin is the function that animates the page to anchor points which you can test on the <a href="http://manos.malihu.gr/tuts/cursor_following_menu.html" target="_blank">single-page demo</a>.</p>
<p><strong>How to use it</strong></p>
<p>Inside the head tag of your document attach the menu stylesheet (malihu.cfm.css) which holds the style for the menu and load both jquery.min.js (straight from Google) and the jquery.easing.1.3.js plugin that adds custom easing to our animations. </p>
<pre class="brush:html">
&lt;link href="malihu.cfm.css" rel="stylesheet" type="text/css" /&gt;
&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="jquery.easing.1.3.js" type="text/javascript"&gt;&lt;/script&gt;
</pre>
<p>Inside the body tag, insert the menu markup</p>
<pre class="brush:html">
<div id="cf_menu">
<div class="container">
<div class="title">MENU</div>
<ul>
<li><a href="#home">&uarr; Home</a></li>
<li><a href="#about">About me</a></li>
<li><a href="work">+ Work</a>
<ul>
<li><a href="#recent">Recent</a></li>
<li><a href="#web">Web</a></li>
<li><a href="#print">Print</a></li>
</ul>
</li>
<li><a href="#blog">Blog</a></li>
<li><a href="links">+ Interesting links</a>
<ul>
<li><a href="#freebies">Freebies &amp; Resources</a></li>
<li><a href="#people">People</a></li>
</ul>
</li>
<li><a href="#contact">Contact</a></li>
<li><a href="info">+ Script info</a>
<ul>
<li><a href="http://manos.malihu.gr/cursor-following-menu/">See the post</a></li>
<li><a href="http://manos.malihu.gr/tuts/cursor_following_menu.zip">&darr; Download</a></li>
</ul>
</li>
<li><a href="http://manos.malihu.gr">malihu</a></li>
</ul></div>
</div>
</pre>
<p>You can have a single sub-level on menu options by adding an additional unordered list inside list items.</p>
<p>Add the menu script and plugin at the end of the document, just before the closing body tag.</p>
<pre class="brush:js">&lt;script&gt;
//cursor following menu config
$mouseover_title="+ MENU"; //menu title text on mouse-over
$mouseout_title="MENU"; //menu title text on mouse-out
$menu_following_speed=2000; //the speed in which the menu follows the cursor (in milliseconds)
$menu_following_easing="easeOutCirc";
$menu_cursor_space=30; //space between cursor and menu
$menu_show_speed="slow"; //menu open animation speed
$menu_show_easing="easeOutExpo"; //menu open animation easing type
$menu_hide_speed="slow"; //menu close animation speed
$menu_hide_easing="easeInExpo"; //menu close animation easing type
&lt;/script&gt;

&lt;script src="malihu.jquery.cfm.js"&gt;&lt;/script&gt;
</pre>
<p>You can easily configure the menu by changing each variable to your liking.</p>
<p>Enjoy <img src='http://manos.malihu.gr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fcursor-following-menu&amp;title=Cursor+following+menu" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fcursor-following-menu&amp;title=Cursor+following+menu" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fcursor-following-menu&amp;title=Cursor+following+menu" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Cursor+following+menu&amp;url=http%3A%2F%2Fmanos.malihu.gr%2Fcursor-following-menu" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/malihu?a=tjO9DoIdWHE:9WsK8q295Z0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/malihu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=tjO9DoIdWHE:9WsK8q295Z0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/malihu?i=tjO9DoIdWHE:9WsK8q295Z0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=tjO9DoIdWHE:9WsK8q295Z0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/malihu?i=tjO9DoIdWHE:9WsK8q295Z0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=tjO9DoIdWHE:9WsK8q295Z0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/malihu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=tjO9DoIdWHE:9WsK8q295Z0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/malihu?i=tjO9DoIdWHE:9WsK8q295Z0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=tjO9DoIdWHE:9WsK8q295Z0:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/malihu?d=TzevzKxY174" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://manos.malihu.gr/cursor-following-menu/feed</wfw:commentRss>
		<slash:comments>79</slash:comments>
		<feedburner:origLink>http://manos.malihu.gr/cursor-following-menu</feedburner:origLink></item>
		<item>
		<title>Resize flash dynamically with javascript and actionscript</title>
		<link>http://feedproxy.google.com/~r/malihu/~3/k6x6zDZL9t0/resize-flash-dynamically-with-javascript-and-actionscript</link>
		<comments>http://manos.malihu.gr/resize-flash-dynamically-with-javascript-and-actionscript#comments</comments>
		<pubDate>Sun, 24 Oct 2010 16:28:18 +0000</pubDate>
		<dc:creator>malihu</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[jQuery/Javascript]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[resize flash]]></category>

		<guid isPermaLink="false">http://manos.malihu.gr/?p=327</guid>
		<description><![CDATA[A simple and efficient way of dynamically resizing flash embedded objects with javascript and actionscript. DEMO DOWNLOAD Ever wanted to change the dimensions of a flash movie on-the-fly without refreshing the page? If yes, read on! The idea is to wrap your flash movie within a div and embed it with swfobject making its width [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:left; margin:2px 0 0 0;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmanos.malihu.gr%2Fresize-flash-dynamically-with-javascript-and-actionscript"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmanos.malihu.gr%2Fresize-flash-dynamically-with-javascript-and-actionscript&amp;source=malihu&amp;style=compact&amp;service=bit.ly&amp;service_api=R_c23a582d6fa25b84206f8d7812019403&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A simple and efficient way of dynamically resizing flash embedded objects with javascript and actionscript.<br />
<span id="more-327"></span></p>
<p><a class="malihu_btn" href="http://manos.malihu.gr/tuts/flash_resize_via_js.html" target="_blank">DEMO</a> <a class="malihu_btn" href="http://manos.malihu.gr/tuts/flash_resize_via_js.zip">DOWNLOAD</a></p>
<p>Ever wanted to change the dimensions of a flash movie on-the-fly without refreshing the page? If yes, read on!</p>
<p>The idea is to wrap your flash movie within a div and embed it with swfobject making its width and height 100%. Resizing the wrapper div with javascipt is very simple and can be done with a single jquery function in the html code. The same function can also be called from flash using a simple getURL action, resulting an easy way of accomplishing the goal of dynamically resizing flash movies.</p>
<p><strong>The code</strong></p>
<p>Firstly we need to insert our flash movie in the html using <a href="http://code.google.com/p/swfobject/" target="_blank">swfobject</a>. In our example the flash movie is <em>resized.swf</em>. Inside the head tag insert:</p>
<pre class="brush:js">
&lt;script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
var flashvars = { 

};
var params = {
  allowFullScreen: "true",
  menu: "false",
  wmode: "window"
};
var attributes = {
  id: "resized",
  name: "resized",
  wmode: "window"
};

swfobject.embedSWF("resized.swf", "resized", "100%", "100%", "10.0.0", "expressInstall.swf", flashvars, params, attributes);
&lt;/script&gt;
</pre>
<p>Note that we&#8217;re giving the embedded swf a width and height of 100% and for some caching speed, we load the swfobect from Google.</p>
<p>We also need to load the jQuery that we&#8217;ll need for our javascript function later on. We load jQuery also from Google by inserting still inside head tag:</p>
<pre class="brush:js">
&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
</pre>
<p>We now need some CSS for the wrapper div that&#8217;ll hold the flash movie and set its initial dimensions. For simplicity we&#8217;ve given it an id of <em>resized</em>.</p>
<pre class="brush:css">
#resized{width:550px; height:400px; margin:20px 40px;}
</pre>
<p>We insert the div in our markup and we also create a text link that we&#8217;ll use to call the jquery function.</p>
<pre class="brush:html">
<div id="resized"></div>
<div><a href="#" onclick="ResizeFlash('800','1200'); return false">Set width: 800px - height: 1200px</a></div>
</pre>
<p>In <em>ResizeFlash</em> function, the first number (800) corresponds to the new width (in pixels) we want our flash to change and the second (1200) to the new height. We can also use percentages (e.g. 90%) instead of pixel values and leaving any of the 2 parameters empty will result in only resizing one dimension. For instance writing <em>ResizeFlash(&#8221;,&#8217;1200&#8242;)</em> will set the height of flash to 1200px while leaving its width as it is.</p>
<p>So know we need to insert the actual javascript function that&#8217;ll do the trick of resizing the div holder. At the very end of our document, right before the closing body tag insert:</p>
<pre class="brush:js">
&lt;script&gt;
function ResizeFlash(newWidth,newHeight){
	if(newWidth){
		$("#resized").css("width",newWidth);
	}
	if(newHeight){
		$("#resized").css("height",newHeight);
	}
}
&lt;/script&gt;
</pre>
<p>The function checks if width and height parameters are set and if they are, gets their values and applies a new CSS style to the div.</p>
<p><strong>The Flash (Actionscript 2.0)</strong></p>
<p>Calling the function from within the flash is very easy with the use of the getURL action. So create the movie with flash and give it the name <em>resized</em>. Create a new button and give it an instance name of <em>btn1</em>. Then make an onRelease function in a frame in timeline and insert &#8220;javascript:ResizeFlash(&#8221;,&#8217;1000&#8242;);&#8221; as the URL inside the getURL action:</p>
<pre class="brush:html">
btn1.onRelease=function(){
	getURL("javascript:ResizeFlash('','1000');");
}
</pre>
<p>The button when clicked will set the flash movie height to 1000 pixels. You can see that we call the javascript function and set its parameters exactly like we do in html text links. Export the movie as resized.swf and you&#8217;re done <img src='http://manos.malihu.gr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<p>Note that in order to see the result, you need to upload your files on your server. if you wanna check it locally, you&#8217;ll need to change the flash player security settings (right-click swf, select &#8220;Global Settings&#8230;&#8221;).</p>
<p><a href="http://manos.malihu.gr/tuts/flash_resize_via_js.html" target="_blank">See a working example of the tutorial</a><br />
<a href="http://manos.malihu.gr/tuts/flash_resize_via_js.zip" target="_blank">Download source files</a></p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fresize-flash-dynamically-with-javascript-and-actionscript&amp;title=Resize+flash+dynamically+with+javascript+and+actionscript" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fresize-flash-dynamically-with-javascript-and-actionscript&amp;title=Resize+flash+dynamically+with+javascript+and+actionscript" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fresize-flash-dynamically-with-javascript-and-actionscript&amp;title=Resize+flash+dynamically+with+javascript+and+actionscript" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Resize+flash+dynamically+with+javascript+and+actionscript&amp;url=http%3A%2F%2Fmanos.malihu.gr%2Fresize-flash-dynamically-with-javascript-and-actionscript" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/malihu?a=k6x6zDZL9t0:GOPbWxjy_tA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/malihu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=k6x6zDZL9t0:GOPbWxjy_tA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/malihu?i=k6x6zDZL9t0:GOPbWxjy_tA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=k6x6zDZL9t0:GOPbWxjy_tA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/malihu?i=k6x6zDZL9t0:GOPbWxjy_tA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=k6x6zDZL9t0:GOPbWxjy_tA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/malihu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=k6x6zDZL9t0:GOPbWxjy_tA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/malihu?i=k6x6zDZL9t0:GOPbWxjy_tA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=k6x6zDZL9t0:GOPbWxjy_tA:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/malihu?d=TzevzKxY174" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://manos.malihu.gr/resize-flash-dynamically-with-javascript-and-actionscript/feed</wfw:commentRss>
		<slash:comments>45</slash:comments>
		<feedburner:origLink>http://manos.malihu.gr/resize-flash-dynamically-with-javascript-and-actionscript</feedburner:origLink></item>
		<item>
		<title>Style-my-tooltips jQuery plugin</title>
		<link>http://feedproxy.google.com/~r/malihu/~3/D6swrAoBwNc/style-my-tooltips-jquery-plugin</link>
		<comments>http://manos.malihu.gr/style-my-tooltips-jquery-plugin#comments</comments>
		<pubDate>Sun, 26 Sep 2010 04:07:28 +0000</pubDate>
		<dc:creator>malihu</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[jQuery/Javascript]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[tooltips]]></category>

		<guid isPermaLink="false">http://manos.malihu.gr/?p=281</guid>
		<description><![CDATA[A simple jQuery plugin to better style native browser tooltips. Small in size (3kb unminified) script to enhance the look of tooltips. It works just like browser&#8217;s native tooltips with few options and styling via CSS. By default, the script applies to any element with a &#8220;title&#8221; attribute like links, paragraphs, images etc. but you [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:left; margin:2px 0 0 0;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmanos.malihu.gr%2Fstyle-my-tooltips-jquery-plugin"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmanos.malihu.gr%2Fstyle-my-tooltips-jquery-plugin&amp;source=malihu&amp;style=compact&amp;service=bit.ly&amp;service_api=R_c23a582d6fa25b84206f8d7812019403&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A simple <a href="http://jquery.com/" target="_blank">jQuery</a> plugin to better style native browser tooltips.</p>
<p><img class="malihuwork" title="Style-my-tooltips jQuery plugin" src="http://manos.malihu.gr/wp-content/uploads/2010/12/smt_ss.png" alt="Style-my-tooltips jQuery plugin" width="510" height="180" /><br />
<span id="more-281"></span></p>
<p>Small in size (3kb unminified) script to enhance the look of tooltips. It works just like browser&#8217;s native tooltips with few options and styling via CSS. By default, the script applies to any element with a &#8220;title&#8221; attribute like links, paragraphs, images etc. but you can easily set it to affect only specific classes.</p>
<p><a class="malihu_btn" href="http://manos.malihu.gr/tuts/style-my-tooltips.html" target="_blank">DEMO</a> <a class="malihu_btn" href="http://manos.malihu.gr/tuts/style-my-tooltips.zip">DOWNLOAD</a></p>
<p><strong>The code</strong></p>
<p>The styling of tooltips is done via the <em>style-my-tooltips.css</em> file. On this demo I used some CSS3 for rounded corners.</p>
<pre class="brush:css">
#s-m-t-tooltip{
	position:absolute;
	max-width:300px;
	padding:6px 8px 8px 8px;
	background:#222;
	z-index:10;
	display:inline-block; /*important*/
	/*font*/
	font-family:Verdana, Geneva, sans-serif;
	font-size:11px;
	line-height:16px;
	color:#fff;
	/*css3 rounded corners*/
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
}
</pre>
<p>The jquery.style-my-tooltips.js file</p>
<pre class="brush:js">
(function($){
 $.fn.style_my_tooltips = function(options) {
	var defaults = {
		tip_follows_cursor: "on",
		tip_delay_time: 1000
	};
	var options = $.extend(defaults, options);
	$("body").append("
<div id='s-m-t-tooltip'></div>

"); //create the tooltip container
	smtTip=$("#s-m-t-tooltip");
	smtTip.hide(); //hide it
    return this.each(function() {
		function smtMouseMove(e){
			smtMouseCoordsX=e.pageX;
			smtMouseCoordsY=e.pageY;
			smtTipPosition();
		}
		function smtTipPosition(){
			var cursor_tip_margin_x=0; //horizontal space between the cursor and tooltip
			var cursor_tip_margin_y=24; //vertical space between the cursor and tooltip
			var leftOffset=smtMouseCoordsX+cursor_tip_margin_x+$(smtTip).outerWidth();
			var topOffset=smtMouseCoordsY+cursor_tip_margin_y+$(smtTip).outerHeight();
			if(leftOffset<=$(window).width()){
				smtTip.css("left",smtMouseCoordsX+cursor_tip_margin_x);
			} else {
				var thePosX=smtMouseCoordsX-(cursor_tip_margin_x)-$(smtTip).width();
				smtTip.css("left",thePosX);
			}
			if(topOffset<=$(window).height()){
				smtTip.css("top",smtMouseCoordsY+cursor_tip_margin_y);
			} else {
				var thePosY=smtMouseCoordsY-(cursor_tip_margin_y)-$(smtTip).height();
				smtTip.css("top",thePosY);
			}
		}
		$(this).hover(function(e) {
			// mouseover
			var $this=$(this);
			$this.data("smtTitle",$this.attr("title")); //store title
			var theTitle=$this.data("smtTitle");
			$this.attr("title",""); //remove title to prevent native tooltip showing
			smtTip.empty().append(theTitle).hide(); //set tooltip text and hide it
			smtTip_delay = setInterval(smtTip_fadeIn, options.tip_delay_time); //set tooltip delay
			if(options.tip_follows_cursor=="off"){
				smtMouseMove(e);
			} else {
				$(document).bind("mousemove", function(event){
					smtMouseMove(event);
				});
			}
		}, function() {
			// mouseout
			var $this=$(this);
			if(options.tip_follows_cursor!="off"){
				$(document).unbind("mousemove");
			}
			clearInterval(smtTip_delay);
			if(smtTip.is(":animated")){
				smtTip.hide();
			} else {
				smtTip.fadeTo("fast",0);
			}
			$this.attr("title",$this.data("smtTitle")); //add back title
		});
		$(this).click(function() {
			var $this=$(this);
			$this.attr("title",$this.data("smtTitle")); //add back title
		});
		function smtTip_fadeIn(){
			smtTip.fadeTo("fast",1,function(){clearInterval(smtTip_delay);});
		}
	});
 };
})(jQuery);
</pre>
<p><strong>How to use it</strong></p>
<p>All you need is to <a href="http://manos.malihu.gr/tuts/style-my-tooltips.zip">download the .zip file</a> and extract the <em>jquery.style-my-tooltips.js</em> and <em>style-my-tooltips.css</em> on the same directory of your document, on which you must insert the following code inside the head tag.</p>
<pre class="brush:html">
&lt;link href="style-my-tooltips.css" rel="stylesheet" type="text/css" /&gt;
&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="jquery.style-my-tooltips.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script&gt;
$().ready(function() {
	$("[title]").style_my_tooltips({
		tip_follows_cursor: "on", //on/off
		tip_delay_time: 1000 //milliseconds
	});
});
&lt;/script&gt;
</pre>
<p>The code above affects <strong>all elements</strong> with a title attribute. If you want to apply the custom tooltip on elements with title that have a <strong>specific class</strong> (e.g. .myClassName) you change the selector as follows: </p>
<pre class="brush:html">
$(".myClassName[title]").style_my_tooltips({
	tip_follows_cursor: "on", //on/off
	tip_delay_time: 1000 //milliseconds
});
</pre>
<p>You can set the tooltip delay time and behavior via the two options. </p>
<p>Have fun!</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fstyle-my-tooltips-jquery-plugin&amp;title=Style-my-tooltips+jQuery+plugin" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fstyle-my-tooltips-jquery-plugin&amp;title=Style-my-tooltips+jQuery+plugin" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fstyle-my-tooltips-jquery-plugin&amp;title=Style-my-tooltips+jQuery+plugin" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Style-my-tooltips+jQuery+plugin&amp;url=http%3A%2F%2Fmanos.malihu.gr%2Fstyle-my-tooltips-jquery-plugin" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/malihu?a=D6swrAoBwNc:N7KtcvYfRMY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/malihu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=D6swrAoBwNc:N7KtcvYfRMY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/malihu?i=D6swrAoBwNc:N7KtcvYfRMY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=D6swrAoBwNc:N7KtcvYfRMY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/malihu?i=D6swrAoBwNc:N7KtcvYfRMY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=D6swrAoBwNc:N7KtcvYfRMY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/malihu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=D6swrAoBwNc:N7KtcvYfRMY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/malihu?i=D6swrAoBwNc:N7KtcvYfRMY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=D6swrAoBwNc:N7KtcvYfRMY:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/malihu?d=TzevzKxY174" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://manos.malihu.gr/style-my-tooltips-jquery-plugin/feed</wfw:commentRss>
		<slash:comments>113</slash:comments>
		<feedburner:origLink>http://manos.malihu.gr/style-my-tooltips-jquery-plugin</feedburner:origLink></item>
		<item>
		<title>SIDEWAYS – jQuery fullscreen image gallery</title>
		<link>http://feedproxy.google.com/~r/malihu/~3/7W6HA1Kcl0g/sideways-jquery-fullscreen-image-gallery</link>
		<comments>http://manos.malihu.gr/sideways-jquery-fullscreen-image-gallery#comments</comments>
		<pubDate>Sun, 12 Sep 2010 16:25:28 +0000</pubDate>
		<dc:creator>malihu</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[jQuery/Javascript]]></category>
		<category><![CDATA[custom scrollbar]]></category>
		<category><![CDATA[fullscreen image]]></category>
		<category><![CDATA[image gallery]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://manos.malihu.gr/?p=267</guid>
		<description><![CDATA[A simple, yet elegant fullscreen image gallery created with the jQuery framework and some simple CSS. DEMO DEMO 2 DOWNLOAD SIDEWAYS image gallery is made by implementation of some previous scripts/tutorials posted on this blog and some (minor) CSS3. It utilizes the jQuery UI (jQuery User Interface), jQuery Easing by George McGinley Smith and Brandon [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:left; margin:2px 0 0 0;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmanos.malihu.gr%2Fsideways-jquery-fullscreen-image-gallery"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmanos.malihu.gr%2Fsideways-jquery-fullscreen-image-gallery&amp;source=malihu&amp;style=compact&amp;service=bit.ly&amp;service_api=R_c23a582d6fa25b84206f8d7812019403&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A simple, yet elegant fullscreen image gallery created with the <a href="http://jquery.com/" target="_blank">jQuery framework</a> and some simple CSS.</p>
<p><img class="malihuwork" title="SIDEWAYS - image gallery" src="http://manos.malihu.gr/wp-content/uploads/2010/09/sw_ss.jpg" alt="SIDEWAYS - image gallery" width="510" height="321" /><br />
<span id="more-267"></span></p>
<p><a class="malihu_btn" href="http://manos.malihu.gr/tuts/sideways_jquery_fullscreen_image_gallery.html" target="_blank" title="Original demo with custom scrollbars and mouseover panel mode">DEMO</a> <a class="malihu_btn" href="http://manos.malihu.gr/tuts/sideways_jquery_fullscreen_image_gallery_nativescrollbars_clickmode.html" target="_blank" title="Demo with native browser scrollbars and click to open panel mode (better suited for touch devices)">DEMO 2</a> <a class="malihu_btn" href="http://manos.malihu.gr/tuts/sideways_jquery_fullscreen_image_gallery.zip">DOWNLOAD</a></p>
<p>SIDEWAYS image gallery is made by implementation of some previous scripts/tutorials posted on this blog and some (minor) CSS3. It utilizes the <a href="http://jqueryui.com/" target="_blank">jQuery UI (jQuery User Interface)</a>, <a href="http://gsgd.co.uk/sandbox/jquery/easing/" target="_blank">jQuery Easing</a> by George McGinley Smith and <a href="http://brandonaaron.net/" target="_blank">Brandon Aaron&#8217;s jquery mousewheel plugin</a>. </p>
<p><strong>Changelog</strong></p>
<p><em>20/11/2010</em>
<ul>
<li>Minor code optimization</li>
<li>Loading new image with different dimensions updates correctly</li>
<li>Clicking on final image loads the first one (looping)</li>
<li>Added <em>original</em> view mode option (no image scale)</li>
<li>Change default view mode quickly by setting $defaultViewMode variable in the script</li>
<li>Fixed conflict when placing links inside thumbnail panel</li>
</ul>
<p><em>19/10/2010</em>
<ul>
<li>Added second script that utilizes native browser scrollbars and click to open panel mode (better suited for touch devices)</li>
</ul>
<p><em>26/9/2010</em>
<ul>
<li>Script and code have been optimized significantly</li>
</ul>
<p><strong>The code</strong></p>
<p>The css with some CSS3 rounded corners, shadows etc. and few custom fonts </p>
<pre class="brush:css">
html,body{height:100%}
body {margin:0; padding:0; background:#333 url(sw_page_bg.png); overflow:hidden; font-family:Helvetica, Arial, sans-serif; font-size:16px;}
/* custom fonts */
@font-face {
	font-family: 'eurof55-webfont';
	src: url('fonts/eurof55-webfont.eot');
	src: local('☺'), url('fonts/eurof55-webfont.woff') format('woff'), url('fonts/eurof55-webfont.ttf') format('truetype'), url('fonts/eurof55-webfont.svg#webfont8xigBfG2') format('svg');
}
@font-face {
	font-family: 'eurof35-webfont';
	src: url('fonts/eurof35-webfont.eot');
	src: local('☺'), url('fonts/eurof35-webfont.woff') format('woff'), url('fonts/eurof35-webfont.ttf') format('truetype'), url('fonts/eurof35-webfont.svg#webfont8xigBfG2') format('svg');
}
@font-face {
	font-family: 'graublauweb-webfont';
	src: url('fonts/graublauweb-webfont.eot');
	src: local('☺'), url('fonts/graublauweb-webfont.woff') format('woff'), url('fonts/graublauweb-webfont.ttf') format('truetype'), url('fonts/graublauweb-webfont.svg#webfont8xigBfG2') format('svg');
}
.clear{clear:both;}
a:link,a:visited,a:hover{color:#ddd;}
a:hover{color:#fff; text-decoration:none;}
#bg{position:fixed; left:585px; top:0; width:100%; height:100%;}
#bgimg{display:none; cursor:pointer; -ms-interpolation-mode: bicubic;} /* special IE fix for resized images */
#preloader{position:absolute; z-index:2; width:140px; padding:20px; top:20px; left:50px; background:#000; color:#666; font-family:graublauweb-webfont, Helvetica, Arial, sans-serif; font-size:16px; -moz-border-radius:5px; -khtml-border-radius:5px; -webkit-border-radius:5px; border-radius:5px;}
#preloader img{margin-right:20px;}
#toolbar{display:inline-block; padding:4px 15px; margin:20px 15px; background:#262626 url(sw_btn_bg.png) repeat-x; -moz-border-radius:8px; -khtml-border-radius:8px; -webkit-border-radius:8px; border-radius:8px; font-family:graublauweb-webfont, Helvetica, Arial, sans-serif; font-size:12px; color:#fff; cursor:pointer;}
#outer_container{position:relative; margin:0; width:700px; padding:0 100px 0 0; z-index:2; background:url(empty.gif);} /* fucking IE needs a background value to understand hover area */
#customScrollBox{position:relative; overflow:hidden; background:url(sw_l_bg.png) repeat-y;}
#customScrollBox .container{position:relative; width:585px; top:0; float:left;}
#customScrollBox .content{clear:both;}
#customScrollBox .content h1{padding:5px; margin:10px; color:#fff; font-family:eurof55-webfont, Helvetica, Arial, sans-serif; font-size:48px;}
#customScrollBox .content h2{padding:5px; margin:10px 10px 0 10px; color:#fff; font-family:eurof35-webfont, Helvetica, Arial, sans-serif; font-size:24px;}
#customScrollBox .content p{padding:5px; margin:0 10px 10px 10px; color:#ddd; font-family:graublauweb-webfont, Helvetica, Arial, sans-serif; line-height:26px;}
.light{font-family:eurof35-webfont, Helvetica, Arial, sans-serif;}
.grey{color:#999;}
.lightgrey{color:#ddd;}
.s36{font-size:36px;}
.s24{font-size:24px;}
#customScrollBox a.thumb_link{position:relative; margin:0 0 1px 1px; display:block; float:left;}
#customScrollBox img{border:none;}
#customScrollBox a.thumb_link .selected{position:absolute; top:0; left:0; width:145px; height:91px; background:url(sw_thumb_selected.png) no-repeat; display:none;}
#dragger_container{position:relative; width:30px; height:580px; float:left; margin:10px 0 0 0; background:url(sw_dragger_bg.png) repeat-y center;}
#dragger{position:absolute; width:30px; height:59px; background:url(round_custom_scrollbar_bg.png) no-repeat center center; cursor:pointer;}
#arrow_indicator{position:absolute; z-index:1; width:50px; padding:10px; top:50%; margin-top:-25px; left:20px; background:url(sw_transparent_black_bg.png); -moz-border-radius:5px; -khtml-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; display:none;}
#nextimage_tip{position:fixed; z-index:1; padding:0 20px; line-height:40px; color:#fff; height:40px; top:50%; margin-top:-20px; right:20px; background:url(sw_transparent_black_bg.png); -moz-border-radius:5px; -khtml-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; display:none; font-family:graublauweb-webfont, Helvetica, Arial, sans-serif;}
.with_border{border:1px solid #000;}
.with_shadow{-moz-box-shadow:0 0 40px #000; -webkit-box-shadow:0 0 40px #000; box-shadow:0 0 40px #000;}
</pre>
<p>The jQuery scripts and plugins inside head tag</p>
<pre class="brush:js">&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="jquery.easing.1.3.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="jquery.mousewheel.min.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
<p>The full javascript code is inserted in the end of the document, just before the closing body tag.</p>
<pre class="brush:js">&lt;script&gt;
	//set default view mode
	$defaultViewMode="full"; //full (fullscreen background), fit (fit to window), original (no scale)
	//cache vars
	$bg=$("#bg");
	$bgimg=$("#bg #bgimg");
	$preloader=$("#preloader");
	$outer_container=$("#outer_container");
	$outer_container_a=$("#outer_container a.thumb_link");
	$toolbar=$("#toolbar");
	$nextimage_tip=$("#nextimage_tip");

$(window).load(function() {
	$toolbar.data("imageViewMode",$defaultViewMode); //default view mode
	ImageViewMode($toolbar.data("imageViewMode"));
	//cache vars
	$customScrollBox=$("#customScrollBox");
	$customScrollBox_container=$("#customScrollBox .container");
	$customScrollBox_content=$("#customScrollBox .content");
	$dragger_container=$("#dragger_container");
	$dragger=$("#dragger");

	CustomScroller();

	function CustomScroller(){
		outerMargin=0;
		innerMargin=20;
		$customScrollBox.height($(window).height()-outerMargin);
		$dragger_container.height($(window).height()-innerMargin);
		visibleHeight=$(window).height()-outerMargin;
		if($customScrollBox_container.height()&gt;visibleHeight){ //custom scroll depends on content height
			$dragger_container,$dragger.css("display","block");
			totalContent=$customScrollBox_content.height();
			draggerContainerHeight=$(window).height()-innerMargin;
			animSpeed=400; //animation speed
			easeType="easeOutCirc"; //easing type
			bottomSpace=1.05; //bottom scrolling space
			targY=0;
			draggerHeight=$dragger.height();
			$dragger.draggable({
				axis: "y",
				containment: "parent",
				drag: function(event, ui) {
					Scroll();
				},
				stop: function(event, ui) {
					DraggerOut();
				}
			});

			//scrollbar click
			$dragger_container.click(function(e) {
				var mouseCoord=(e.pageY - $(this).offset().top);
				var targetPos=mouseCoord+$dragger.height();
				if(targetPos&lt;draggerContainerHeight){
					$dragger.css("top",mouseCoord);
					Scroll();
				} else {
					$dragger.css("top",draggerContainerHeight-$dragger.height());
					Scroll();
				}
			});

			//mousewheel
			$(function($) {
				$customScrollBox.bind("mousewheel", function(event, delta) {
					vel = Math.abs(delta*10);
					$dragger.css("top", $dragger.position().top-(delta*vel));
					Scroll();
					if($dragger.position().top&lt;0){
						$dragger.css("top", 0);
						$customScrollBox_container.stop();
						Scroll();
					}
					if($dragger.position().top&gt;draggerContainerHeight-$dragger.height()){
						$dragger.css("top", draggerContainerHeight-$dragger.height());
						$customScrollBox_container.stop();
						Scroll();
					}
					return false;
				});
			});

			function Scroll(){
				var scrollAmount=(totalContent-(visibleHeight/bottomSpace))/(draggerContainerHeight-draggerHeight);
				var draggerY=$dragger.position().top;
				targY=-draggerY*scrollAmount;
				var thePos=$customScrollBox_container.position().top-targY;
				$customScrollBox_container.stop().animate({top: "-="+thePos}, animSpeed, easeType); //with easing
			}

			//dragger hover
			$dragger.mouseup(function(){
				DraggerOut();
			}).mousedown(function(){
				DraggerOver();
			});

			function DraggerOver(){
				$dragger.css("background", "url(round_custom_scrollbar_bg_over.png)");
			}

			function DraggerOut(){
				$dragger.css("background", "url(round_custom_scrollbar_bg.png)");
			}
		} else { //hide custom scrollbar if content is short
			$dragger,$dragger_container.css("display","none");
		}
	}

	//resize browser window functions
	$(window).resize(function() {
		FullScreenBackground("#bgimg"); //scale bg image
		$dragger.css("top",0); //reset content scroll
		$customScrollBox_container.css("top",0);
		$customScrollBox.unbind("mousewheel");
		CustomScroller();
	});

	LargeImageLoad($bgimg);
});

	//loading bg image
	$bgimg.load(function() {
		LargeImageLoad($(this));
	});

	function LargeImageLoad($this){
		$preloader.fadeOut("fast"); //hide preloader
		$this.removeAttr("width").removeAttr("height").css({ width: "", height: "" }); //lose all previous dimensions in order to rescale new image data
		$bg.data("originalImageWidth",$this.width()).data("originalImageHeight",$this.height());
		if($bg.data("newTitle")){
			$this.attr("title",$bg.data("newTitle")); //set new image title attribute
		}
		FullScreenBackground($this); //scale new image
		$bg.data("nextImage",$($outer_container.data("selectedThumb")).next().attr("href")); //get and store next image
		if(typeof itemIndex!="undefined"){
			if(itemIndex==lastItemIndex){ //check if it is the last image
				$bg.data("lastImageReached","Y");
				$bg.data("nextImage",$outer_container_a.first().attr("href")); //get and store next image
			} else {
				$bg.data("lastImageReached","N");
			}
		} else {
			$bg.data("lastImageReached","N");
		}
		$this.fadeIn("slow"); //fadein background image
		if($bg.data("nextImage") || $bg.data("lastImageReached")=="Y"){ //don't close thumbs pane on 1st load
			SlidePanels("close"); //close the left pane
		}
		NextImageTip();
	}

	//slide in/out left pane
	$outer_container.hover(
		function(){ //mouse over
			SlidePanels("open");
		},
		function(){ //mouse out
			SlidePanels("close");
		}
	);

	//Clicking on thumbnail changes the background image
	$outer_container_a.click(function(event){
		event.preventDefault();
		var $this=this;
		$bgimg.css("display","none");
		$preloader.fadeIn("fast"); //show preloader
		//style clicked thumbnail
		$outer_container_a.each(function() {
    		$(this).children(".selected").css("display","none");
  		});
		$(this).children(".selected").css("display","block");
		//get and store next image and selected thumb
		$outer_container.data("selectedThumb",$this);
		$bg.data("nextImage",$(this).next().attr("href"));
		$bg.data("newTitle",$(this).children("img").attr("title")); //get and store new image title attribute
		itemIndex=getIndex($this); //get clicked item index
		lastItemIndex=($outer_container_a.length)-1; //get last item index
		$bgimg.attr("src", "").attr("src", $this); //switch image
	}); 

	//clicking on large image loads the next one
	$bgimg.click(function(event){
		var $this=$(this);
		if($bg.data("nextImage")){ //if next image data is stored
			$this.css("display","none");
			$preloader.fadeIn("fast"); //show preloader
			$($outer_container.data("selectedThumb")).children(".selected").css("display","none"); //deselect thumb
			if($bg.data("lastImageReached")!="Y"){
				$($outer_container.data("selectedThumb")).next().children(".selected").css("display","block"); //select new thumb
			} else {
				$outer_container_a.first().children(".selected").css("display","block"); //select new thumb - first
			}
			//store new selected thumb
			var selThumb=$outer_container.data("selectedThumb");
			if($bg.data("lastImageReached")!="Y"){
				$outer_container.data("selectedThumb",$(selThumb).next());
			} else {
				$outer_container.data("selectedThumb",$outer_container_a.first());
			}
			$bg.data("newTitle",$($outer_container.data("selectedThumb")).children("img").attr("title")); //get and store new image title attribute
			if($bg.data("lastImageReached")!="Y"){
				itemIndex++;
			} else {
				itemIndex=0;
			}
			$this.attr("src", "").attr("src", $bg.data("nextImage")); //switch image
		}
	});

	//function to get element index (fuck you IE!)
	function getIndex(theItem){
		for ( var i = 0, length = $outer_container_a.length; i &lt; length; i++ ) {
			if ( $outer_container_a[i] === theItem ) {
				return i;
			}
		}
	}

	//toolbar (image view mode button) hover
	$toolbar.hover(
		function(){ //mouse over
			$(this).stop().fadeTo("fast",1);
		},
		function(){ //mouse out
			$(this).stop().fadeTo("fast",0.8);
		}
	);
	$toolbar.stop().fadeTo("fast",0.8); //set its original state

	//Clicking on toolbar changes the image view mode
	$toolbar.click(function(event){
		if($toolbar.data("imageViewMode")=="full"){
			ImageViewMode("fit");
		} else if($toolbar.data("imageViewMode")=="fit") {
			ImageViewMode("original");
		} else if($toolbar.data("imageViewMode")=="original"){
			ImageViewMode("full");
		}
	});

	//next image balloon tip
	function NextImageTip(){
		if($bg.data("nextImage")){ //check if this is the first image
			$nextimage_tip.stop().css("right",20).fadeIn("fast").fadeOut(2000,"easeInExpo",function(){$nextimage_tip.css("right",$(window).width());});
		}
	}

	//slide in/out left pane function
	function SlidePanels(action){
		var speed=900;
		var easing="easeInOutExpo";
		if(action=="open"){
			$("#arrow_indicator").fadeTo("fast",0);
			$outer_container.stop().animate({left: 0}, speed,easing);
			$bg.stop().animate({left: 585}, speed,easing);
		} else {
			$outer_container.stop().animate({left: -710}, speed,easing);
			$bg.stop().animate({left: 0}, speed,easing,function(){$("#arrow_indicator").fadeTo("fast",1);});
		}
	}

//Image scale function
function FullScreenBackground(theItem){
	var winWidth=$(window).width();
	var winHeight=$(window).height();
	var imageWidth=$(theItem).width();
	var imageHeight=$(theItem).height();
	if($toolbar.data("imageViewMode")!="original"){ //scale
		$(theItem).removeClass("with_border").removeClass("with_shadow"); //remove extra styles of orininal view mode
		var picHeight = imageHeight / imageWidth;
		var picWidth = imageWidth / imageHeight;
		if($toolbar.data("imageViewMode")!="fit"){ //image view mode: full
			if ((winHeight / winWidth) &lt; picHeight) {
				$(theItem).css("width",winWidth).css("height",picHeight*winWidth);
			} else {
				$(theItem).css("height",winHeight).css("width",picWidth*winHeight);
			};
		} else { //image view mode: fit
			if ((winHeight / winWidth) &gt; picHeight) {
				$(theItem).css("width",winWidth).css("height",picHeight*winWidth);
			} else {
				$(theItem).css("height",winHeight).css("width",picWidth*winHeight);
			};
		}
		//center it
		$(theItem).css("margin-left",((winWidth - $(theItem).width())/2)).css("margin-top",((winHeight - $(theItem).height())/2));
	} else { //no scale
		//add extra styles for orininal view mode
		$(theItem).addClass("with_border").addClass("with_shadow");
		//set original dimensions
		$(theItem).css("width",$bg.data("originalImageWidth")).css("height",$bg.data("originalImageHeight"));
		//center it
		$(theItem).css("margin-left",((winWidth-$(theItem).outerWidth())/2)).css("margin-top",((winHeight-$(theItem).outerHeight())/2));
	}
}

//image view mode function - full or fit
function ImageViewMode(theMode){
	$toolbar.data("imageViewMode", theMode); //store new mode
	FullScreenBackground($bgimg); //scale bg image
	//re-style button
	if(theMode=="full"){
		$toolbar.html("<span class='lightgrey'>IMAGE VIEW MODE &rsaquo;</span> FULL");
	} else if(theMode=="fit") {
		$toolbar.html("<span class='lightgrey'>IMAGE VIEW MODE &rsaquo;</span> FIT");
	} else {
		$toolbar.html("<span class='lightgrey'>IMAGE VIEW MODE &rsaquo;</span> ORIGINAL");
	}
}

//preload script images
var images=["ajax-loader_dark.gif","round_custom_scrollbar_bg_over.png"];
$.each(images, function(i) {
  images[i] = new Image();
  images[i].src = this;
});
&lt;/script&gt;
</pre>
<p>The markup (loads of it for our demo)</p>
<pre class="brush:html">
<div id="outer_container">
<div id="customScrollBox">
<div class="container">
<div class="content">
<h1>SIDE<span class="lightgrey">WAYS</span> <span class="light"><span class="grey"><span class="s36">JQUERY FULLSCREEN IMAGE GALLERY</span></span></span></h1>

A simple, yet elegant fullscreen image gallery created with the jQuery framework and some simple CSS. <a href="http://manos.malihu.gr/sideways-jquery-fullscreen-image-gallery" target="_blank">Full post and download files.</a>
<div id="toolbar"></div>
<div class="clear"></div>

            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_lucernarium.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_lucernarium_thumb.jpg" title="Supremus Lucernarium" alt="Supremus Lucernarium" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_denebola.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_denebola_thumb.jpg" title="Denebola" alt="Denebola" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_lux.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_lux_thumb.jpg" title="Lux Aeterna" alt="Lux Aeterna" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_dk.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_dk_thumb.jpg" title="X-Wing on patrol" alt="X-Wing on patrol" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_albireo.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_albireo_thumb.jpg" title="Albireo Outpost" alt="Albireo Outpost" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_church.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_church_thumb.jpg" title="Church of Heaven" alt="Church of Heaven" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_Decampment.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_Decampment_thumb.jpg" title="Decampment" alt="Decampment" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_Hibernaculum.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_Hibernaculum_thumb.jpg" title="Hibernaculum" alt="Hibernaculum" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_moons.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_moons_thumb.jpg" title="Aurea Mediocritas" alt="Aurea Mediocritas" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_praedestinatio.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_praedestinatio_thumb.jpg" title="Praedestinatio" alt="Praedestinatio" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_transitorius.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_transitorius_thumb.jpg" title="Transitorius" alt="Transitorius" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_victimofgravity.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_victimofgravity_thumb.jpg" title="Victim of Gravity" alt="Victim of Gravity" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_lucernarium.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_lucernarium_thumb.jpg" title="Supremus Lucernarium" alt="Supremus Lucernarium" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_denebola.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_denebola_thumb.jpg" title="Denebola" alt="Denebola" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_lux.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_lux_thumb.jpg" title="Lux Aeterna" alt="Lux Aeterna" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_dk.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_dk_thumb.jpg" title="X-Wing on patrol" alt="X-Wing on patrol" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_albireo.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_albireo_thumb.jpg" title="Albireo Outpost" alt="Albireo Outpost" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_church.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_church_thumb.jpg" title="Church of Heaven" alt="Church of Heaven" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_Decampment.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_Decampment_thumb.jpg" title="Decampment" alt="Decampment" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_Hibernaculum.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_Hibernaculum_thumb.jpg" title="Hibernaculum" alt="Hibernaculum" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_moons.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_moons_thumb.jpg" title="Aurea Mediocritas" alt="Aurea Mediocritas" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_praedestinatio.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_praedestinatio_thumb.jpg" title="Praedestinatio" alt="Praedestinatio" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_transitorius.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_transitorius_thumb.jpg" title="Transitorius" alt="Transitorius" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_victimofgravity.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_victimofgravity_thumb.jpg" title="Victim of Gravity" alt="Victim of Gravity" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_dk.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_dk_thumb.jpg" title="X-Wing on patrol" alt="X-Wing on patrol" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_albireo.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_albireo_thumb.jpg" title="Albireo Outpost" alt="Albireo Outpost" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_church.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_church_thumb.jpg" title="Church of Heaven" alt="Church of Heaven" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_Decampment.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_Decampment_thumb.jpg" title="Decampment" alt="Decampment" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_Hibernaculum.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_Hibernaculum_thumb.jpg" title="Hibernaculum" alt="Hibernaculum" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_moons.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_moons_thumb.jpg" title="Aurea Mediocritas" alt="Aurea Mediocritas" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_praedestinatio.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_praedestinatio_thumb.jpg" title="Praedestinatio" alt="Praedestinatio" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_transitorius.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_transitorius_thumb.jpg" title="Transitorius" alt="Transitorius" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_victimofgravity.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_victimofgravity_thumb.jpg" title="Victim of Gravity" alt="Victim of Gravity" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_victimofgravity.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_victimofgravity_thumb.jpg" title="Victim of Gravity" alt="Victim of Gravity" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_lucernarium.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_lucernarium_thumb.jpg" title="Supremus Lucernarium" alt="Supremus Lucernarium" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_denebola.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_denebola_thumb.jpg" title="Denebola" alt="Denebola" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_lux.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_lux_thumb.jpg" title="Lux Aeterna" alt="Lux Aeterna" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_dk.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_dk_thumb.jpg" title="X-Wing on patrol" alt="X-Wing on patrol" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_albireo.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_albireo_thumb.jpg" title="Albireo Outpost" alt="Albireo Outpost" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_church.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_church_thumb.jpg" title="Church of Heaven" alt="Church of Heaven" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_Decampment.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_Decampment_thumb.jpg" title="Decampment" alt="Decampment" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_praedestinatio.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_praedestinatio_thumb.jpg" title="Praedestinatio" alt="Praedestinatio" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_transitorius.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_transitorius_thumb.jpg" title="Transitorius" alt="Transitorius" class="thumb" /></a>
            <a href="imgs/space/Universe_and_planets_digital_art_wallpaper_victimofgravity.jpg" class="thumb_link"><span class="selected"></span><img src="imgs/space/Universe_and_planets_digital_art_wallpaper_victimofgravity_thumb.jpg" title="Victim of Gravity" alt="Victim of Gravity" class="thumb" /></a>
<p class="clear">

Created by <a href="http://manos.malihu.gr" target="_blank">malihu</a> and his cats on a hot summer day.
</div>
</div>
<div id="dragger_container">
<div id="dragger"></div>
</div>
</div>
</div>
<div id="bg">
    <img src="imgs/space/Universe_and_planets_digital_art_wallpaper_lucernarium.jpg" title="Supremus Lucernarium" id="bgimg" />
<div id="preloader"><img src="ajax-loader_dark.gif" width="32" height="32" align="absmiddle" />LOADING...</div>
<div id="arrow_indicator"><img src="sw_arrow_indicator.png" width="50" height="50"  /></div>
<div id="nextimage_tip">Click for next image</div>
</div>
</pre>
<p>That&#8217;s about it. As with every script and tutorial on this blog, you can use it on any project you choose (yes, even commercial!), develop it further or just make it better. The images used on the <a href="http://manos.malihu.gr/tuts/sideways_jquery_fullscreen_image_gallery.html" target="_blank">demo</a> are artwork of <a href="http://gtgraphics.de" target="_blank">Tobias Roetsch</a>. Have fun!</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fsideways-jquery-fullscreen-image-gallery&amp;title=SIDEWAYS+-+jQuery+fullscreen+image+gallery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fsideways-jquery-fullscreen-image-gallery&amp;title=SIDEWAYS+-+jQuery+fullscreen+image+gallery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fsideways-jquery-fullscreen-image-gallery&amp;title=SIDEWAYS+-+jQuery+fullscreen+image+gallery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=SIDEWAYS+-+jQuery+fullscreen+image+gallery&amp;url=http%3A%2F%2Fmanos.malihu.gr%2Fsideways-jquery-fullscreen-image-gallery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/malihu?a=7W6HA1Kcl0g:JOtAWHDsVjM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/malihu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=7W6HA1Kcl0g:JOtAWHDsVjM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/malihu?i=7W6HA1Kcl0g:JOtAWHDsVjM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=7W6HA1Kcl0g:JOtAWHDsVjM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/malihu?i=7W6HA1Kcl0g:JOtAWHDsVjM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=7W6HA1Kcl0g:JOtAWHDsVjM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/malihu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=7W6HA1Kcl0g:JOtAWHDsVjM:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/malihu?i=7W6HA1Kcl0g:JOtAWHDsVjM:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=7W6HA1Kcl0g:JOtAWHDsVjM:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/malihu?d=TzevzKxY174" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://manos.malihu.gr/sideways-jquery-fullscreen-image-gallery/feed</wfw:commentRss>
		<slash:comments>372</slash:comments>
		<feedburner:origLink>http://manos.malihu.gr/sideways-jquery-fullscreen-image-gallery</feedburner:origLink></item>
		<item>
		<title>Simple jQuery fullscreen image gallery</title>
		<link>http://feedproxy.google.com/~r/malihu/~3/ViPhvTbZi4o/simple-jquery-fullscreen-image-gallery</link>
		<comments>http://manos.malihu.gr/simple-jquery-fullscreen-image-gallery#comments</comments>
		<pubDate>Wed, 08 Sep 2010 15:58:43 +0000</pubDate>
		<dc:creator>malihu</dc:creator>
				<category><![CDATA[Images]]></category>
		<category><![CDATA[jQuery/Javascript]]></category>
		<category><![CDATA[fullscreen image]]></category>
		<category><![CDATA[image gallery]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[thumbnail scroller]]></category>

		<guid isPermaLink="false">http://manos.malihu.gr/?p=260</guid>
		<description><![CDATA[A fullscreen image gallery made with jQuery and CSS. DEMO DOWNLOAD Simple and elegant image gallery made by a combination of some previous scripts/tutorials posted on this blog. As of 23/01/2011 the gallery features next/previous image functionality via buttons and keyboard arrows. Thumbnails scrolling function has been optimized significantly. The demo and .zip files are [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:left; margin:2px 0 0 0;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmanos.malihu.gr%2Fsimple-jquery-fullscreen-image-gallery"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmanos.malihu.gr%2Fsimple-jquery-fullscreen-image-gallery&amp;source=malihu&amp;style=compact&amp;service=bit.ly&amp;service_api=R_c23a582d6fa25b84206f8d7812019403&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A fullscreen image gallery made with <a href="http://jquery.com/" target="_blank">jQuery</a> and CSS.</p>
<p><img class="malihuwork" title="jQuery fullscreen image gallery" src="http://manos.malihu.gr/wp-content/uploads/2010/10/sjfig.jpg" alt="jQuery fullscreen image gallery" width="510" height="277" /><br />
<span id="more-260"></span></p>
<p><a class="malihu_btn" href="http://manos.malihu.gr/tuts/malihu-jquery-image-gallery/malihu-jquery-image-gallery.html" target="_blank">DEMO</a> <a class="malihu_btn" href="http://manos.malihu.gr/tuts/malihu-jquery-image-gallery/malihu-jquery-image-gallery.zip">DOWNLOAD</a></p>
<p>Simple and elegant image gallery made by a combination of some previous scripts/tutorials posted on this blog.</p>
<p><em>As of 23/01/2011 the gallery features next/previous image functionality via buttons and keyboard arrows. Thumbnails scrolling function has been optimized significantly. The demo and .zip files are updated.</em></p>
<p><strong>The code</strong></p>
<p>The css with some custom font via <a href="http://code.google.com/apis/webfonts/" target="_blank">Google font API</a></p>
<pre class="brush:css">@import url(http://fonts.googleapis.com/css?family=Josefin+Sans+Std+Light);
html,body{height:100%;}
*{outline:none;}
body{margin:0px; padding:0px; background:#000;}
#toolbar{position:fixed; z-index:3; right:10px; top:10px; padding:5px; background:url(fs_img_g_bg.png);}
#toolbar img{border:none;}
#img_title{position:fixed; z-index:3; left:10px; top:10px; padding:10px; background:url(fs_img_g_bg.png); color:#FFF; font-family:'Josefin Sans Std Light', arial, serif; font-size:24px; text-transform:uppercase;}
#bg{position:fixed; z-index:1; overflow:hidden; width:100%; height:100%;}
#bgimg{display:none; -ms-interpolation-mode: bicubic;}
#preloader{position:relative; z-index:3; width:32px; padding:20px; top:80px; margin:auto; background:#000;}
#thumbnails_wrapper{z-index:2; position:fixed; bottom:0; width:100%; background:url(empty.gif); /* stupid ie needs a background value to understand hover area */}
#outer_container{position:relative; padding:0; width:100%; margin:40px auto;}
#outer_container .thumbScroller{position:relative; overflow:hidden; background:url(fs_img_g_bg.png);}
#outer_container .thumbScroller, #outer_container .thumbScroller .container, #outer_container .thumbScroller .content{height:170px;}
#outer_container .thumbScroller .container{position:relative; left:0;}
#outer_container .thumbScroller .content{float:left;}
#outer_container .thumbScroller .content div{margin:5px; height:100%;}
#outer_container .thumbScroller img{border:5px solid #fff;}
#outer_container .thumbScroller .content div a{display:block; padding:5px;}
.nextImageBtn, .prevImageBtn{display:block; position:absolute; width:50px; height:50px; top:50%; margin:-25px 10px 0 10px; z-index:3; filter:alpha(opacity=40); -moz-opacity:0.4; -khtml-opacity:0.4; opacity:0.4;}
.nextImageBtn:hover,.prevImageBtn:hover{filter:alpha(opacity=80); -moz-opacity:0.8; -khtml-opacity:0.8; opacity:0.8;}
.nextImageBtn{right:0; background:#000 url(nextImgBtn.png) center center no-repeat;}
.prevImageBtn{background:#000 url(prevImgBtn.png) center center no-repeat;}</pre>
<p>The jQuery scripts and plugins inside head tag</p>
<pre class="brush:js">&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="jquery.easing.1.3.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
<p>The full javascript code is inserted in the end of the document, just before the closing body tag.</p>
<pre class="brush:js">
&lt;script&gt;
//config
//set default images view mode
$defaultViewMode="full"; //full, normal, original
$tsMargin=30; //first and last thumbnail margin (for better cursor interaction)
$scrollEasing=600; //scroll easing amount (0 for no easing)
$scrollEasingType="easeOutCirc"; //scroll easing type
$thumbnailsContainerOpacity=0.8; //thumbnails area default opacity
$thumbnailsContainerMouseOutOpacity=0; //thumbnails area opacity on mouse out
$thumbnailsOpacity=0.6; //thumbnails default opacity
$nextPrevBtnsInitState="show"; //next/previous image buttons initial state ("hide" or "show")
$keyboardNavigation="on"; //enable/disable keyboard navigation ("on" or "off")

//cache vars
$thumbnails_wrapper=$("#thumbnails_wrapper");
$outer_container=$("#outer_container");
$thumbScroller=$(".thumbScroller");
$thumbScroller_container=$(".thumbScroller .container");
$thumbScroller_content=$(".thumbScroller .content");
$thumbScroller_thumb=$(".thumbScroller .thumb");
$preloader=$("#preloader");
$toolbar=$("#toolbar");
$toolbar_a=$("#toolbar a");
$bgimg=$("#bgimg");
$img_title=$("#img_title");
$nextImageBtn=$(".nextImageBtn");
$prevImageBtn=$(".prevImageBtn");

$(window).load(function() {
	$toolbar.data("imageViewMode",$defaultViewMode); //default view mode
	if($defaultViewMode=="full"){
		$toolbar_a.html("<img src='toolbar_n_icon.png' width='50' height='50'  />").attr("onClick", "ImageViewMode('normal');return false").attr("title", "Restore");
	} else {
		$toolbar_a.html("<img src='toolbar_fs_icon.png' width='50' height='50'  />").attr("onClick", "ImageViewMode('full');return false").attr("title", "Maximize");
	}
	ShowHideNextPrev($nextPrevBtnsInitState);
	//thumbnail scroller
	$thumbScroller_container.css("marginLeft",$tsMargin+"px"); //add margin
	sliderLeft=$thumbScroller_container.position().left;
	sliderWidth=$outer_container.width();
	$thumbScroller.css("width",sliderWidth);
	var totalContent=0;
	fadeSpeed=200;

	var $the_outer_container=document.getElementById("outer_container");
	var $placement=findPos($the_outer_container);

	$thumbScroller_content.each(function () {
		var $this=$(this);
		totalContent+=$this.innerWidth();
		$thumbScroller_container.css("width",totalContent);
		$this.children().children().children(".thumb").fadeTo(fadeSpeed, $thumbnailsOpacity);
	});

	$thumbScroller.mousemove(function(e){
		if($thumbScroller_container.width()&gt;sliderWidth){
	  		var mouseCoords=(e.pageX - $placement[1]);
	  		var mousePercentX=mouseCoords/sliderWidth;
	  		var destX=-((((totalContent+($tsMargin*2))-(sliderWidth))-sliderWidth)*(mousePercentX));
	  		var thePosA=mouseCoords-destX;
	  		var thePosB=destX-mouseCoords;
	  		if(mouseCoords&gt;destX){
		  		$thumbScroller_container.stop().animate({left: -thePosA}, $scrollEasing,$scrollEasingType); //with easing
	  		} else if(mouseCoords&lt;destX){
		  		$thumbScroller_container.stop().animate({left: thePosB}, $scrollEasing,$scrollEasingType); //with easing
	  		} else {
				$thumbScroller_container.stop();
	  		}
		}
	});

	$thumbnails_wrapper.fadeTo(fadeSpeed, $thumbnailsContainerOpacity);
	$thumbnails_wrapper.hover(
		function(){ //mouse over
			var $this=$(this);
			$this.stop().fadeTo("slow", 1);
		},
		function(){ //mouse out
			var $this=$(this);
			$this.stop().fadeTo("slow", $thumbnailsContainerMouseOutOpacity);
		}
	);

	$thumbScroller_thumb.hover(
		function(){ //mouse over
			var $this=$(this);
			$this.stop().fadeTo(fadeSpeed, 1);
		},
		function(){ //mouse out
			var $this=$(this);
			$this.stop().fadeTo(fadeSpeed, $thumbnailsOpacity);
		}
	);

	//on window resize scale image and reset thumbnail scroller
	$(window).resize(function() {
		FullScreenBackground("#bgimg",$bgimg.data("newImageW"),$bgimg.data("newImageH"));
		$thumbScroller_container.stop().animate({left: sliderLeft}, 400,"easeOutCirc");
		var newWidth=$outer_container.width();
		$thumbScroller.css("width",newWidth);
		sliderWidth=newWidth;
		$placement=findPos($the_outer_container);
	});

	//load 1st image
	var the1stImg = new Image();
	the1stImg.onload = CreateDelegate(the1stImg, theNewImg_onload);
	the1stImg.src = $bgimg.attr("src");
	$outer_container.data("nextImage",$(".content").first().next().find("a").attr("href"));
	$outer_container.data("prevImage",$(".content").last().find("a").attr("href"));
});

function BackgroundLoad($this,imageWidth,imageHeight,imgSrc){
	$this.fadeOut("fast",function(){
		$this.attr("src", "").attr("src", imgSrc); //change image source
		FullScreenBackground($this,imageWidth,imageHeight); //scale background image
		$preloader.fadeOut("fast",function(){$this.fadeIn("slow");});
		var imageTitle=$img_title.data("imageTitle");
		if(imageTitle){
			$this.attr("alt", imageTitle).attr("title", imageTitle);
			$img_title.fadeOut("fast",function(){
				$img_title.html(imageTitle).fadeIn();
			});
		} else {
			$img_title.fadeOut("fast",function(){
				$img_title.html($this.attr("title")).fadeIn();
			});
		}
	});
}

//mouseover toolbar
if($toolbar.css("display")!="none"){
	$toolbar.fadeTo("fast", 0.4);
}
$toolbar.hover(
	function(){ //mouse over
		var $this=$(this);
		$this.stop().fadeTo("fast", 1);
	},
	function(){ //mouse out
		var $this=$(this);
		$this.stop().fadeTo("fast", 0.4);
	}
);

//Clicking on thumbnail changes the background image
$("#outer_container a").click(function(event){
	event.preventDefault();
	var $this=$(this);
	GetNextPrevImages($this);
	GetImageTitle($this);
	SwitchImage(this);
	ShowHideNextPrev("show");
}); 

//next/prev images buttons
$nextImageBtn.click(function(event){
	event.preventDefault();
	SwitchImage($outer_container.data("nextImage"));
	var $this=$("#outer_container a[href='"+$outer_container.data("nextImage")+"']");
	GetNextPrevImages($this);
	GetImageTitle($this);
});

$prevImageBtn.click(function(event){
	event.preventDefault();
	SwitchImage($outer_container.data("prevImage"));
	var $this=$("#outer_container a[href='"+$outer_container.data("prevImage")+"']");
	GetNextPrevImages($this);
	GetImageTitle($this);
});

//next/prev images keyboard arrows
if($keyboardNavigation=="on"){
$(document).keydown(function(ev) {
    if(ev.keyCode == 39) { //right arrow
        SwitchImage($outer_container.data("nextImage"));
		var $this=$("#outer_container a[href='"+$outer_container.data("nextImage")+"']");
		GetNextPrevImages($this);
		GetImageTitle($this);
        return false; // don't execute the default action (scrolling or whatever)
    } else if(ev.keyCode == 37) { //left arrow
        SwitchImage($outer_container.data("prevImage"));
		var $this=$("#outer_container a[href='"+$outer_container.data("prevImage")+"']");
		GetNextPrevImages($this);
		GetImageTitle($this);
        return false; // don't execute the default action (scrolling or whatever)
    }
});
}

function ShowHideNextPrev(state){
	if(state=="hide"){
		$nextImageBtn.fadeOut();
		$prevImageBtn.fadeOut();
	} else {
		$nextImageBtn.fadeIn();
		$prevImageBtn.fadeIn();
	}
}

//get image title
function GetImageTitle(elem){
	var title_attr=elem.children("img").attr("title"); //get image title attribute
	$img_title.data("imageTitle", title_attr); //store image title
}

//get next/prev images
function GetNextPrevImages(curr){
	var nextImage=curr.parents(".content").next().find("a").attr("href");
	if(nextImage==null){ //if last image, next is first
		var nextImage=$(".content").first().find("a").attr("href");
	}
	$outer_container.data("nextImage",nextImage);
	var prevImage=curr.parents(".content").prev().find("a").attr("href");
	if(prevImage==null){ //if first image, previous is last
		var prevImage=$(".content").last().find("a").attr("href");
	}
	$outer_container.data("prevImage",prevImage);
}

//switch image
function SwitchImage(img){
	$preloader.fadeIn("fast"); //show preloader
	var theNewImg = new Image();
	theNewImg.onload = CreateDelegate(theNewImg, theNewImg_onload);
	theNewImg.src = img;
}

//get new image dimensions
function CreateDelegate(contextObject, delegateMethod){
	return function(){
		return delegateMethod.apply(contextObject, arguments);
	}
}

//new image on load
function theNewImg_onload(){
	$bgimg.data("newImageW",this.width).data("newImageH",this.height);
	BackgroundLoad($bgimg,this.width,this.height,this.src);
}

//Image scale function
function FullScreenBackground(theItem,imageWidth,imageHeight){
	var winWidth=$(window).width();
	var winHeight=$(window).height();
	if($toolbar.data("imageViewMode")!="original"){ //scale
		var picHeight = imageHeight / imageWidth;
		var picWidth = imageWidth / imageHeight;
		if($toolbar.data("imageViewMode")=="full"){ //fullscreen size image mode
			if ((winHeight / winWidth) &lt; picHeight) {
				$(theItem).attr("width",winWidth);
				$(theItem).attr("height",picHeight*winWidth);
			} else {
				$(theItem).attr("height",winHeight);
				$(theItem).attr("width",picWidth*winHeight);
			};
		} else { //normal size image mode
			if ((winHeight / winWidth) &gt; picHeight) {
				$(theItem).attr("width",winWidth);
				$(theItem).attr("height",picHeight*winWidth);
			} else {
				$(theItem).attr("height",winHeight);
				$(theItem).attr("width",picWidth*winHeight);
			};
		}
		$(theItem).css("margin-left",(winWidth-$(theItem).width())/2);
		$(theItem).css("margin-top",(winHeight-$(theItem).height())/2);
	} else { //no scale
		$(theItem).attr("width",imageWidth);
		$(theItem).attr("height",imageHeight);
		$(theItem).css("margin-left",(winWidth-imageWidth)/2);
		$(theItem).css("margin-top",(winHeight-imageHeight)/2);
	}
}

//Image view mode function - fullscreen or normal size
function ImageViewMode(theMode){
	$toolbar.data("imageViewMode", theMode);
	FullScreenBackground($bgimg,$bgimg.data("newImageW"),$bgimg.data("newImageH"));
	if(theMode=="full"){
		$toolbar_a.html("<img src='toolbar_n_icon.png' width='50' height='50'  />").attr("onClick", "ImageViewMode('normal');return false").attr("title", "Restore");
	} else {
		$toolbar_a.html("<img src='toolbar_fs_icon.png' width='50' height='50'  />").attr("onClick", "ImageViewMode('full');return false").attr("title", "Maximize");
	}
}

//function to find element Position
	function findPos(obj) {
		var curleft = curtop = 0;
		if (obj.offsetParent) {
			curleft = obj.offsetLeft
			curtop = obj.offsetTop
			while (obj = obj.offsetParent) {
				curleft += obj.offsetLeft
				curtop += obj.offsetTop
			}
		}
		return [curtop, curleft];
	}
&lt;/script&gt;
</pre>
<p>The markup</p>
<pre class="brush:html">
<div id="bg"><a href="#" class="nextImageBtn" title="next"></a><a href="#" class="prevImageBtn" title="previous"></a><img src="images/Universe_and_planets_digital_art_wallpaper_denebola.jpg" width="1680" height="1050" alt="Denebola" title="Denebola" id="bgimg" /></div>
<div id="preloader"><img src="ajax-loader_dark.gif" width="32" height="32" /></div>
<div id="img_title"></div>
<div id="toolbar"><a href="#" title="Maximize" onClick="ImageViewMode('full');return false"><img src="toolbar_fs_icon.png" width="50" height="50"  /></a></div>
<div id="thumbnails_wrapper">
<div id="outer_container">
<div class="thumbScroller">
<div class="container">
<div class="content">
<div><a href="images/Universe_and_planets_digital_art_wallpaper_denebola.jpg"><img src="images/Universe_and_planets_digital_art_wallpaper_denebola_thumb.jpg" title="Denebola" alt="Denebola" class="thumb" /></a></div>
</div>
<div class="content">
<div><a href="images/Universe_and_planets_digital_art_wallpaper_lux.jpg"><img src="images/Universe_and_planets_digital_art_wallpaper_lux_thumb.jpg" title="Lux Aeterna" alt="Lux Aeterna" class="thumb" /></a></div>
</div>
<div class="content">
<div><a href="images/Universe_and_planets_digital_art_wallpaper_dk.jpg"><img src="images/Universe_and_planets_digital_art_wallpaper_dk_thumb.jpg" title="X-Wing on patrol" alt="X-Wing on patrol" class="thumb" /></a></div>
</div>
<div class="content">
<div><a href="images/Universe_and_planets_digital_art_wallpaper_albireo.jpg"><img src="images/Universe_and_planets_digital_art_wallpaper_albireo_thumb.jpg" title="Albireo Outpost" alt="Albireo Outpost" class="thumb" /></a></div>
</div>
<div class="content">
<div><a href="images/Universe_and_planets_digital_art_wallpaper_church.jpg"><img src="images/Universe_and_planets_digital_art_wallpaper_church_thumb.jpg" title="Church of Heaven" alt="Church of Heaven" class="thumb" /></a></div>
</div>
<div class="content">
<div><a href="images/Universe_and_planets_digital_art_wallpaper_Decampment.jpg"><img src="images/Universe_and_planets_digital_art_wallpaper_Decampment_thumb.jpg" title="Decampment" alt="Decampment" class="thumb" /></a></div>
</div>
<div class="content">
<div><a href="images/Universe_and_planets_digital_art_wallpaper_Hibernaculum.jpg"><img src="images/Universe_and_planets_digital_art_wallpaper_Hibernaculum_thumb.jpg" title="Hibernaculum" alt="Hibernaculum" class="thumb" /></a></div>
</div>
<div class="content">
<div><a href="images/Universe_and_planets_digital_art_wallpaper_lucernarium.jpg"><img src="images/Universe_and_planets_digital_art_wallpaper_lucernarium_thumb.jpg" title="Supremus Lucernarium" alt="Supremus Lucernarium" class="thumb" /></a></div>
</div>
<div class="content">
<div><a href="images/Universe_and_planets_digital_art_wallpaper_moons.jpg"><img src="images/Universe_and_planets_digital_art_wallpaper_moons_thumb.jpg" title="Aurea Mediocritas" alt="Aurea Mediocritas" class="thumb" /></a></div>
</div>
<div class="content">
<div><a href="images/Universe_and_planets_digital_art_wallpaper_praedestinatio.jpg"><img src="images/Universe_and_planets_digital_art_wallpaper_praedestinatio_thumb.jpg" title="Praedestinatio" alt="Praedestinatio" class="thumb" /></a></div>
</div>
<div class="content">
<div><a href="images/Universe_and_planets_digital_art_wallpaper_transitorius.jpg"><img src="images/Universe_and_planets_digital_art_wallpaper_transitorius_thumb.jpg" title="Transitorius" alt="Transitorius" class="thumb" /></a></div>
</div>
<div class="content">
<div><a href="images/Universe_and_planets_digital_art_wallpaper_victimofgravity.jpg"><img src="images/Universe_and_planets_digital_art_wallpaper_victimofgravity_thumb.jpg" title="Victim of Gravity" alt="Victim of Gravity" class="thumb" /></a></div>
</div>
</div>
</div>
</div>
</div>
</pre>
<p>The $defaultViewMode variable allows you to change the default images view mode. You can set the value to: </p>
<ul>
<li><em>normal</em> &#8211; images fit in window (all image data is visible)</li>
<li><em>full</em> &#8211; images expand to window size (fullscreen)</li>
<li><em>original</em> &#8211; images keep their original sizes (centered on the screen)</li>
</ul>
<p>The rest of configuration options you can set within the script are: </p>
<ul>
<li><em>$tsMargin</em> &#8211; first and last thumbnail margin (for better cursor interaction) </li>
<li><em>$scrollEasing</em> &#8211; scroll easing amount (0 for no easing) </li>
<li><em>$scrollEasingType</em> &#8211; scroll easing type </li>
<li><em>$thumbnailsContainerOpacity</em> &#8211; thumbnails area default opacity</li>
<li><em>$thumbnailsContainerMouseOutOpacity</em> &#8211; thumbnails area opacity on mouse out</li>
<li><em>$thumbnailsOpacity</em> &#8211; thumbnails default opacity</li>
<li><em>$nextPrevBtnsInitState</em> &#8211; next/previous image buttons initial state (&#8220;hide&#8221; or &#8220;show&#8221;)</li>
<li><em>$keyboardNavigation</em> &#8211; enable/disable keyboard navigation (&#8220;on&#8221; or &#8220;off&#8221;)</li>
</ul>
<p>That&#8217;s all! The images used on the <a href="http://manos.malihu.gr/tuts/malihu-jquery-image-gallery/malihu-jquery-image-gallery.html" target="_blank">demo</a> are artwork of <a href="http://gtgraphics.de" target="_blank">Tobias Roetsch</a>. You&#8217;re free to use/modify this script however you like (donations are welcome) <img src='http://manos.malihu.gr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fsimple-jquery-fullscreen-image-gallery&amp;title=Simple+jQuery+fullscreen+image+gallery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fsimple-jquery-fullscreen-image-gallery&amp;title=Simple+jQuery+fullscreen+image+gallery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fsimple-jquery-fullscreen-image-gallery&amp;title=Simple+jQuery+fullscreen+image+gallery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Simple+jQuery+fullscreen+image+gallery&amp;url=http%3A%2F%2Fmanos.malihu.gr%2Fsimple-jquery-fullscreen-image-gallery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/malihu?a=ViPhvTbZi4o:5mZ3FkfBer4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/malihu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=ViPhvTbZi4o:5mZ3FkfBer4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/malihu?i=ViPhvTbZi4o:5mZ3FkfBer4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=ViPhvTbZi4o:5mZ3FkfBer4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/malihu?i=ViPhvTbZi4o:5mZ3FkfBer4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=ViPhvTbZi4o:5mZ3FkfBer4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/malihu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=ViPhvTbZi4o:5mZ3FkfBer4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/malihu?i=ViPhvTbZi4o:5mZ3FkfBer4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=ViPhvTbZi4o:5mZ3FkfBer4:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/malihu?d=TzevzKxY174" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://manos.malihu.gr/simple-jquery-fullscreen-image-gallery/feed</wfw:commentRss>
		<slash:comments>208</slash:comments>
		<feedburner:origLink>http://manos.malihu.gr/simple-jquery-fullscreen-image-gallery</feedburner:origLink></item>
		<item>
		<title>How to use @font-face</title>
		<link>http://feedproxy.google.com/~r/malihu/~3/ZEtLbH3B2aA/how-to-use-font-face</link>
		<comments>http://manos.malihu.gr/how-to-use-font-face#comments</comments>
		<pubDate>Sun, 05 Sep 2010 15:16:58 +0000</pubDate>
		<dc:creator>malihu</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[@font-face]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[fonts]]></category>

		<guid isPermaLink="false">http://manos.malihu.gr/?p=255</guid>
		<description><![CDATA[A quick guide on how to use CSS @font-face in order to get custom fonts on any web page. DEMO DOWNLOAD Firstly, you&#8217;ll need to find a nice-free font in order to use it on your web page. Graublau Sans Web by Georg Seifert is a perfect font for our example since it&#8217;s free and [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:left; margin:2px 0 0 0;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmanos.malihu.gr%2Fhow-to-use-font-face"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmanos.malihu.gr%2Fhow-to-use-font-face&amp;source=malihu&amp;style=compact&amp;service=bit.ly&amp;service_api=R_c23a582d6fa25b84206f8d7812019403&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A quick guide on how to use CSS @font-face in order to get custom fonts on any web page.<br />
<span id="more-255"></span></p>
<p><a class="malihu_btn" href="http://manos.malihu.gr/tuts/font-face/" target="_blank">DEMO</a> <a class="malihu_btn" href="http://manos.malihu.gr/tuts/font-face/font-face.zip">DOWNLOAD</a></p>
<p>Firstly, you&#8217;ll need to find a nice-free font in order to use it on your web page. <a href="http://www.fonts.info/info/press/free-fonts-for-font-face-embedding.htm" target="_blank">Graublau Sans Web by Georg Seifert</a> is a perfect font for our example since it&#8217;s free and supports many languages. Download the font on your drive and continue&#8230;</p>
<p>In order to support as many as possible browsers and devices, we need to first create and then use different formats of our font (.ttf/.otf, .eot, .woff, .svg etc.). There are numerous tools to convert fonts but the best I&#8217;ve come across is <a href="http://www.fontsquirrel.com/fontface/generator" target="_blank">FontSquirrel @font-face Generator</a>. A free and pretty fast online tool with many options and features that generates all necessary formats from a single font.</p>
<p>After you convert the font in all formats, create a directory named &#8220;fonts&#8221; and copy all the fonts formats inside it. Create a new html document in the root directory of your web site (on the same level where the <em>fonts</em> folder resides) and insert the following CSS:</p>
<pre class="brush:css">@font-face {
	font-family: 'graublauweb-webfont';
	src: url('fonts/graublauweb-webfont.eot');
	src: local('☺'), url('fonts/graublauweb-webfont.woff') format('woff'), url('fonts/graublauweb-webfont.ttf') format('truetype'), url('fonts/graublauweb-webfont.svg#webfont8xigBfG2') format('svg');
}
h1 {
	font-family:"graublauweb-webfont", Helvetica, Arial, sans-serif;
	font-size:48px;
}</pre>
<p>@font-face loads all necessary formats and we set the font-family the same way we would do normally.</p>
<p>It&#8217;s best not to use the original font name (e.g. <em>GraublauWeb</em>) in <em>font-family</em> to prevent any user that happens to have the font locally installed, to load it from his/her machine (CSS issue). We need and <a href="http://typophile.com/node/63992" target="_blank">should load our font that resides on our web server and not on user&#8217;s pc</a>, so remember to use different names (e.g. <em>graublauweb-webfont</em>).</p>
<p>Next we insert our simple markup:</p>
<pre class="brush:html">
<h1>This is a heading with some custom font.</h1>
</pre>
<p>That&#8217;s about it! Test the page in a browser to see the results.</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fhow-to-use-font-face&amp;title=How+to+use+%40font-face" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fhow-to-use-font-face&amp;title=How+to+use+%40font-face" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fhow-to-use-font-face&amp;title=How+to+use+%40font-face" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=How+to+use+%40font-face&amp;url=http%3A%2F%2Fmanos.malihu.gr%2Fhow-to-use-font-face" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/malihu?a=ZEtLbH3B2aA:Yamnqzo1aIE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/malihu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=ZEtLbH3B2aA:Yamnqzo1aIE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/malihu?i=ZEtLbH3B2aA:Yamnqzo1aIE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=ZEtLbH3B2aA:Yamnqzo1aIE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/malihu?i=ZEtLbH3B2aA:Yamnqzo1aIE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=ZEtLbH3B2aA:Yamnqzo1aIE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/malihu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=ZEtLbH3B2aA:Yamnqzo1aIE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/malihu?i=ZEtLbH3B2aA:Yamnqzo1aIE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=ZEtLbH3B2aA:Yamnqzo1aIE:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/malihu?d=TzevzKxY174" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://manos.malihu.gr/how-to-use-font-face/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://manos.malihu.gr/how-to-use-font-face</feedburner:origLink></item>
		<item>
		<title>Flash image slideshow</title>
		<link>http://feedproxy.google.com/~r/malihu/~3/dtYcXEQVeoQ/flash-image-slideshow</link>
		<comments>http://manos.malihu.gr/flash-image-slideshow#comments</comments>
		<pubDate>Sun, 05 Sep 2010 11:05:14 +0000</pubDate>
		<dc:creator>malihu</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[Transitions]]></category>
		<category><![CDATA[banner rotator]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://manos.malihu.gr/?p=251</guid>
		<description><![CDATA[A highly customizable, xml-driven dynamic flash slideshow/banner rotator with simple navigation and auto-play feature. DEMO DOWNLOAD Very easy to customize via SWFObject variables and XML attributes. Features include: Set slideshow dimensions via CSS without editing the .fla file) Set the directory of the images and XML file through swfobject variable Set transition types, time, speed [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:left; margin:2px 0 0 0;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmanos.malihu.gr%2Fflash-image-slideshow"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmanos.malihu.gr%2Fflash-image-slideshow&amp;source=malihu&amp;style=compact&amp;service=bit.ly&amp;service_api=R_c23a582d6fa25b84206f8d7812019403&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A highly customizable, xml-driven dynamic flash slideshow/banner rotator with simple navigation and auto-play feature.<br />
<span id="more-251"></span></p>
<p><a class="malihu_btn" href="http://manos.malihu.gr/tuts/flash_slideshow/" target="_blank">DEMO</a> <a class="malihu_btn" href="http://manos.malihu.gr/tuts/flash_slideshow/flash_slideshow.zip">DOWNLOAD</a></p>
<p><img class="malihuwork" title="Flash image slideshow" src="http://manos.malihu.gr/wp-content/uploads/2010/10/fis.jpg" alt="Flash image slideshow" width="510" height="274" /></p>
<p>Very easy to customize via <a href="http://code.google.com/p/swfobject/" target="_blank">SWFObject</a> variables and XML attributes.<br />
Features include: </p>
<ul>
<li>Set slideshow dimensions via CSS without editing the .fla file)</li>
<li>Set the directory of the images and XML file through swfobject variable</li>
<li>Set transition types, time, speed etc. via swfobject variables</li>
<li>Customize slideshow appearance (images scaling, colors, borders, radius corners etc.) via swfobject variables</li>
<li>Customize each slide appearance (text color, background, border, radius corners etc.) through XML attributes</li>
</ul>
<p>This flash slideshow utilizes <a href="http://www.greensock.com/" target="_blank">GreenSock custom classes</a> (files included in the <a href="http://manos.malihu.gr/tuts/flash_slideshow/flash_slideshow.zip">download .zip</a>)</p>
<p>Have fun <img src='http://manos.malihu.gr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fflash-image-slideshow&amp;title=Flash+image+slideshow" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fflash-image-slideshow&amp;title=Flash+image+slideshow" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fflash-image-slideshow&amp;title=Flash+image+slideshow" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Flash+image+slideshow&amp;url=http%3A%2F%2Fmanos.malihu.gr%2Fflash-image-slideshow" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/malihu?a=dtYcXEQVeoQ:OLOFre9T1H8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/malihu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=dtYcXEQVeoQ:OLOFre9T1H8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/malihu?i=dtYcXEQVeoQ:OLOFre9T1H8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=dtYcXEQVeoQ:OLOFre9T1H8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/malihu?i=dtYcXEQVeoQ:OLOFre9T1H8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=dtYcXEQVeoQ:OLOFre9T1H8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/malihu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=dtYcXEQVeoQ:OLOFre9T1H8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/malihu?i=dtYcXEQVeoQ:OLOFre9T1H8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=dtYcXEQVeoQ:OLOFre9T1H8:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/malihu?d=TzevzKxY174" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://manos.malihu.gr/flash-image-slideshow/feed</wfw:commentRss>
		<slash:comments>53</slash:comments>
		<feedburner:origLink>http://manos.malihu.gr/flash-image-slideshow</feedburner:origLink></item>
		<item>
		<title>Flash background with html content</title>
		<link>http://feedproxy.google.com/~r/malihu/~3/_0H7tz0jyeM/flash-background-with-html-content</link>
		<comments>http://manos.malihu.gr/flash-background-with-html-content#comments</comments>
		<pubDate>Sun, 29 Aug 2010 15:37:59 +0000</pubDate>
		<dc:creator>malihu</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[fullscreen image]]></category>

		<guid isPermaLink="false">http://manos.malihu.gr/?p=243</guid>
		<description><![CDATA[Set a flash fullscreen background with html content on top and customize it within html via SWFObject variables. DEMO DOWNLOAD Why a flash background? Because we can and cause all those cool things flash does. The code Load the SWFObject that&#8217;ll embed the flash straight from Google &#60;script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" type="text/javascript"&#62;&#60;/script&#62; The css with some custom [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:left; margin:2px 0 0 0;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmanos.malihu.gr%2Fflash-background-with-html-content"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmanos.malihu.gr%2Fflash-background-with-html-content&amp;source=malihu&amp;style=compact&amp;service=bit.ly&amp;service_api=R_c23a582d6fa25b84206f8d7812019403&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Set a flash fullscreen background with html content on top and customize it within html via <a href="http://code.google.com/p/swfobject/" target="_blank">SWFObject</a> variables.<br />
<span id="more-243"></span></p>
<p><a class="malihu_btn" href="http://manos.malihu.gr/tuts/flash_bg/" target="_blank">DEMO</a> <a class="malihu_btn" href="http://manos.malihu.gr/tuts/flash_bg/flash_bg.zip">DOWNLOAD</a></p>
<p>Why a flash background? Because we can <img src='http://manos.malihu.gr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  and cause all those cool things flash does.</p>
<p><strong>The code</strong></p>
<p>Load the SWFObject that&#8217;ll embed the flash straight from Google</p>
<pre class="brush:js">&lt;script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
<p>The css with some custom fonts via <a href="http://code.google.com/apis/webfonts/" target="_blank">Google font API</a></p>
<pre class="brush:css">@import url(http://fonts.googleapis.com/css?family=Josefin+Sans+Std+Light);
@import url(http://fonts.googleapis.com/css?family=Reenie+Beanie);
*{margin:0; padding:0; border:0;}
html,body{width:100%; height:100%;}
body{background:#000;}
#bg{position:fixed; left:0; top:0; z-index:1;}
#container{position:absolute; width:100%; height:100%; min-width:620px; z-index:2;}
#container .content{width:540px; color:#fff; margin:40px;}
#container .content h1{font-family:'Josefin Sans Std Light', arial, serif; font-size:48px;}
#container .content p{font-family:'Reenie Beanie', arial, serif; font-size:24px; margin:30px 0;}
#container .content p.alt{color:#000; background:#fff; padding:5px 10px;}
#container .content img{border:5px solid #fff;}</pre>
<p>The markup</p>
<pre class="brush:html">
<!-- html content -->
<div id="container">
<div class="content">
<h1>This is html content placed above flash</h1>

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In vulputate consequat massa, non ultrices enim aliquam vitae. Proin at ante ac nisl ultricies dignissim. Ut enim nunc, malesuada eu cursus sit amet, ultricies sit amet nunc. Aliquam rutrum mi nec eros cursus hendrerit.

        <img src="a_thumbnail.jpg" width="250" height="188" />
<p class="alt">Sed dui turpis, accumsan ac porta nec, mollis venenatis mi. Integer eget elit turpis, non congue nulla. Nullam blandit iaculis diam, sit amet gravida sem tempor in.
</div>
</div>

<!-- flash background -->
<div id="bg">
&lt;script type="text/javascript"&gt;
var flashvars = {
  myFile: "a_bg_img.jpg", //set the file URL that flash will load
  myFileType: "image", //set filetype (values: image, flash)
  loadEffect: "Fade" //set load effect - options: "Fade", "Wipe", "Iris", "PixelDissolve", "Photo"
};
var params = {
  id: "bg",
  name: "bg",
  wmode: "transparent",
  menu: "false"
};
var attributes = {
  id: "bg",
  name: "bg",
  wmode: "transparent",
  menu: "false"
};

swfobject.embedSWF("bg.swf", "bg", "100%", "100%", "10.0.45.2","expressInstall.swf", flashvars, params, attributes);
&lt;/script&gt;
</div>
</pre>
<p>Note the 3 variables (&#8220;myFile&#8221;, &#8220;myFileType&#8221; and &#8220;loadEffect&#8221;) inside SWFObject script. You can set the file that&#8217;ll be loaded in flash (&#8220;myFile&#8221;), set its file-type (&#8220;myFileType&#8221;) with values &#8220;image&#8221; or &#8220;flash&#8221; accordingly and the loading effect by setting an option in &#8220;loadEffect&#8221; variable. The available options are: </p>
<ul>
<li>&#8220;Fade&#8221; Fades in background</li>
<li>&#8220;Wipe&#8221; Reveals background with a diagonal mask</li>
<li>&#8220;Iris&#8221; Reveals background with a centered mask</li>
<li>&#8220;PixelDissolve&#8221; Reveals background in blocks</li>
<li>&#8220;Photo&#8221; Reveals background with a photographic-flash effect</li>
</ul>
<p>For example, to load an image, you set its URL in &#8220;myFile&#8221; (e.g. myFile: &#8220;a_bg_img.jpg&#8221;) and set its filetype as &#8220;image&#8221; (myFileType: &#8220;image&#8221;). To load an external SWF, you set its URL in &#8220;myFile&#8221; (e.g. myFile: &#8220;a_bg_swf.swf&#8221;) and set its filetype as &#8220;flash&#8221; (myFileType: &#8220;flash&#8221;).</p>
<p><strong>The actionscript (AS 2.0)</strong></p>
<pre class="brush:plain">
Stage.scaleMode = "noScale";
Stage.align = "TL";

import flash.display.*;
import mx.transitions.*;
import mx.transitions.easing.*;

preloader._x=Stage.width-preloader._width-25;
preloader._y=55;

function loadBitmapData(url:String, target:MovieClip) {
	var imgMC:MovieClip = target.createEmptyMovieClip("imgMC",target.getNextHighestDepth());
	var listener:Object = new Object();
	listener.tmc = target;
	listener.onLoadInit = function(mc:MovieClip) {
		mc._visible = false;

		if(myFileType=="image"){
			var bitmap:BitmapData = new BitmapData(mc._width, mc._height, true);
			this.tmc.attachBitmap(bitmap, this.tmc.getNextHighestDepth(),"auto", true);
			bitmap.draw(mc);
		} else {
			mc.loadMovie(myFile);
		}

		Fullscreen_bg();
		_quality="BEST"; //for best image quality set to "BEST", for better performance set to "HIGH"
		TransitionManager.start(preloader, {type:Fade, direction:Transition.OUT, duration:1, easing:None.easeInOut});
		if(loadEffect=="Fade"){
			TransitionManager.start(bg_mc, {type:Fade, direction:Transition.IN, duration:3, easing:None.easeInOut});
		} else if(loadEffect=="Wipe"){
			TransitionManager.start(bg_mc, {type:Wipe, direction:Transition.IN, duration:3, easing:Regular.easeInOut, startPoint:1});
		} else if(loadEffect=="Iris"){
			TransitionManager.start(bg_mc, {type:Iris, direction:Transition.IN, duration:3, easing:Regular.easeInOut, startPoint:0});
		} else if(loadEffect=="PixelDissolve"){
			TransitionManager.start(bg_mc, {type:PixelDissolve, direction:Transition.IN, duration:3, easing:Regular.easeInOut});
		} else if(loadEffect=="Photo"){
			TransitionManager.start(bg_mc, {type:Photo, direction:Transition.IN, duration:2, easing:Regular.easeOut});
		}

		sizeListener = new Object();
		sizeListener.onResize = function() {
			Fullscreen_bg();
		}
		Stage.addListener(sizeListener);
	};
	var loader:MovieClipLoader = new MovieClipLoader();
	loader.addListener(listener);
	loader.loadClip(url, imgMC);
}

createEmptyMovieClip("bg_mc", getNextHighestDepth());
bg_mc.createEmptyMovieClip("cont", bg_mc.getNextHighestDepth());
loadBitmapData(myFile, bg_mc.cont);

function Fullscreen_bg(){
	picHeight = new Object ();
	picHeight = bg_mc._height / bg_mc._width;
	picWidth = new Object ();
	picWidth = bg_mc._width / bg_mc._height;
	if ((Stage.height / Stage.width) < picHeight) {
		bg_mc._width = Stage.width;
		bg_mc._height = picHeight * bg_mc._width;
	} else {
		bg_mc._height = Stage.height;
		bg_mc._width = picWidth * bg_mc._height;
	};
	bg_mc._x = (Stage.width-bg_mc._width)/2;
	bg_mc._y = (Stage.height-bg_mc._height)/2;
}
</pre>
<p>That's about it. The <a href="http://manos.malihu.gr/tuts/flash_bg/flash_bg.zip">zip file</a> contains the source .fla so you can customize it as you like. Have fun!</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fflash-background-with-html-content&amp;title=Flash+background+with+html+content" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fflash-background-with-html-content&amp;title=Flash+background+with+html+content" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fflash-background-with-html-content&amp;title=Flash+background+with+html+content" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Flash+background+with+html+content&amp;url=http%3A%2F%2Fmanos.malihu.gr%2Fflash-background-with-html-content" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/malihu?a=_0H7tz0jyeM:bJ0EdbhdWTk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/malihu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=_0H7tz0jyeM:bJ0EdbhdWTk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/malihu?i=_0H7tz0jyeM:bJ0EdbhdWTk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=_0H7tz0jyeM:bJ0EdbhdWTk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/malihu?i=_0H7tz0jyeM:bJ0EdbhdWTk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=_0H7tz0jyeM:bJ0EdbhdWTk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/malihu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=_0H7tz0jyeM:bJ0EdbhdWTk:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/malihu?i=_0H7tz0jyeM:bJ0EdbhdWTk:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=_0H7tz0jyeM:bJ0EdbhdWTk:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/malihu?d=TzevzKxY174" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://manos.malihu.gr/flash-background-with-html-content/feed</wfw:commentRss>
		<slash:comments>61</slash:comments>
		<feedburner:origLink>http://manos.malihu.gr/flash-background-with-html-content</feedburner:origLink></item>
		<item>
		<title>Simple navigation with CSS3 and jQuery</title>
		<link>http://feedproxy.google.com/~r/malihu/~3/hH5y9f0vVcg/simple-navigation-with-css3-and-jquery</link>
		<comments>http://manos.malihu.gr/simple-navigation-with-css3-and-jquery#comments</comments>
		<pubDate>Sun, 29 Aug 2010 12:01:13 +0000</pubDate>
		<dc:creator>malihu</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[jQuery/Javascript]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://manos.malihu.gr/?p=235</guid>
		<description><![CDATA[A simple navigation menu built with CSS3 and the jQuery UI. DEMO DEMO WITH SELECTED STATE DOWNLOAD As of 27/10/2011 the script features an optional selected state for menu options (as requested by some users). Also the code itself is much shorter and a bit more optimized. The demo and .zip files are updated. The [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:left; margin:2px 0 0 0;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmanos.malihu.gr%2Fsimple-navigation-with-css3-and-jquery"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmanos.malihu.gr%2Fsimple-navigation-with-css3-and-jquery&amp;source=malihu&amp;style=compact&amp;service=bit.ly&amp;service_api=R_c23a582d6fa25b84206f8d7812019403&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A simple navigation menu built with CSS3 and the <a href="http://jqueryui.com/" target="_blank">jQuery UI</a>.<br />
<span id="more-235"></span></p>
<p><a class="malihu_btn" href="http://manos.malihu.gr/tuts/jquery_css3_simple_menu.html" target="_blank">DEMO</a> <a class="malihu_btn" href="http://manos.malihu.gr/tuts/jquery_css3_simple_menu_selected_state.html" target="_blank">DEMO WITH SELECTED STATE</a> <a class="malihu_btn" href="http://manos.malihu.gr/tuts/jquery_css3_simple_menu.zip">DOWNLOAD</a></p>
<p><img class="malihuwork" title="Simple navigation with CSS3 and jQuery" src="http://manos.malihu.gr/wp-content/uploads/2010/10/snav_css3.jpg" alt="Simple navigation with CSS3 and jQuery" width="510" height="160" /></p>
<p><em>As of 27/10/2011 the script features an optional selected state for menu options (as requested by some users). Also the code itself is much shorter and a bit more optimized. The demo and .zip files are updated.</em></p>
<p>The css with some custom fonts via <a href="http://code.google.com/apis/webfonts/" target="_blank">Google font API</a></p>
<pre class="brush:css">@import url(http://fonts.googleapis.com/css?family=Lobster);
body {margin:0; padding:0; background:#ddd;}
#nav{position:relative; margin:40px; background:#eee; padding:0; font-family:'Lobster', Arial, Helvetica, sans-serif; font-size:21px; -moz-border-radius:5px; -khtml-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; -moz-box-shadow:2px 2px 3px #ccc; -webkit-box-shadow:2px 2px 3px #ccc; box-shadow:2px 2px 3px #ccc;}
#nav .clear{clear:both;}
#nav ul{padding:0 0 0 5px; margin:0; list-style:none;}
#nav li{float:left; margin:5px 10px 5px 0; background:#eee; -moz-border-radius:5px; -khtml-border-radius:5px; -webkit-border-radius:5px; border-radius:5px;}
#nav li a{text-decoration:none; color:#9e0039; display:block; padding:10px 15px;}</pre>
<p>Load the jquery library and UI straight from Google</p>
<pre class="brush:js">&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript"&gt;&lt;/script&gt;
</pre>
<p>The jQuery code</p>
<pre class="brush:js">&lt;script&gt;
$(document).ready(function(){
	$nav_li=$("#nav li");
	$nav_li_a=$nav_li.children("a");
	var animSpeed=450; //fade speed
	var hoverTextColor="#fff"; //text color on mouse over
	var hoverBackgroundColor="#9e0039"; //background color on mouse over
	var textColor=$nav_li_a.css("color");
	var backgroundColor=$nav_li.css("background-color");
	$nav_li_a.hover(function() {
		var $this=$(this);
		$this.stop().animate({ color: hoverTextColor }, animSpeed).parent().stop().animate({ backgroundColor: hoverBackgroundColor }, animSpeed);
	},function() {
		var $this=$(this);
		$this.stop().animate({ color: textColor }, animSpeed).parent().stop().animate({ backgroundColor: backgroundColor }, animSpeed);
	});
});
&lt;/script&gt;</pre>
<p>Optional jQuery code that features a selected state when an option is clicked</p>
<pre class="brush:js">&lt;script&gt;
$(document).ready(function(){
	$nav_li=$("#nav li");
	$nav_li_selected=$("#nav li.selected");
	$nav_li_a=$nav_li.children("a");
	var animSpeed=450; //fade speed
	var hoverTextColor="#fff"; //text color on mouse over
	var hoverBackgroundColor="#9e0039"; //background color on mouse over
	var textColor=$nav_li_a.css("color");
	var backgroundColor=$nav_li.css("background-color");
	//init selected
	$nav_li_selected.css("background-color",hoverBackgroundColor).children().css("color",hoverTextColor);
	$nav_li_a.hover(function() {
		var $this=$(this);
		$this.stop().animate({ color: hoverTextColor }, animSpeed).parent().stop().animate({ backgroundColor: hoverBackgroundColor }, animSpeed);
	},function() {
		var $this=$(this);
		if(!$this.parent().is(".selected")){
			$this.stop().animate({ color: textColor }, animSpeed).parent().stop().animate({ backgroundColor: backgroundColor }, animSpeed);
		}
	});
	//selected state
	$nav_li_a.click(function(){
		var $this=$(this);
		$this.stop().animate({ color: hoverTextColor }, animSpeed).parent().stop().animate({ backgroundColor: hoverBackgroundColor }, animSpeed).addClass("selected").siblings(".selected").removeClass("selected").stop().animate({ backgroundColor: backgroundColor }, animSpeed).children().stop().animate({ color: textColor }, animSpeed);
	});
});
&lt;/script&gt;</pre>
<p>The markup</p>
<pre class="brush:html">
<div id="nav">
<ul>
<li><a href="#about">About</a></li>
<li><a href="#portfolio">Portfolio</a></li>
<li><a href="#recent">Recent projects</a></li>
<li><a href="#experiments">Experiments / miscellaneous</a></li>
<li><a href="#contact">Contact me</a></li>
</ul>
<div class="clear"></div>
</div>
</pre>
<p>Optionally, if you need to have a menu option selected on page load, add the class-name <em>selected</em> on it. For example:</p>
<pre class="brush:html">
<li class="selected"><a href="#about">About</a></li>
</pre>
<p>To add support for rounded corners in IE we can use <a href="http://www.dillerdesign.com/experiment/DD_roundies/" target="_blank">DD_roundies script by Drew Diller</a>. Add the following code inside the head tags.</p>
<pre class="brush:js">&lt;script src="DD_roundies_0.0.2a-min.js"&lt;/script&gt;
&lt;script&gt;
DD_roundies.addRule("#nav", "5px");
DD_roundies.addRule("#nav li", "5px");
&lt;/script&gt;</pre>
<p>That&#8217;s about it. Feel free to modify it as you like <img src='http://manos.malihu.gr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fsimple-navigation-with-css3-and-jquery&amp;title=Simple+navigation+with+CSS3+and+jQuery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fsimple-navigation-with-css3-and-jquery&amp;title=Simple+navigation+with+CSS3+and+jQuery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Fsimple-navigation-with-css3-and-jquery&amp;title=Simple+navigation+with+CSS3+and+jQuery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Simple+navigation+with+CSS3+and+jQuery&amp;url=http%3A%2F%2Fmanos.malihu.gr%2Fsimple-navigation-with-css3-and-jquery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/malihu?a=hH5y9f0vVcg:ydfBBHvTLQ4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/malihu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=hH5y9f0vVcg:ydfBBHvTLQ4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/malihu?i=hH5y9f0vVcg:ydfBBHvTLQ4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=hH5y9f0vVcg:ydfBBHvTLQ4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/malihu?i=hH5y9f0vVcg:ydfBBHvTLQ4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=hH5y9f0vVcg:ydfBBHvTLQ4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/malihu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=hH5y9f0vVcg:ydfBBHvTLQ4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/malihu?i=hH5y9f0vVcg:ydfBBHvTLQ4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=hH5y9f0vVcg:ydfBBHvTLQ4:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/malihu?d=TzevzKxY174" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://manos.malihu.gr/simple-navigation-with-css3-and-jquery/feed</wfw:commentRss>
		<slash:comments>41</slash:comments>
		<feedburner:origLink>http://manos.malihu.gr/simple-navigation-with-css3-and-jquery</feedburner:origLink></item>
		<item>
		<title>FluidGrid Flash image Gallery</title>
		<link>http://feedproxy.google.com/~r/malihu/~3/PNWUNRBsHFw/fluidgrid-flash-image-gallery</link>
		<comments>http://manos.malihu.gr/fluidgrid-flash-image-gallery#comments</comments>
		<pubDate>Fri, 06 Aug 2010 15:43:07 +0000</pubDate>
		<dc:creator>malihu</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[FluidGrid]]></category>
		<category><![CDATA[image gallery]]></category>

		<guid isPermaLink="false">http://manos.malihu.gr/?p=206</guid>
		<description><![CDATA[A dynamic Flash-xml driven image gallery, fully customizable through javascript variables within the html. DEMO DOWNLOAD Main features XML driven Configurable via the html document Multiple galleries Title and description for each image Dynamic texts (footer) All colors are configured via the html document Preloaders for each image and thumbnail Uses SWFObject to embed flash [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:left; margin:2px 0 0 0;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmanos.malihu.gr%2Ffluidgrid-flash-image-gallery"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmanos.malihu.gr%2Ffluidgrid-flash-image-gallery&amp;source=malihu&amp;style=compact&amp;service=bit.ly&amp;service_api=R_c23a582d6fa25b84206f8d7812019403&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A dynamic Flash-xml driven image gallery, fully customizable through javascript variables within the html.<br />
<span id="more-206"></span></p>
<p><a class="malihu_btn" href="http://manos.malihu.gr/tuts/fluidgrid_gallery.html" target="_blank">DEMO</a> <a class="malihu_btn" href="http://manos.malihu.gr/tuts/FluidGrid_Gallery.zip">DOWNLOAD</a></p>
<p><img class="malihuwork" title="FluidGrid Gallery" src="http://manos.malihu.gr/wp-content/uploads/2010/08/FluidGrid_Gallery_screenshot.jpg" alt="FluidGrid Gallery" width="510" height="294" /></p>
<p><strong>Main features</strong></p>
<ul>
<li>XML driven</li>
<li>Configurable via the html document</li>
<li>Multiple galleries</li>
<li>Title and description for each image</li>
<li>Dynamic texts (footer)</li>
<li>All colors are configured via the html document</li>
<li>Preloaders for each image and thumbnail</li>
<li>Uses <a href="http://code.google.com/p/swfobject/" target="_blank">SWFObject</a> to embed flash</li>
</ul>
<p><strong>Customization</strong></p>
<p>Fancy horizontal animation on browser resize &#8211; values: &#8220;on&#8221; or &#8220;off&#8221;</p>
<pre class="brush:js">
browser_resize_animation = "on";
</pre>
<p>The directory of the image files (important: keep trailing slashes)</p>
<pre class="brush:js">
images_directory = "images/";
</pre>
<p>The total number of galleries</p>
<pre class="brush:js">
total_number_of_galleries = 8;
</pre>
<p>Galleries list <br />
Format: &#8220;gallery_1&#8243;, &#8220;gallery_2&#8243;, &#8220;gallery_3&#8243; etc. for your xml files <br />
Format: &#8220;gallery_title_1&#8243;, &#8220;gallery_title_2&#8243;, &#8220;gallery_title_3&#8243; etc. for the gallery title</p>
<pre class="brush:js">
gallery_1 = "xml/animals_birds.xml";
	gallery_title_1 = "Animals and birds";
gallery_2 = "xml/landscapes.xml";
	gallery_title_2 = "Landscapes";
gallery_3 = "xml/people.xml";
	gallery_title_3 = "People";
gallery_4 = "xml/abstract.xml";
	gallery_title_4 = "Abstract";
gallery_5 = "xml/cityscapes.xml";
	gallery_title_5 = "Cityscapes";
gallery_6 = "xml/computers_internet.xml";
	gallery_title_6 = "Computers and Internet";
gallery_7 = "xml/movies.xml";
	gallery_title_7 = "Movies";
gallery_8 = "xml/cars.xml";
	gallery_title_8 = "Cars";
</pre>
<p>Galleries title text</p>
<pre class="brush:js">
title_text = "GALLERIES";
</pre>
<p>Footer text (you can use some simple html tags like anchors, break lines etc.)</p>
<pre class="brush:js">
footer_text = "FluidGrid Gallery by malihu - Flash gallery for the masses web: <a href='http://manos.malihu.gr'>http://manos.malihu.gr</a> | e-mail: <a href='mailto:manos@malihu.gr'>manos@malihu.gr</a>";
</pre>
<p>Gallery styling <br />
COLORS &#8211; format: 0&#215;000000 (e.g. 0xffffff for white, 0xff0000 for red etc.)</p>
<pre class="brush:js">
page_background_color = "0x000000"; //document background hexadecimal color code
scrollbar_color = "0x666666"; //document scrollbar hexadecimal color code
menu_title_color = "0xffcc00"; //"Galleries" text hexadecimal color code
menu_background_color = "0x333333"; //menu background hexadecimal color code
menu_text_color = "0xffffff"; //galleries titles hexadecimal color code
menu_selected_color = "0x545454"; //selected gallery background hexadecimal color code
thumbnail_background_color = "0x333333"; //thumbnail background hexadecimal color code
image_background_color = "0x333333"; //large image background hexadecimal color code
thumbnail_border = "no"; //Change the borders of the thumbnails - values: "yes", "no" or "0-100" number which indicates opacity (e.g. "50" for 50% opacity of borders)
thumbnail_border_color = "0xffffff"; //thumbnail borders hexadecimal color code
thumbnail_title_color = "0x000000"; //thumbnail title hexadecimal color code
thumbnail_hover_color = "0xffcc00"; //thumbnail background hexadecimal color code on mouse over
image_preloader_color = "0x000000"; //preloader hexadecimal color code
tooltip_background_color = "0xffcc00"; //tooltip background hexadecimal color code
tooltip_text_color = "0x000000"; //tooltip text hexadecimal color code
exit_button_background_color = "0x000000"; //large image "X" button background hexadecimal color code
exit_button_x_color = "0xffffff"; //large image "X" button hexadecimal color code
footer_text_color = "0x999999"; //footer text hexadecimal color code
footer_background_color = "0x333333"; //footer background hexadecimal color code
</pre>
<p>In order to have the html/css background visible below flash, set <em>wmode</em> parameter and <em>page_background_color</em> values to &#8220;transparent&#8221;.</p>
<p><strong>XML format</strong></p>
<pre class="brush:xml">
&lt;myItem title="Image Title"
description="Image description"
img="thumbnail_image_filename.jpg"
img_large="large_image_filename.jpg"/&gt;
</pre>
<p>The only thing to remember in order to use the FluidGrid Gallery is that the thumbnails size must be: <em>240&#215;150 pixels</em> and optimally the size of the large images should be analogous (ratio: 1.6) to thumbnails (e.g. 1920&#215;1200, 1680&#215;1050, 1280&#215;800 etc.).</p>
<p>Have fun <img src='http://manos.malihu.gr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Ffluidgrid-flash-image-gallery&amp;title=FluidGrid+Flash+image+Gallery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Ffluidgrid-flash-image-gallery&amp;title=FluidGrid+Flash+image+Gallery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fmanos.malihu.gr%2Ffluidgrid-flash-image-gallery&amp;title=FluidGrid+Flash+image+Gallery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=FluidGrid+Flash+image+Gallery&amp;url=http%3A%2F%2Fmanos.malihu.gr%2Ffluidgrid-flash-image-gallery" target="_blank"><img class="lightsocial_img" src="http://manos.malihu.gr/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/malihu?a=PNWUNRBsHFw:ed3yUS2iDDY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/malihu?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=PNWUNRBsHFw:ed3yUS2iDDY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/malihu?i=PNWUNRBsHFw:ed3yUS2iDDY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=PNWUNRBsHFw:ed3yUS2iDDY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/malihu?i=PNWUNRBsHFw:ed3yUS2iDDY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=PNWUNRBsHFw:ed3yUS2iDDY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/malihu?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=PNWUNRBsHFw:ed3yUS2iDDY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/malihu?i=PNWUNRBsHFw:ed3yUS2iDDY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/malihu?a=PNWUNRBsHFw:ed3yUS2iDDY:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/malihu?d=TzevzKxY174" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://manos.malihu.gr/fluidgrid-flash-image-gallery/feed</wfw:commentRss>
		<slash:comments>36</slash:comments>
		<feedburner:origLink>http://manos.malihu.gr/fluidgrid-flash-image-gallery</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 1.378 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-02 02:29:01 -->

