Showing posts with label jQuery. Show all posts
Showing posts with label jQuery. Show all posts

Monday, December 20, 2010

How to create a mobile WordPress theme with jQuery Mobile

0 comments

Here is what we’re going to build together today. Click the image to view the live demo.

Step 1: Getting files

We could have created our theme from scratch, but there’s no need to reinvent the wheel when there’s tools that can help you save lots of time. The tool we’re going to use is called Blank Theme. It is a functional WordPress theme, but without any styling. That way, it can be used as a starting point for creating your own themes. For example, I’ve used Blank Theme to create the current Cats Who Code theme.

Blank Theme has been created by Chris Coyier and it can be downloaded here. Get a copy and unzip it on your server or hard drive: We’re going to start. Optionally, open the style.css file and modify the theme name to fit your own needs.

Step 2: Header and Footer files

As we’re going to create a theme that will rely much on jQuery, the first thing we have to do is to link to jQuery and the jQuery Mobile files. You can either download the files individually and link them to the theme, or you can use jQuery’s CDN and link the online versions to your theme. I personally prefer linking to the online version, but it’s up to you.

Open the header.php file from the Blank Theme directory, and insert the following code to link to jQuery Mobile, within the and tags:

Once done, the required jQuery files are now linked to our theme. But we’re not done yet with header.php. As jQuery Mobile uses HTML5, we have to modify the doctype. Replace the first 6 lines of the file with:

Then, scroll down to the bottom of the file and locate the tag. Replace everything from the tag until the end of the file by the following:

>

We just dove in jQuery Mobile with the code above. What? We haven’t even wrote a single line of JavaScript! That’s right. jQuery Mobile doesn’t need you to write any JavaScript. All it needs is some 

tags with the proper data-role attribute.

As an explanation, take a look at line 3 of the code above. Have you noticed the data-role="header"? It describe a header bar. If you save the file and view your theme right now, you’ll notice a header bar on the top of the screen, with your blog name.

Now, save header.php and open footer.php. Replace its content by:

This simple code will insert a footer bar to our theme, with a button that will scroll up to the header when the user will tap on it. Did you noticed the data-icon attribute? It allows you to specify which kind of icon you want. In our case, we want an up arrow, but there’s lots of different icons you can use.

Step 3: The homepage

Now, let’s code our homepage. As we’re building a theme for mobile devices, we do not need anything fancy. Let’s build a list of our recent posts. To do so, open the index.php file, locate the loop, and replace it by the following code:

Save the file and take a look to your theme: It looks great! We now have a list of posts on our homepage. Once again, we have a very good looking list, with some nice transition effects, without coding a single line of JavaScript. That’s the magic of jQuery mobile.

The list is created by using the data-role="listview" attribute on the unordered list. The other attributes specifies the appearance of the list. Want to experiment a bit? Simply replace data-theme="c" by data-theme="b" and see what happens.

Now, modify the loops of the search.php and archive.php files like we did with index.php.

Step 4: Post and pages files

By default, the single.php and page.php files from the Blank Theme looks good in our mobile version, so we do not need to modify those files. Though, we can do something to enhance user experience: Mask the comments by default, and show them only if the user decides to. This can be done extremely easily using jQuery mobile.

Open comments.php and locate line 15. Insert the following line:

Then, go to line 31 and insert a closing

just before the else statement. Save the file and have a look at one of your posts: Comments are now masked by default, and a tap/click on the bar display them. If you prefer to show the comments by default, no problem: simply remove the data-state="collapsed" attribute. That’s all we need to create a collapsible content block.

Did you noticed that on posts, the header bar is showing a “Back” button? A click/tap on it will take you back to your blog homepage.

Step 5: Implementing search

Right now, we have a theme fully optimized for mobile devices. But it is missing something important: An easy to access search bar. Open your searchform.php file and replace its content by the following:

After you saved the file, reopen index.php and include the search form between the get_header() function and the unordered list which contain our posts:

Our homepage now has a working search form. Right now, our theme is done and we can use it on a production site.

Step 6: Final touches

Of course, even if the theme we’ve built is perfectly functional, there are still a lot of things that can be done to enhance its look and functionality. For example, I have noticed that the search field is smaller than the list items. In order to make the search field as wide as the list items, paste the following in style.css:

.ui-input-search{ width:96% !important;}

That’s all for today. I hope you enjoyed this tutorial. If you want to download the finished theme, just click here.

