Archive

Posts Tagged ‘Javascript’

Wordpress: Add Random Content in Sidebar Widget

Feb 26th, 2010

Need to add random content is sidebar! Do you have two kinds of content and want to display randomly to visitors? This can also be useful when you have two types of content and both are equally important but sidebar space is not allowing to add both kind of content.
The technique and code provided will [...]

Controlling JavaScript Execution Order

Feb 26th, 2010

Here is my experiment with delaying JavaScript execution order. I have tried various methods I can remember and all failed. So, I have written an efficient script (I think!) for delaying the execution of dependent JavaScript code.
I had three lines of code. First was External JavaScript file. Second was call to a function declared inside [...]

Add Input Fields Dynamically to Form Using JavaScript

Feb 8th, 2010

Here you will get working code for adding input fields dynamically using a link or button. Default number of input fields are provided and you want to give users a option to add more input elements then this script will work. Be it Input box field, Textarea or any other form elements,  it will work [...]

Add Sitemeter Code in Efficient, Optimized and Beautiful way

Jan 20th, 2010

Are you using free sitemeter stat counter code? If yes, then you may have faced the problem of visible sitemeter image appearing on the page. Here I am not going to tell, how to hide or remove this image, as this image appear for free account, so think of it as part of agreement.
What I [...]

Web Scripting Top Blog Posts of 2009

Dec 20th, 2009

All are writing something something related to year end. So, what should I write. I though to write about the top visited posts of 2009 on my blog.
I hope you will enjoy reading it. I am sure my regular visitors will like this post.
Dynamically Populate Select List by Ajax
PHP Login and Logout Script
Javascript show hide [...]

JSON got Native Support in ECMAScript 5th Edition

Dec 16th, 2009

ECMA has approved the 5th edition of ECMAScript. This includes the native support of JSON. This will help in using JSON in more secure way and it will also allow faster parsing of JSON. JSON is used widely as data interchange format. It is used in place of XML. Many think that XML is overly loaded and [...]

Google Ajax Search API – Description and Example

Dec 6th, 2009

Want to add Google Search in your website or blog? Google AJAX search API is available to add on any website you own. You can restrict the search to the websites you own with Google Custom Search Engine. It can be single site or multiple sites or whole of internet.
First you need to sign [...]

PHP Redirect Vs JavaScript Redirect?

Oct 17th, 2009

Redirect to another web page is possible through PHP as well as JavaScript. So, which one you will choose? Code, comparison and discussion about the suitability of each method.

Fast Load JavaScript and CSS Files

Oct 15th, 2009

Minify JavaScript and CSS file and get response speed increased of your website. Save bandwidth also.

Display Message for Short Duration

Oct 13th, 2009

Display message that hide itself after certain interval or after user say’s to hide it. Released it for beginners.