blog about graphic design, web design and marketing

The D. Drew Design Blog

Articles pertaining to "html"

27
oct 10

jQuery Vertical Align Function

You can't vertically align content very easily for websites unless they're contained in a <table>, but using tables isn't always an option. Since this is a problem I frequently encounter, I decided to write a jQuery function that does it for you. And since I'm all benevolent and stuff, I've decided to provide it here for your enjoyment. see the article


9
feb 10

Snazzy jQuery Form Alert Boxes

For a recent client, I wanted to write a script that would alert a user to not leave a field blank. Using jQuery, I wrote a script that animates a small alert box into a position relative to the input box in question. If the user "focuses" on the particular input box, then "blurs" (clicks off of it, or clicks elsewhere) without inputting anything, the alert box will insert itself into the DOM directly above the particular <input> in question alert them that they left it empty. see the article


11
jul 09

Creating An Image Management System for Your Website with Smart Image Resizer and Lightbox 2

When I was developing this site, I decided early on that I wanted to use Lightbox 2 as my primary image viewing module. It's attractive and suits the clean look on my site. However, as I started adding more CMS features to my site through PHP, I realized I would need software that would automatically resize images as well.  see the article


22
jun 09

JQuery/PHP: Simple Random Text Generation Box

These instructions will show you how to create a div with a field of text in it, and upon clicking a link, will load a JQuery animation, replace the text inside the box, and then load another jquery animation. see the article