Posts

Use different CSS rules / styles in JavaScript or jQuery enabled browsers

This is a simple yet very useful and powerful technique. Using different CSS rules in JavaScript or jQuery enabled browsers lets you customize your website style for JS enabled and disabled browsers using only CSS. Thus you separate concerns of styling and business logic into CSS and javascript. This lets you concentrate on your goals and not styling in your javascript code for example. All you

Use different CSS rules / styles in JavaScript or jQuery enabled browsers

This is a simple yet very useful and powerful technique. Using different CSS rules in JavaScript or jQuery enabled browsers lets you customize your website style for JS enabled and disabled browsers using only CSS. Thus you separate concerns of styling and business logic into CSS and javascript. This lets you concentrate on your goals and not styling in your javascript code for example. All you

“jQuery HowTo” on Twitter

Lately there is a lot of buzz about Twitter. It seems everybody is on Twitter, twittering… So I started investigation what all that buzz was about and what I could have done with it. Several days later I found myself twittering. Twitter is a great place to build your community of interest. For example if you are interested in jQuery than you can follow people who share tweets about jQuery/

“jQuery HowTo” on Twitter

Lately there is a lot of buzz about Twitter. It seems everybody is on Twitter, twittering… So I started investigation what all that buzz was about and what I could have done with it. Several days later I found myself twittering. Twitter is a great place to build your community of interest. For example if you are interested in jQuery than you can follow people who share tweets about jQuery/

Check if jQuery plugin is loaded

The previous post checked if jQuery is loaded, now it is time to check if particular jQuery plugin is loaded. Checking if plugin exists or if plugin has been already loaded is useful if you are writing your jQuery code that depends on that plugin. Here is how to check if some jQuery plugin is loaded or not: if(jQuery().pluginMethod) { //jQuery plugin exists } else { //jQuery plugin DOES

Check if jQuery plugin is loaded

The previous post checked if jQuery is loaded, now it is time to check if particular jQuery plugin is loaded. Checking if plugin exists or if plugin has been already loaded is useful if you are writing your jQuery code that depends on that plugin. Here is how to check if some jQuery plugin is loaded or not: if(jQuery().pluginMethod) { //jQuery plugin exists } else { //jQuery plugin DOES

Adding and using jQuery on Blogger / Blogspot

Investigating my visitors statistics, I noticed that there were some users who were interested in adding and using jQuery on their Blogger.com (Blogspot.com) accounts. Adding jQuery library to your Blogger/Blogspot blog is not difficult. All you have to do is to add one line of code to your template’s header. Here is the code to add to your blogger template’s header: