saquery.com
a web developer' s kung fu…
Categories: jQuery | Add a Comment
This is a simple function to toggle text contents of an HTML element with jQuery. It should be easy to equip the toggleText methode with an array of strings. /* * jQuery.toggleText Plugin. * Copyright (c) saquery.com * Licensed under MIT - http://www.opensource.org/licenses/MIT */ $.fn.toggleText = function(txt){ return this.each(function(){ var _=$(this),_current=_.text(),_txt=txt; if ( _current === [...]
It is easy to dive into the world of jQuery. It requires only little knowledge in javascript in order to achieve great results with this JavaScript library. Beginners using Visual Studio will benefit from the so-called Intellisense support for jQuery. http://weblogs.asp.net/scottgu explains in detail how to integrate jQuery in Visual Studio.
Categories: jQuery | Add a Comment
It seems that jQuery 1.5 is near. http://blog.jquery.com reported that a release candidate of version is available for download. So far the jQUERY 1.5 BETA 1 CHANGE LOG This is a concise change log – full release notes will be coming with the final 1.5 release. Rewrite of the Ajax module by Julian Aubourg. This is the most significant change in this release and brings [...]
Categories: CSS, jQuery | Add a Comment
YUI Library - ResetCross-browser layouts are time consuming? Yes! Coding cross-browser layouts can be very time consuming. Especially the ever-popular Internet Explorer plays an important role in this context. All Web browsers have custom CSS settings for the individual HTML elements such as a table. Firebug shows us that the standard rules for the current browser are listed in the file system.css. As already mentioned, these settings can be different in different browsers. The plan is to define identical layout rules for all these browsers.
Categories: jQuery | Add a Comment
There is a global switch. If this is set to false jQuery will prevent browser cache usage for Ajax-Requests. The following jQuery.ajaxSetup methode call will disable cache for all Ajax requests. $.ajaxSetup ({ cache: false });
jDrums A few months ago, I studied the possibilities to play audio files such as wave or mp3 in a Web browser. I quickly came to the conclusion that it is a difficult project. As a test scenario I had imagined a very simple drum machine.
Delete all Table Rows When trying to fade out and delete a table row you will realize that the table rows can not hide slow. The trick is to hide the table cells as follows. OPTIONgroup_idgroup_member Delete Row02 Delete Row21 Delete Row32 Delete Row03 Delete Row24 Delete Row25 Delete Row26