Also, I just redesigned my other blog Cats Who Blog so don’t hesitate to visit it or grab the RSS feed to read it later. The blog is now 100% focused on tools to make your life as a blogger, developer or designer easier. Enjoy!

This post was made using the Auto Blogging Software from WebMagnates.org This line will not appear when posts are made after activating the software to full version.

How to easily create charts using jQuery and HTML5

0 comments
Step 1: Preparing files

Here we go! The first thing to do is obviously to create a directory on your Mac (or PC, nobody’s perfect ). You should name it chart for example. Once done, download the required Javascript and CSS files and save it on your hard drive.

Now, create a new html document, named charts.html. Copy the html structure below, and paste it into your newly created charts.html file.

Charts!

Did you notice that I used the doctype? It is the right doctype to use, as the javscript code we’ll add later will turn a html table into a HTML 5 canvas.

Step 2: Adding data

Now that we downloaded the javascript files and created an html document, it’s time to add data. Copy the code below and paste it within the and tags of your charts.html file.

Visits from August 16 to August 21
MondayTuesdayWednesdayThursdayFridaySaturdaySunday
CatsWhoCode.com12541112041135410058987182545477
WpRecipes.com9855887087317488815965474512
CatsWhoBlog.com324125442597310821142045950

Of course, feel free to add your own data to make the example more interesting for you.

Step 3: Let the magic happen

Alright, now we have a bunch of downloaded files and an html document. It’s time to merge them all together and finally generate the chart.
Unzip the downloaded file and open the extracted directory. Copy the following files into your chart directory.

charting/css/basic.csscharting/css/visualize.csscharting/css/visualize-light.csscharting/js/visualize.js

Once done, we obviously have to link the css and javascript files to our document. Paste the following after the tag of the document:</p><link href="basic.css" type="text/css" rel="stylesheet" /><link href="visualize.css" type="text/css" rel="stylesheet" /><link href="visualize-light.css" type="text/css" rel="stylesheet" /><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script type="text/javascript" src="visualize.js"></script><p>It’s time to give life to our chart. Paste the final piece of code after the script calls:</p><script type="text/javascript">$(function(){$('table').visualize();});</script><p>Once you saved the file, your HTML table should be displayed along with a good looking chart. If you don’t want the table to be visible, simply hide it using the display:none</em> css property.</p>Additional explanations<p>Generating bar charts is definitely great, but what if your preference goes to a pie chart? No problem, visualize.js allows 4 different type of charts: Bar, area, pie and line.</p><p>Changing the default type is pretty easy: Just add the type parameter as shown below:</p>$('table').visualize({type: 'pie'});<p>Cool, isn’t it? Visualize.js accepts even more parameters to make sure your chart will look exactly how you want. Here are the parameters which can be used:</p><strong>type:</strong> string</em>. Accepts ‘bar’, ‘area’, ‘pie’, ‘line’. Default: ‘bar’.<strong>width:</strong> number</em>. Width of chart. Defaults to table width<strong>height:</strong> number</em>. Height of chart. Defaults to table height<strong>appendTitle:</strong> boolean</em>. Add title to chart. Default: true.<strong>title:</strong> string</em>. Title for chart. Defaults to text of table’s Caption element.<strong>appendKey:</strong> boolean</em>. Adds the color key to the chart. Default: true.<strong>colors:</strong> array</em>. Array items are hex values, used in order of appearance. Default: ['#be1e2d','#666699','#92d5ea','#ee8310','#8d10ee','#5a3b16','#26a4ed','#f45a90','#e9e744']<strong>textColors:</strong> array</em>. Array items are hex values. Each item corresponds with colors array. null/undefined items will fall back to CSS text color. Default: [].<strong>parseDirection:</strong> string</em>. Direction to parse the table data. Accepts ‘x’ and ‘y’. Default: ‘x’.<strong>pieMargin:</strong> number</em>. Space around outer circle of Pie chart. Default: 20.<strong>pieLabelPos:</strong> string</em>. Position of text labels in Pie chart. Accepts ‘inside’ and ‘outside’. Default: ‘inside’.<strong>lineWeight:</strong> number</em>. Stroke weight for lines in line and area charts. Default: 4.<strong>barGroupMargin:</strong> number</em>. Space around each group of bars in a bar chart. Default: 10.<strong>barMargin:</strong> number. Creates space around bars in bar chart (added to both sides of each bar). Default: 1<p>That’s all for today. Have fun with the charts <imgsrc='http://www.catswhocode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><div<br />This post was made using the <a href='http://www.webmagnates.org/auto-blogging-software.html' title='auto-blogging software'>Auto Blogging Software</a> from <a href='http://www.webmagnates.org' title'make money online'>WebMagnates.org</a> This line will not appear when posts are made after activating the software to full version. <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'><span class='post-icons'> <span class='item-control blog-admin pid-1395533444'> <a href='https://www.blogger.com/post-edit.g?blogID=5003199952258966910&postID=3381792259335289431&from=pencil' title='Edit Post'> <img alt='' class='icon-action' height='18' src='http://www.blogger.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> </div> <div class='post-footer-line post-footer-line-2'></div> <div class='post-footer-line post-footer-line-3'></div> <div class='clear'></div> </div> </div> <h2 class='date-header'>Wednesday, December 15, 2010</h2> <div class='post hentry'> <a name='1536321575627121564'></a> <h3 class='post-title entry-title'> <a href='https://guyswhocode.blogspot.com/2010/12/how-to-easily-create-charts-using.html'>How to easily create charts using jQuery and HTML5</a> </h3> <div class='post-header-line-1'><span class='post-author vcard'> Posted by <span class='fn'>Zero</span> </span> <span class='post-timestamp'> at <a class='timestamp-link' href='https://guyswhocode.blogspot.com/2010/12/how-to-easily-create-charts-using.html' rel='bookmark' title='permanent link'><abbr class='published' title='2010-12-15T00:58:00-08:00'>12:58 AM</abbr></a> </span> <span class='post-labels'> Labels: <a href='https://guyswhocode.blogspot.com/search/label/charts' rel='tag'>charts</a>, <a href='https://guyswhocode.blogspot.com/search/label/create' rel='tag'>create</a>, <a href='https://guyswhocode.blogspot.com/search/label/easily' rel='tag'>easily</a>, <a href='https://guyswhocode.blogspot.com/search/label/HTML5' rel='tag'>HTML5</a>, <a href='https://guyswhocode.blogspot.com/search/label/jQuery' rel='tag'>jQuery</a>, <a href='https://guyswhocode.blogspot.com/search/label/using' rel='tag'>using</a> </span> <span class='post-comment-link'> <a class='comment-link' href='https://guyswhocode.blogspot.com/2010/12/how-to-easily-create-charts-using.html#comment-form' onclick=''>0 comments</a> </span> </div> <div class='post-body entry-content'> Step 1: Preparing files<p>Here we go! The first thing to do is obviously to create a directory on your Mac (or PC, nobody’s perfect <imgsrc='http://www.catswhocode.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). You should name it chart for example. Once done, download the required Javascript and CSS files and save it on your hard drive.</p><p><imgsrc="http://cdn.catswhocode.com/blog/wp-content/uploads/2010/08/chart.png" alt="" /></p><p>Now, create a new html document, named charts.html. Copy the html structure below, and paste it into your newly created charts.html file.</p><!--DOCTYPE html--><html><head><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><title>Charts!

