Google

Wednesday, February 20, 2008

Jquery fade



    • 1)Rollover the box to stop fading
    • 2)On mouseout the fading will start again
    • 3)This is a simple script. Just include the js and call below script. Have fun :).

example:

$(document).ready(function(){ $(".fade").fademe({ speed: 1000, timeout: 3000 });

Code:
Download fademe.js

jQuery.fn.fademe= function(options) {
this.each(function(){
var settings = {
speed: 1000,
timeout: 3000
};
if(options) {
jQuery.extend(settings, options);
}
jQuery.fn.fademe.next(this,settings);
$(this).hover(function(){jQuery.fn.stop()},function() {jQuery.fn.start(this,settings)})
});
}
jQuery.fn.start=function(element,settings) {
jQuery.fn.fademe.st =setTimeout(function() {jQuery.fn.fademe.next(element) } ,settings.timeout);
return false;
}
jQuery.fn.stop=function() {
clearTimeout(jQuery.fn.fademe.st);
return false;
}
jQuery.fn.fademe.next=function(element,settings) {
if($(element).children("li:visible:first").length) {
obj=$(element).children("li:visible:first")
$(obj).fadeOut(settings.speed,function() {
$(this).hide();
$($(obj).siblings().find($(obj).next("li"))[0]).fadeIn(settings.speed);
if($(element).children("li:visible").length==0) {
$(element).children("li:first").show();
}
} );
}
jQuery.fn.fademe.st =setTimeout( function() {jQuery.fn.fademe.next(element,settings) },settings.timeout);
}

Tuesday, February 19, 2008

Jquery tool tip

Read this article on http://www.webringideas.com/web-development/jquery-tool-tip.html

Thursday, February 7, 2008

Test Credit Card Numbers

American Express:378282246310005


American Express:371449635398431


American Express Corporate:378734493671000


Australian BankCard:5610591081018250


Diners Club:30569309025904


Diners Club:38520000023237


Discover:6011111111111117


Discover:6011000990139424


JCB:3530111333300000


JCB:3566002020360505


MasterCard:5555555555554444


MasterCard:5105105105105100


Visa:4111111111111111


Visa:4012888888881881


Visa:4222222222222


Dankort (PBS):76009244561


Dankort (PBS):5019717010103742


Switch/Solo (Paymentech):6331101999990016



Helpful information from PayPal

Friday, February 1, 2008

2008 new year party @ kovalam

It was a rocking party on January 4th 2008. Almost all flippers joined the party except few. All reached beach by around 4 pm.
Hawa Beach was the destination.. It was a nice break from work and start of weekend. Everyone really enjoyed the party. We almost spent 3 hour in sea. We carried a volley ball. But what we played was not volley ball :).
By around 7 pm we had our dinner. What I liked in the dinner was Tiger prawn :).