Archives

Archives / 2010 / December
  • Jazz up your web forms using jQuery animation effects

    In this part I cover how to add jazz to your web forms using jQuery effects. jQuery provides a set of methods that allow you to create animations in your web pages. Collectively these methods are called as Effects. The effects they render include fading in and out, sliding in and out, changing opacity of elements, hiding and showing elements and so on. You can, of course, define custom animations. In this part we will use these effects to develop a tooltip, master-detail listing and progress indicator.

  • Event Handling in jQuery

    In the previous part of this series I discussed how

    HTML DOM can be manipulated using jQuery. Now let's proceed with one of the most common task you do in JavaScript - handling events. jQuery streamlines the JavaScript event handling mechanism by providing you a uniform and easy way to wire events with their handlers without bothering about the cross browser issues. As an example we will create a custom context menu (shortcut menu or right click menu) that displays some options specific to our website instead of the normal context menu of the browser.

  • Twitter like character counter - jQuery version

    My recent article titled "Displaying a Character Counter for Multiline Textboxes" shows you how to create a character counter like Twitter for multiline textboxes. The articles does so using ASP.NET AJAX client behavior. Here is a jQuery version of the code that does similar job. Note, however, that unlike ASP.NET AJAX client behavior as illustrated in the article the following code takes a "function" based approach to quickly implement similar functionality.

  • Manipulating DOM using jQuery

    By now you know how to alter existing elements and their attributes. jQuery also allows you insert, append, remove and replace elements from HTML DOM so that you can modify the document structure. For example, say you are calling some WCF service from client script and based on its return values need to generate HTML table on the fly. In this article I am going to demonstrate some of these jQuery features by developing a simple RSS gadget that grabs and displays RSS feed items in a web form.

  • Commentary on Hathayoga Pradipika

    There are several ancient texts available on the subject of Kundalini Yoga. Out of all of them three texts namely Hathayoga Pradipika, Gheranda Samhita and Shiva Samhita have gained importance and popularity in the Yoga circle. Again Hathayoga Pradipika (HYP) is possibly the most popular one amongst Indian as well as western practitioners. Though all forms of spiritual practices aim at controlling the mind stuff they advocate different means to attain this goal. For Yogis this path is of Kundalini awakening and to that end Hathayoga is one of the most important methodology.