What's Here?
- Members: 306,960
- Replies: 841,408
- Topics: 140,595
- Snippets: 4,465
- Tutorials: 1,166
- Total Online: 1,891
- Members: 108
- Guests: 1,783
|
's Contributions
|
Below are the tutorials, code snippets, and resources has submitted to dream.in.code. For more information on Kudos and contributing to dream.in.code visit: http://home.dreamincode.net/?p=about#kudos.
|
|
Tutorials
in (Last Comment: , Views: 5,440)
|
|
Code Snippets
|
 |
|
|
Submitted: April 2, 2008
Views: 699
This will instantly convert a temperature on one scale into it's equivalents on the other scales, using an onChange handler.
It's formatted into an HTML document currently, rip out the parts and place them were you want in your own page.
|
|
|
 |
|
|
Submitted: April 20, 2008
Views: 1124
Greet somebody based on the day of the week
|
|
|
 |
|
|
Submitted: April 1, 2008
Views: 3122
Roll dice using the mt_rand feature of PHP. I took the liberty of formatting this into a nice HTML document, largely for making sure it worked. Feel free to rip it apart and take whatever you need.
|
|
|
 |
|
|
Submitted: April 11, 2008
Views: 981
Convert a temperature between all three scales - Fahrenheit, Celcius, and Kelvin.
|
|
|
 |
|
|
Submitted: April 2, 2008
Views: 1505
Displays a random link (or image, or paragraph, or anything from that matter!) on a web page.
|
|
|
 |
|
|
Submitted: September 24, 2008
Views: 319
Useful for salt, validation codes, preset passwords, etc.
|
|
|
 |
|
|
Submitted: April 1, 2008
Views: 1182
Will clear the default value of a form field, but not any user input.
For example, if the default value of a text input field is "Enter your username" with an onclick event to clear that, should the user enter half their username and click back onto that field, the first half is lost. Using this, it won't.
Please PM me any questions which I will clear up via comments on this snippet.
This has been tested.
-Spear
|
|
|
| |