Archive for the ‘Tutorials’ Category

Converting a Design to a Wordpress Website

Thursday, December 17th, 2009

There doesn’t appear to be too many psd to HTML tutorials on the net, so I thought I’d write one. Given the popularity of the Wordpress blogging software, I’ll code the design up for Wordpress rather than a static HTML site.  To reiterate, this is about taking a design (in whatever format), slicing it up in Photoshop, or similar (Gimp), then applying the CSS to the HTML. Wordpress features intuitive markup, so I’ll base the HTML around theirs.

(more…)


Simple jQuery Drop Down Menu

Wednesday, December 16th, 2009

Jquery’s a phenomenal JavaScript library that greatly reduces the amount of JavaScript required for front-end user interface interactions and utility tasks. As a quick introduction to the wonders of jQuery, I’ll demonstrate how simple it is to build a dropdown menu. First off, the HTML:

<div id="page">
<div id="content">
<ul id="menu">
<li><a href="#">About Us</a></li>
<li><a href="#" id="show">Services</a></li>
</ul>
<ul id="service-options">
<li><a href="blinds.html">Products</a></li>
<li><a href="curtains.html">Testimonials</a></li>
<li><a href="interior-designs.html">Contact Us</a></li>
</ul>
<ul id="menu">
<li><a href="#">Products</a></li>
<li><a href="#">Testimonials</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
</div><!--page ends-->

(more…)


Using the Flickr API to Import Images to your Website

Tuesday, December 15th, 2009

With a vast number of Wordpress plugins available, it’s easy to download one, then plug and play while not having to get involved with any code. Although convenient, sometimes it’s intersting to know what’s going on under the bonnet. Here, I’ll be looking at the Flickr API thanks in large part to an interesting chapter from Sitepoint’s ‘The Art and Science of Javascript’. Where they mashed up Flickr with Google maps, I’ll merely download a Flickr gallery to a site, integrating it with the famous ‘lightbox’ image viewer so users can view an enlarged images without having to go to Flickr.

(more…)