Web Design Blog - January 2010

Illustrator Quick Tips - Constraining Radial Gradients

Have you ever tried to constrain a radial gradient to an oval? It cannot be done in any easy fashion. So how do you do it? Simple... Start with a circle. 1. Draw a perfect circle by holding down the shift key. 2. Apply your gradient to the circle. Make sure the gradient center point is in the center of the circle. This should be set this way by default. 3. With the selection tool grab the handle and stretch or contract your circle to your desired shape. This is a great technique for creating cir... read more!

Posted in technology | Post Comment

javascript, confirm before you go

Sometimes you may want to have a user acknowledge an action and have a second thought about exactly what they are doing before carrying out their request. Javascript fits pretty well for most of these situations. There is a nifty function in javascript named confirm(). This little function takes one argument ( a message for the user ), and presents an alert box to the user showing the message along with an "Ok" and "Cancel" button. If the user clicks ok, confirm returns true, if they click cance... read more!

Posted in javascript | Post Comment | 1

PHP file upload restrictions

Having problems with your file uploads getting cut off for various errors from php? Remember that in order to accept larger uploads you may need to adjust your php configuration file ( php.ini ) Here are some items you should check and tweak in php.ini memory_limit post_max_size upload_max_filesize max_execution_time max_input_time ... read more!

Posted in php | Post Comment

shortcut href link different query param

Ever wanted to have an anchor link back to the same page but just change a query parameter in the url? Using php to discover the full url and echoing that before your query param may be too tedious? There is a simple way to link back to the same page but with a different query param, say you are on article.php and you want to use an anchor to point the user to article.php?article_id=2. In the anchor href you only need to put "?article_id=2". This can come in handy to shorten your code a little, ... read more!

Posted in php | Post Comment

Unibody MacBook Pro Initial Impressions

I just upgraded my MacBook Pro to the new Unibody model. My first impressions are positive. The major standout feature is the quality of design. It feels solid. This comes from the unibody construction. Another upgrade is the speed. The 3.06 GHz Intel Core 2 Duo Processor paired with 8 GB of memory makes this laptop scream. The largest psds are no open in seconds vs minutes on my old machine. The new keyboard takes some getting used to. The spaces between the keys can throw you off at first, but... read more!

Posted in technology | Post Comment


View All Posts