DemoDownload Had enough of the same old operating system based select field style? Why not skin it up, this script allows you to apply a skin to a select box. This tutorial is based on the original code i wrote, however this version is less buggier and has support for non JS enabled browsers! Nice [...]
Mar 16 2008
jQuery for beginners
DemoDownload This is a little tutorial i put together to help people starting out with jQuery to learn the basics. So, first things first. Pop over to http://docs.jquery.com/Downloading_jQuery and download the latest version in whatever form you prefer, Minified, Packed or Uncompressed. If you are not fussed then i would suggest the packed version. No, [...]
Mar 12 2008
WordPress TinyMCE Image Upload Plugin
DemoDownload After many hours looking and looking for a plugin for TinyMCE i finally found one that actually worked quite well and was what it said it is .. An actual image upload plugin for WordPress's TinyMCE ... ! Take a look here: http://www.soderlind.no/archives/2006/01/03/imagemanager-20/ Download here: http://www.soderlind.no/download/ImageManager2.41.zip I know someone will really appreciate this post [...]
Feb 27 2008
Onloading functions
DemoDownload A cool way of onloading functions in javascript can be done like so. window.onload = function() { callFunctionOne(); callFunctionTwo(); // Etc }
Feb 27 2008
Javascript Image Preloader
DemoDownload A very simple way to load the images into the browsers cache so when they are displayed they will not have to load the file and create a delay in the browser. // Initiate the image count variable var imageCount = 0; // create an array to contain the preloaded image files var preloadImages [...]
Feb 27 2008
Form Calculation
DemoDownload This is a very basic JavaScript code to calculate the value of form elements. It can become quite useful when wanting to add items up on the fly if you prefer not to use ajax or you do not have a server side scripting language available.
Feb 27 2008
Sending a xml HTTP Request (AJAX Request)
DemoDownload This is a basic tutorial on how to use the xmlHTTPRequest object to send an ajax request, the way I have chosen to do this is by calling the request encased in my own object. First we need to create an object, and it shall be called 223ajaxRequest224 and it will have three arguments [...]
Feb 27 2008
Input text value change on click w/wo jQuery
DemoDownload This tutorial is featured on derekharvey.co.uk, the method has been applied to the username and password field. The reason i created this javascript was because usually when you have a text field and specify a default value when you click on the field the default value needs to be removed in order to fill [...]