Found a very cool tutorial to make swirling text in photoshop. There's more tutorials on that site too, like this one for smoke.
(found via Creativebits)
Found a very cool tutorial to make swirling text in photoshop. There's more tutorials on that site too, like this one for smoke.
(found via Creativebits)
Here's a new fun little colortool someone sent me a link to yesterday: Genopal. There are a bunch of pre-made "themes", or you can play around with the controls to create a new one. Click on any of the colors in the theme will reveal what HEX value it is.
Another mini-cheatsheet… I know this stuff, but I'm always looking it up for the exact syntax.
Connect to MySQL and to the database – mysql_connect
$connect = mysql_connect("localhost", "mysqluser", "userpassword") or die(mysql_error());
Select the database – mysql_select_db
mysql_select_db("databasename", $connect) or die(mysql_error());
Close connection – mysql_close
mysql_close($connect) or die(mysql_error());
Select data from the database – mysql_query
$myquery = "SELECT tablefield, tablefield2 FROM tablename WHERE [...]
Just some random stuff. This post was saved as a draft a long time ago because I needed to refer to one of these – but was waiting until I could find the original source to publish. It's pretty generic/basic stuff, though, (and a really small snippet) so I'm finally posting it.
To set the value [...]
I was recently asked to embed a map into a web site. Basically, the client wanted a map, with a marker, indicating where their business was, and an easy way for the user to get directions to where they were located.
The first thing you need to do is get a Google Map API key. Just [...]
I'm just curious… is there a fancy way to do something like this in CSS:
Introduction …………… Page 1
Information ……………. Page 2
More Info ……………… Page 3
… where the "Page" text lines up and the "….." just fills in until it reaches the "Page" text… kind of like you'd see in a table of contents in a [...]
It seems like a lifetime ago I first saw that javascript that does the neat "show/hide" trick. Recently I did a search to see what the latest version of that script was and there must have been a dozen different varieties. I think I liked this one the best which is a million times simpler [...]