Wordpress : Using jQuery library with your plugin or theme

When you develop a Wordpress plugin or theme, you might want to make use of the jQuery library included and distributed with the Wordpress package.

addthis_url = ‘http%3A%2F%2Fwww.lost-in-code.com%2F57%2Fwordpress-using-jquery-library-with-your-plugin-or-theme%2F’;
addthis_title = ‘Wordpress+%3A+Using+jQuery+library+with+your+plugin+or+theme’;
addthis_pub = ”;

Wordpress : Using Javascript libraries with your plugin or theme

When you develop a Wordpress plugin or theme, you might want to make use of some of the Javascript libraries distributed with the Wordpress package such as Prototype, Scriptaculous and jQuery.

addthis_url = ‘http%3A%2F%2Fwww.lost-in-code.com%2F47%2Fwordpress-using-javascript-libraries-with-your-plugin-or-theme%2F’;
addthis_title = ‘Wordpress+%3A+Using+Javascript+libraries+with+your+plugin+or+theme’;
addthis_pub = ”;

Embed Quicktime Movie

Embedding a Quicktime movie player into your webpage work similarly to embedding Flash files, making use of the OBJECT, EMBED and PARAM tags inside your HTML code. You can play .MOV, .MP4 and .MPEG files with the embedded Quicktime movie player.

addthis_url = ‘http%3A%2F%2Fwww.lost-in-code.com%2F37%2Fembed-quicktime-movie%2F’;
addthis_title = ‘Embed+Quicktime+Movie’;
addthis_pub [...]

JavaScript : Increment & Decrement Variable Values

Using Javascript, you might want to define a variable when a page is loaded and change the value of that specific variable throughout the period of the interaction of the user with the page. You can define a variable in the HEAD section of the page like this :

addthis_url = [...]