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

<channel>
	<title>Bloggink &#187; jquery</title>
	<atom:link href="http://joggink.com/category/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://joggink.com</link>
	<description>Blog of Joggink, home of Jochen Vandendriessche</description>
	<lastBuildDate>Fri, 27 Jan 2012 10:03:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Responsive google maps</title>
		<link>http://joggink.com/2012/01/responsive-google-maps/</link>
		<comments>http://joggink.com/2012/01/responsive-google-maps/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 10:03:33 +0000</pubDate>
		<dc:creator>joggink</dc:creator>
				<category><![CDATA[frontend development]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[responsive]]></category>
		<category><![CDATA[responsive webdesign]]></category>

		<guid isPermaLink="false">http://joggink.com/?p=463</guid>
		<description><![CDATA[Remember the days we used to put a static image of a roadmap on a website, usually accompanied by silly directions in case you came from the North, South or Mars? It was only some time later, when the web matured &#8230; <a href="http://joggink.com/2012/01/responsive-google-maps/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Remember the days we used to put a static image of a roadmap on a website, usually accompanied by silly directions in case you came from the North, South or Mars? It was only some time later, when the web matured and google stopped being just a search engine, that a new corporate &#8216;how to get here / where are we located&#8217; toy was born. Google invented google maps, pretty soon yahoo followed and Microsoft, well&#8230; they tend to do everything the rest does, it only takes them a little longer.</p>
<p>Forget yahoo and bing! maps, only if your a fanboy you&#8217;ll use them and even then you&#8217;re not sure how long they will be around (- cf. yahoo &amp; geocities). Google maps was and is the way to go. Every post-iPhone smartphone has google maps (except the windows phones who use a mediocre version called bing maps).</p>
<p><strong>Anyway, let&#8217;s focus on what this is all about!</strong></p>
<p>Nowadays static maps (drawn by the guy who works at the &#8216;art department&#8217;) aren&#8217;t really used anymore. Using google maps is fancy and allows you to zoom in/out, get directions,  have a satellite view or even streetview. The sky is the limit and, let&#8217;s face it, we all jumped the maps boat.</p>
<p><strong>fast forward to&#8230; now!</strong></p>
<p style="text-align: left;">When we&#8217;re developing websites we mostly use google maps somewhere. Inform where an event is held, a company is located or to find the nearest dealer in town. There are many ways to include google maps and the most easy way is to use an iframe with the map embedded. Real men tend to use the maps API to embed the map in the website. It&#8217;s al sunshine and lollipops! Until you use a mobile device to surf to the website. Sure the maps work just fine unless the map is too big and you end up in the <strong>Maps scrollbar of death™</strong>.</p>
<p style="text-align: left;"><a href="http://joggink.com/wp-content/uploads/2012/01/Screen-Shot-2012-01-27-at-10.56.35.png"><img class="aligncenter size-full wp-image-472" title="Screen Shot 2012-01-27 at 10.56.35" src="http://joggink.com/wp-content/uploads/2012/01/Screen-Shot-2012-01-27-at-10.56.35.png" alt="" width="396" height="744" /></a></p>
<p style="text-align: left;">So what is the <strong>Maps scrollbar of death</strong><strong style="font-weight: bold;">™ </strong>exactly?</p>
<p style="text-align: left;">When scrolling on your mobile phone or tablet it all works fine, but as soon as your finger hits a google maps you start repositioning the map inside its container. Not a big issue if you have some space around it so you can keep scrolling. Worst case you can usually tap the menu bar on top to regain access to the top of the website, if not: You&#8217;re screwed!</p>
<p style="text-align: left;">So do we need to use the iframe or flash solution? Sure not! You could use the google maps static image API to include the map but then again, we could be using the static image from the guy of the art department, no? So the goldilocks solution is to show the full blown map api on non-mobile / tablet websites and use the static image api on mobile / tablet websites.</p>
<p style="text-align: left;"><strong>Simple solution</strong></p>
<p>The easiest way to achieve this is&#8230; to embed both the iframe and the static image and show / hide the appropriate one using some CSS and media query magic.</p>
<p><strong>Plugin solution</strong></p>
<p>Why you should use this plugin? No reason, whatsoever! I just hate it to use the iframe, specially if I have markers and balloons and other stuff to display. That and the fact I hate using the google maps API to geocode addresses and place markers. Therefore I was thinking of a plugin that I could easily pass the address and possible markers to and it would magically show the map or the static image. If I link the static image to maps.google.com with the appropriate address most mobile devices will open their maps application instead! How cool is that!</p>
<p>So without further ado: <a href="https://github.com/joggink/mobileGmap">the jquery responsive google maps plugin</a> (still in progress). The technical mumbo jumbo is on the github readme page, so feel free to comment, add feature requests, fork me or even help me finish this.</p>
<p>A demo can be found here: <a href="http://joggink.com/wp-content/uploads/jquerymobilegmaps">http://joggink.com/wp-content/uploads/jquerymobilegmaps</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://joggink.com/2012/01/responsive-google-maps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bookmarked responsive web resources</title>
		<link>http://joggink.com/2011/12/bookmarked-responsive-web-resources/</link>
		<comments>http://joggink.com/2011/12/bookmarked-responsive-web-resources/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 14:21:09 +0000</pubDate>
		<dc:creator>joggink</dc:creator>
				<category><![CDATA[frontend development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[resources]]></category>
		<category><![CDATA[responsive]]></category>

		<guid isPermaLink="false">http://joggink.com/?p=433</guid>
		<description><![CDATA[Responsive webdesign has been a hot topic for a while, but I tend to loose track of all useful resources that cross my path. So I&#8217;ll try to make list them up. Feel free to share resources you find useful &#8230; <a href="http://joggink.com/2011/12/bookmarked-responsive-web-resources/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.alistapart.com/articles/responsive-web-design/">Responsive webdesign</a> has been a hot topic for a while, but I tend to loose track of all useful resources that cross my path. So I&#8217;ll try to make list them up.</p>
<p>Feel free to share resources you find useful too!</p>
<p>If you&#8217;re not familiar with responsive webdesign I suggest you check out this nice presentation from <a href="http://twitter.com/bytte">@bytte</a>:</p>
<div id="__ss_10389263" style="width: 425px;"><strong style="display: block; margin: 12px 0 4px;"><a title="Responsive web design" href="http://www.slideshare.net/bytte/responsive-web-design-10389263" target="_blank">Responsive web design</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/10389263" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="425" height="355"></iframe></p>
<div style="padding: 5px 0 12px;">View more <a href="http://www.slideshare.net/" target="_blank">presentations</a> from <a href="http://www.slideshare.net/bytte" target="_blank">Thomas Byttebier</a></div>
</div>
<p>&nbsp;</p>
<h3>CSS Frameworks:</h3>
<h3><a href="http://html5boilerplate.com/">HTML5 boilerplate</a></h3>
<p>HTML5 Boilerplate is the professional badass&#8217;s base HTML/CSS/JS template for a fast, robust and future-proof site.</p>
<h4><a href="http://goldengridsystem.com/">Goldengridsystem</a></h4>
<p>Golden Grid System (GGS) splits the screen into 18 even columns. The leftmost and rightmost columns are used as the outer margins of the grid, which leaves <em>16 columns</em> for use in design.</p>
<h4><a href="http://www.stuffandnonsense.co.uk/projects/320andup/">320 and up</a></h4>
<p>‘320 and Up’ starts with a tiny screen stylesheet that contains only reset, colour and typography styles. Media Queries then load assets and layout styles progressively and only as they’re needed.</p>
<h4><a href="http://getskeleton.com/">skeleton</a></h4>
<p>Skeleton is a small collection of CSS &amp; JS files that can help you rapidly develop sites that look beautiful at any size, be it a 17&#8243; laptop screen or an iPhone.</p>
<h4> <a href="http://foundation.zurb.com/">Foundation</a></h4>
<p>An easy to use, powerful, and flexible framework for building prototypes and production code on any kind of device.</p>
<h4><a href="http://thatcoolguy.github.com/gridless-boilerplate/">Gridless</a></h4>
<p>Gridless is an optionated HTML5 and CSS3 boilerplate for making mobile first responsive, cross-browser websites with beautiful typography.</p>
<h4> <a href="http://gridpak.com/">Gridpack</a></h4>
<p>The Responsive grid generator, created by Erskine Design.</p>
<h3>Embedding media</h3>
<h4><a href="http://fitvidsjs.com/">fitvidjs</a> (video)</h4>
<p>A lightweight, easy-to-use jQuery plugin for fluid width video embeds.</p>
<p>&nbsp;</p>
<h3>Text</h3>
<h4><a href="http://letteringjs.com/">letteringjs</a></h4>
<p>A jQuery plugin for radical web typography</p>
<h4><a href="http://fittextjs.com/"> fittextjs</a></h4>
<p>FitText makes font-sizes flexible. Use this plugin on your fluid or responsive layout to achieve scalable headlines that fill the width of a parent element.</p>
<p>&nbsp;</p>
<h3>SVG</h3>
<h4><a href="http://raphaeljs.com/">raphaël</a></h4>
<p>Raphaël is a small JavaScript library that should simplify your work with vector graphics on the web. If you want to create your own specific chart or image crop and rotate widget, for example, you can achieve it simply and easily with this library.</p>
<p>&nbsp;</p>
<h3>Making things work cross browser</h3>
<h4><a href="http://selectivizr.com/">selectivizr.js</a></h4>
<p>selectivizr is a JavaScript utility that emulates CSS3 pseudo-classes and attribute selectors in Internet Explorer 6-8. Simply include the script in your pages and selectivizr will do the rest.</p>
<p>&nbsp;</p>
<p><em>Contributions by <a href="https://twitter.com/baskwalla/status/143711863870472192">@baskwalla</a>, <a href="https://twitter.com/driesdelaey/status/143716620521582594">@driesdeleay</a>, <a href="http://twitter.com/wolfr_">@wolfr</a>, <a href="http://twitter.com/bengie">@bengie</a> &amp; <a href="https://twitter.com/paul_irish/status/143829828381061120">@paulirish</a> </em></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://joggink.com/2011/12/bookmarked-responsive-web-resources/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mobile navigation jquery plugin</title>
		<link>http://joggink.com/2011/10/jquery-mobile-navigation/</link>
		<comments>http://joggink.com/2011/10/jquery-mobile-navigation/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 12:39:33 +0000</pubDate>
		<dc:creator>joggink</dc:creator>
				<category><![CDATA[frontend development]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://joggink.com/?p=415</guid>
		<description><![CDATA[Some people like to bitch and whine about a responsive web approach, others embrace it. I can&#8217;t blame them, they probably still use ajax to replace iframes&#8230; If you&#8217;re anti respsonsive you better stop reading, start looking for your credit &#8230; <a href="http://joggink.com/2011/10/jquery-mobile-navigation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some people like to<a href="http://www.webdesignshock.com/responsive-design-problems/"> bitch and whine about a responsive web</a> approach, others embrace it. I can&#8217;t blame them, they probably still use ajax to replace iframes&#8230;</p>
<p>If you&#8217;re anti respsonsive you better stop reading, start looking for your credit card and order <a href="http://www.abookapart.com/">one of these wonderful books</a>. If you speak or understand Dutch I would suggest you get out of your cave more often and maybe attend some<a href="http://fronteers.nl/bijeenkomsten"> free fronteers meetups</a>.</p>
<p>Anyway&#8230;</p>
<p>Since I started working as a freelance <a title="Gorilla webdesign" href="http://www.gorilla-webdesign.be/">Gorilla</a> I&#8217;ve been blessed with the design skills of Jelle. He designs killerwebsites for every possible device. <a title="Gorilla webdesign" href="http://www.gorilla-webdesign.be/">Gorilla</a> has been building responsive websites for a long time, even before it was coined &#8216;responsive webdesign&#8217;. They&#8217;ve managed to build a rock solid <a title="Haml" href="http://haml-lang.com/">haml</a> / <a title="Sass" href="http://sass-lang.com/">sass</a> (<a title="Compass" href="http://compass-style.org/">compass</a>) boilerplate that provides most of their default fallbacks. One of these default fallbacks is the often used horizontal navigation:</p>
<p><a href="http://joggink.com/wp-content/uploads/2011/10/Screen-Shot-2011-10-24-at-14.36.541.png"><img class="aligncenter size-large wp-image-417" title="horizontal navigation" src="http://joggink.com/wp-content/uploads/2011/10/Screen-Shot-2011-10-24-at-14.36.541-947x1024.png" alt="" width="450" height="486" /></a>So, for desktop users and iPad users this horizontal navigation works fine. There&#8217;s a fallback for mobile users so the horizontal list becomes a block list resulting in something like this:</p>
<p><a href="http://joggink.com/wp-content/uploads/2011/10/Screen-Shot-2011-10-24-at-14.43.45.png"><img class="aligncenter size-full wp-image-422" title="horizontal list becomes a block list on mobile devices" src="http://joggink.com/wp-content/uploads/2011/10/Screen-Shot-2011-10-24-at-14.43.45.png" alt="" width="396" height="744" /></a></p>
<p>As you can see, it&#8217;s not very handy because the content is being pushed down and clicking around on the website doesn&#8217;t really give you the feeling that you&#8217;re actually changing pages. Therefore we wrote a small jquery plugin. This could be done native but since we&#8217;re using jQuery in this (and almost) every project it seemed easier to just write a plugin. The result is something like this:</p>
<p><a href="http://joggink.com/wp-content/uploads/2011/10/Screen-Shot-2011-10-24-at-14.48.28.png"><img class="aligncenter size-full wp-image-423" title="dropdown instead of block list" src="http://joggink.com/wp-content/uploads/2011/10/Screen-Shot-2011-10-24-at-14.48.28.png" alt="" width="396" height="744" /></a></p>
<p>The plugin and more info on how to use can be found on github: <a title="jQuery mobile dropdown plugin" href="http://github.com/joggink/jquerymobiledropdown">http://github.com/joggink/jquerymobiledropdown</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://joggink.com/2011/10/jquery-mobile-navigation/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>cheap jQuery fix for the firefox video loop problem</title>
		<link>http://joggink.com/2010/10/cheap-jquery-fix-for-the-firefox-video-loop-problem/</link>
		<comments>http://joggink.com/2010/10/cheap-jquery-fix-for-the-firefox-video-loop-problem/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 20:09:55 +0000</pubDate>
		<dc:creator>joggink</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://blog.joggink.com/?p=327</guid>
		<description><![CDATA[People who know me know how much I hate flash, therefore when I heard about html5 video and audio I did a happy dance. Recently I had the opportunity to use the video tag in one of my projects and &#8230; <a href="http://joggink.com/2010/10/cheap-jquery-fix-for-the-firefox-video-loop-problem/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>People who know me know how much I hate flash, therefore when I heard about html5 <a href="http://www.w3.org/TR/html5/video.html">video</a> and <a href="http://www.w3.org/TR/html5/video.html#audio">audio</a> I did a happy dance. Recently I had the opportunity to use the video tag in one of my projects and my excitement got a little tempered when I learned that<a href="http://support.mozilla.com/nl/questions/747220"> the loop attribute doesn&#8217;t work in Firefox</a>. My main browser of choice is <a href="http://www.apple.com/benl/safari/">safari</a>, too bad not many of my customers visitors share this opinion, so a jQuery fix was needed. It&#8217;s far from perfect and it doesn&#8217;t work flawless, but it get&#8217;s the job done. The only quirk is the little delay to restart the video on end.</p>
<pre>
<div id="_mcePaste">$('video[loop="loop"]').bind('ended', function(){</div>
<div id="_mcePaste">   this.play();</div>
<div id="_mcePaste">})</div>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://joggink.com/2010/10/cheap-jquery-fix-for-the-firefox-video-loop-problem/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>JQTouch: Jquery plugin for mobile web development</title>
		<link>http://joggink.com/2009/10/jqtouch-jquery-plugin-for-mobile-web-development/</link>
		<comments>http://joggink.com/2009/10/jqtouch-jquery-plugin-for-mobile-web-development/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 14:01:44 +0000</pubDate>
		<dc:creator>joggink</dc:creator>
				<category><![CDATA[frontend development]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[user experience]]></category>

		<guid isPermaLink="false">http://blog.joggink.com/?p=269</guid>
		<description><![CDATA[This is some cool stuff. A jquery plugin allowing you to build solid iPhone webapps. If you have an iPhone you should definitely check out the examples. Otherwhise, check out this screencast, it&#8217;s really neat!]]></description>
			<content:encoded><![CDATA[<p>This is some cool stuff. A jquery plugin allowing you to build solid iPhone webapps. If you have an iPhone you should definitely check out the <a href="http://jqtouch.com/preview/demos/main/" target="_blank">examples</a>.</p>
<p>Otherwhise, check out this screencast, it&#8217;s really neat!</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/6X4K2MQsSeI&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/6X4K2MQsSeI&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://joggink.com/2009/10/jqtouch-jquery-plugin-for-mobile-web-development/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

