Archive for the ‘Javascript’ Category

Fading Effect with YUI’s Animation Utility

Posted on May 2, 2008
In YUI's Animation Utility example page there are demonstrations on how to create color and motion animations. However I couldn't find an example for how to create fading effect. After spending some time on trying different approaches, I came up with this code snip: (more...)

Creating a Digg This Button for Your WordPress Blog

Posted on April 30, 2008
Creating a Digg This button is very easy. Here's a non-plugin approach: digg_url = '< ?php the_permalink() ?>'; digg_title = '< ?php the_title() ?>'; Copy and paste above script to anywhere between your WordPress' theloop: digg_url = 'http://thecodecentral.com/2008/04/30/creating-a-digg-this-button-for-your-wordpress-blog'; digg_title = 'Creating a Digg This Button for Your WordPress Blog'; Instead post specific Digg button, you can create a site wide [...]

JavaScript Source Joiner/Combiner

Posted on March 18, 2008
The complexity of JavaScript code has increased rapidly over the last two years. The emerging of various JavaScript libraries/frameworks along with Ajax technology enable us to build sophisticate applications which are comparable to desktop ones. A mid-size to large-size Ajax/JavaScript applications normally consist of thousands lines of code. For readability and navigability, it is practical [...]

A Useful JavaScript Image Loader

Posted on February 21, 2008
I released a YUI implementation of image gallery script a month ago. While it was quite an enjoyable experience to explore the potential of YUI and JavaScript, I found I have created many userful code snips (for instance this Loading Panel) along the way. Today I am going to show you another useful JavaScript code snip: [...]

A YUI Loading Panel Widget

Posted on January 17, 2008
Probably needless to say, but here it is. A web page which is processing a lengthy Ajax request and doesn't provide a loading indicator of any kind will mostly mislead the user to think that the page has stopped responding. So the solution? Use a loading indicator of course. Here's a very handy loading indicator [...]
Page 2 of 41234
Code Central Special

Categories

Polls

  • Tell other about your screen resolution (pulled from web stats):

    View Results

    Loading ... Loading ...