Did you notice that I used the doctype? It is the right doctype to use, as the javscript code we’ll add later will turn a html table into a HTML 5 canvas.

Step 2: Adding data

Now that we downloaded the javascript files and created an html document, it’s time to add data. Copy the code below and paste it within the and tags of your charts.html file.

Visits from August 16 to August 21
MondayTuesdayWednesdayThursdayFridaySaturdaySunday
CatsWhoCode.com12541112041135410058987182545477
WpRecipes.com9855887087317488815965474512
CatsWhoBlog.com324125442597310821142045950

Of course, feel free to add your own data to make the example more interesting for you.

Step 3: Let the magic happen

Alright, now we have a bunch of downloaded files and an html document. It’s time to merge them all together and finally generate the chart.
Unzip the downloaded file and open the extracted directory. Copy the following files into your chart directory.

charting/css/basic.csscharting/css/visualize.csscharting/css/visualize-light.csscharting/js/visualize.js

Once done, we obviously have to link the css and javascript files to our document. Paste the following after the tag of the document:</p><link href="basic.css" type="text/css" rel="stylesheet" /><link href="visualize.css" type="text/css" rel="stylesheet" /><link href="visualize-light.css" type="text/css" rel="stylesheet" /><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script type="text/javascript" src="visualize.js"></script><p>It’s time to give life to our chart. Paste the final piece of code after the script calls:</p><script type="text/javascript">$(function(){$('table').visualize();});</script><p>Once you saved the file, your HTML table should be displayed along with a good looking chart. If you don’t want the table to be visible, simply hide it using the display:none css property.</p>Additional explanations<p>Generating bar charts is definitely great, but what if your preference goes to a pie chart? No problem, visualize.js allows 4 different type of charts: Bar, area, pie and line.</p><p>Changing the default type is pretty easy: Just add the type parameter as shown below:</p>$('table').visualize({type: 'pie'});<p>Cool, isn’t it? Visualize.js accepts even more parameters to make sure your chart will look exactly how you want. Here are the parameters which can be used:</p>type: string. Accepts ‘bar’, ‘area’, ‘pie’, ‘line’. Default: ‘bar’.width: number. Width of chart. Defaults to table widthheight: number. Height of chart. Defaults to table heightappendTitle: boolean. Add title to chart. Default: true.title: string. Title for chart. Defaults to text of table’s Caption element.appendKey: boolean. Adds the color key to the chart. Default: true.colors: array. Array items are hex values, used in order of appearance. Default: ['#be1e2d','#666699','#92d5ea','#ee8310','#8d10ee','#5a3b16','#26a4ed','#f45a90','#e9e744']textColors: array. Array items are hex values. Each item corresponds with colors array. null/undefined items will fall back to CSS text color. Default: [].parseDirection: string. Direction to parse the table data. Accepts ‘x’ and ‘y’. Default: ‘x’.pieMargin: number. Space around outer circle of Pie chart. Default: 20.pieLabelPos: string. Position of text labels in Pie chart. Accepts ‘inside’ and ‘outside’. Default: ‘inside’.lineWeight: number. Stroke weight for lines in line and area charts. Default: 4.barGroupMargin: number. Space around each group of bars in a bar chart. Default: 10.barMargin: number. Creates space around bars in bar chart (added to both sides of each bar). Default: 1<p>That’s all for today. Have fun with the charts <imgsrc='http://www.catswhocode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><div <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'><span class='post-icons'> <span class='item-control blog-admin pid-1395533444'> <a href='https://www.blogger.com/post-edit.g?blogID=5003199952258966910&postID=1536321575627121564&from=pencil' title='Edit Post'> <img alt='' class='icon-action' height='18' src='http://www.blogger.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> </div> <div class='post-footer-line post-footer-line-2'></div> <div class='post-footer-line post-footer-line-3'></div> <div class='clear'></div> </div> </div> <!--Can't find substitution for tag [adEnd]--> </div> <div class='blog-pager' id='blog-pager'> <span id='blog-pager-older-link'> <a class='blog-pager-older-link' href='https://guyswhocode.blogspot.com/search/label/jQuery?updated-max=2010-12-15T00:58:00-08:00&max-results=20&start=20&by-date=false' id='Blog1_blog-pager-older-link' title='Older Posts'><img alt='older post' src='http://lh5.ggpht.com/_Kwwy9VyLMKw/S3qFKAce4dI/AAAAAAAACzk/_3EB5x1jkqE/but_prev.png'/></a> </span> <a class='home-link' href='https://guyswhocode.blogspot.com/'>Home</a> </div> <div class='clear'></div> <div class='blog-feeds'> <div class='feed-links'> Subscribe to: <a class='feed-link' href='https://guyswhocode.blogspot.com/feeds/posts/default' target='_blank' type='application/atom+xml'>Posts (Atom)</a> </div> </div> </div></div> </div> <div id='sidebar-wrapper'> <!-- begin search box --> <div class='clearfix' id='searchBox'> <form action='/search' id='searchform' method='get'> <label for='s'> </label><input id='s' name='q' type='text' value=''/> <input id='searchsubmit' type='submit' value=''/> </form> </div> <!-- end search box --> <div class='sidebar section' id='sidebar'><div class='widget AdSense' data-version='1' id='AdSense1'> <div class='widget-content'> <script type="text/javascript"><!-- google_ad_client="pub-7236285611865348"; google_ad_host="pub-1556223355139109"; google_alternate_ad_url="http://img1.blogblog.com/img/blogger_ad160x600.html"; google_ad_width=160; google_ad_height=600; google_ad_format="160x600_as"; google_ad_type="text_image"; google_ad_host_channel="0001"; google_color_border="FFFFFF"; google_color_bg="FFFFFF"; google_color_link="0000FF"; google_color_url="008000"; google_color_text="000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <div class='clear'></div> </div> </div><div class='widget Label' data-version='1' id='Label1'> <h2>Labels</h2> <div class='widget-content list-label-widget-content'> <ul> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/Awesome'>Awesome</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/blogger'>blogger</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/buttons'>buttons</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/charts'>charts</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/create'>create</a> <span dir='ltr'>(5)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/development'>development</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/easier'>easier</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/easily'>easily</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/Enhance'>Enhance</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/ezSQL'>ezSQL</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/features'>features</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/forms'>forms</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/hacks'>hacks</a> <span dir='ltr'>(4)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/HTML5'>HTML5</a> <span dir='ltr'>(4)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/interact'>interact</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/Javascript'>Javascript</a> <span dir='ltr'>(2)</span> </li> <li> <span dir='ltr'>jQuery</span> <span dir='ltr'>(3)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/kick-ass'>kick-ass</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/kickass'>kickass</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/Mobile'>Mobile</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/modern'>modern</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/practices'>practices</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/progress'>progress</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/queries'>queries</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/snippets'>snippets</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/theme'>theme</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/tutorials'>tutorials</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/Twitter'>Twitter</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/useful'>useful</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/using'>using</a> <span dir='ltr'>(4)</span> </li> <li> <a dir='ltr' href='https://guyswhocode.blogspot.com/search/label/WordPress'>WordPress</a> <span dir='ltr'>(5)</span> </li> </ul> <div class='clear'></div> </div> </div><div class='widget BlogArchive' data-version='1' id='BlogArchive1'> <h2>Blog Archive</h2> <div class='widget-content'> <div id='ArchiveList'> <div id='BlogArchive1_ArchiveList'> <ul> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='https://guyswhocode.blogspot.com/2010/'>2010</a> <span class='post-count' dir='ltr'>(19)</span> <ul> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='https://guyswhocode.blogspot.com/2010/12/'>December</a> <span class='post-count' dir='ltr'>(19)</span> <ul class='posts'> <li><a href='https://guyswhocode.blogspot.com/2010/12/best-practices-for-modern-javascript_20.html'>Best practices for modern Javascript development</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/10-useful-new-wordpress-hacks_20.html'>10 useful new WordPress hacks</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/how-to-create-kick-ass-css3-progress_20.html'>How to create a kick-ass CSS3 progress bar</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/top-10-css3-buttons-tutorials_20.html'>Top 10 CSS3 buttons tutorials</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/how-to-create-mobile-wordpress-theme_20.html'>How to create a mobile WordPress theme with jQuery...</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/awesome-wordpress-hacks-to-make-your_20.html'>Awesome WordPress hacks to make your blogger life ...</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/how-to-easily-create-charts-using_20.html'>How to easily create charts using jQuery and HTML5</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/enhance-your-web-forms-with-new-html5_20.html'>Enhance your web forms with new HTML5 features</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/php-fast-and-easy-sql-queries-using_20.html'>PHP: Fast and easy SQL queries using ezSQL</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/php-snippets-to-interact-with-twitter_20.html'>PHP snippets to interact with Twitter</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/how-to-easily-create-charts-using.html'>How to easily create charts using jQuery and HTML5</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/enhance-your-web-forms-with-new-html5.html'>Enhance your web forms with new HTML5 features</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/top-10-css3-buttons-tutorials.html'>Top 10 CSS3 buttons tutorials</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/10-useful-new-wordpress-hacks.html'>10 useful new WordPress hacks</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/best-practices-for-modern-javascript.html'>Best practices for modern Javascript development</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/how-to-create-kick-ass-css3-progress.html'>How to create a kick-ass CSS3 progress bar</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/php-fast-and-easy-sql-queries-using.html'>PHP: Fast and easy SQL queries using ezSQL</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/php-snippets-to-interact-with-twitter.html'>PHP snippets to interact with Twitter</a></li> <li><a href='https://guyswhocode.blogspot.com/2010/12/awesome-wordpress-hacks-to-make-your.html'>Awesome WordPress hacks to make your blogger life ...</a></li> </ul> </li> </ul> </li> </ul> </div> </div> <div class='clear'></div> </div> </div></div> </div> <!-- spacer for skins that want sidebar and main to be the same height--> <div class='clear'> </div> </div> <!-- end content-wrapper --> </div> <div id='footer-bg'> <div id='footer-wrapper'> <div id='footer1'> <div class='footer no-items section' id='footer-1'></div> </div> <div id='footer2'> <div class='footer no-items section' id='footer-2'></div> </div> <div id='footer3'> <div class='footer no-items section' id='footer-3'></div> </div> <div class='clear'></div> </div> <div id='copyright'> <div id='copyrightInner'> <div id='credits_left'> Copyright <a href='https://guyswhocode.blogspot.com/'>Web Development Help</a> </div> <div id='credits_right'> Design by<a href='http://www.site5.com/in.php?id=81811' title='site5'> site5 </a> Blogger Theme by<a href='http://www.BloggerThemes.net' title='Bloggerthemes'> BloggerThemes</a> </div> </div> </div> </div> </div> <!-- end outer-wrapper --> <script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/851759228-widgets.js"></script> <script type='text/javascript'> window['__wavt'] = 'AAPvtVkrZBkQ5x8xhWd4xQ8YWyZ6:1789813552491';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d5003199952258966910','//guyswhocode.blogspot.com/search/label/jQuery','5003199952258966910'); _WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '5003199952258966910', 'title': 'Web Development Help', 'url': 'https://guyswhocode.blogspot.com/search/label/jQuery', 'canonicalUrl': 'http://guyswhocode.blogspot.com/search/label/jQuery', 'homepageUrl': 'https://guyswhocode.blogspot.com/', 'searchUrl': 'https://guyswhocode.blogspot.com/search', 'canonicalHomepageUrl': 'http://guyswhocode.blogspot.com/', 'blogspotFaviconUrl': 'https://guyswhocode.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'encoding': 'UTF-8', 'locale': 'en', 'localeUnderscoreDelimited': 'en', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Web Development Help - Atom\x22 href\x3d\x22https://guyswhocode.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22Web Development Help - RSS\x22 href\x3d\x22https://guyswhocode.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Web Development Help - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/5003199952258966910/posts/default\x22 /\x3e\n', 'meTag': '\x3clink rel\x3d\x22me\x22 href\x3d\x22https://www.blogger.com/profile/17855932618517107575\x22 /\x3e\n', 'adsenseClientId': 'ca-pub-7236285611865348', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': true, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'isGoogleEverywhereLinkTooltipEnabled': true, 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/7ce469edaf870342', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': 'Get link', 'key': 'link', 'shareMessage': 'Get link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Share to Facebook', 'target': 'facebook'}, {'name': 'BlogThis!', 'key': 'blogThis', 'shareMessage': 'BlogThis!', 'target': 'blog'}, {'name': 'X', 'key': 'twitter', 'shareMessage': 'Share to X', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Share to Pinterest', 'target': 'pinterest'}, {'name': 'Email', 'key': 'email', 'shareMessage': 'Email', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27en\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': 'Read more', 'pageType': 'index', 'searchLabel': 'jQuery', 'pageName': 'jQuery', 'pageTitle': 'Web Development Help: jQuery'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': 'Edit', 'linkCopiedToClipboard': 'Link copied to clipboard!', 'ok': 'Ok', 'postLink': 'Post Link'}}, {'name': 'template', 'data': {'name': 'custom', 'localizedName': 'Custom', 'isResponsive': false, 'isAlternateRendering': false, 'isCustom': true}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'Web Development Help', 'description': '', 'url': 'https://guyswhocode.blogspot.com/search/label/jQuery', 'type': 'feed', 'isSingleItem': false, 'isMultipleItems': true, 'isError': false, 'isPage': false, 'isPost': false, 'isHomepage': false, 'isArchive': false, 'isSearch': true, 'isLabelSearch': true, 'search': {'label': 'jQuery', 'resultsMessage': 'Showing posts with the label jQuery', 'resultsMessageHtml': 'Showing posts with the label \x3cspan class\x3d\x27search-label\x27\x3ejQuery\x3c/span\x3e'}}}]); _WidgetManager._RegisterWidget('_NavbarView', new _WidgetInfo('Navbar1', 'navbar', document.getElementById('Navbar1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'main', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'navMessage': 'Showing posts with label \x3cb\x3ejQuery\x3c/b\x3e. \x3ca href\x3d\x22https://guyswhocode.blogspot.com/\x22\x3eShow all posts\x3c/a\x3e', 'lightboxEnabled': true, 'lightboxModuleUrl': 'https://www.blogger.com/static/v1/jsbin/120969204-lbx.js', 'lightboxCssUrl': 'https://www.blogger.com/static/v1/v-css/828616780-lightbox_bundle.css'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_AdSenseView', new _WidgetInfo('AdSense1', 'sidebar', document.getElementById('AdSense1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_LabelView', new _WidgetInfo('Label1', 'sidebar', document.getElementById('Label1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogArchiveView', new _WidgetInfo('BlogArchive1', 'sidebar', document.getElementById('BlogArchive1'), {'languageDirection': 'ltr', 'loadingMessage': 'Loading\x26hellip;'}, 'displayModeFull')); </script> </body> </html>