PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
real-time
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my settings
my profile
Public Pastes
ruby: how to load ...
4 sec ago
Unlock Iphone 4 4....
28 sec ago
Modifying selectio...
10 sec ago
Dmaskell92
11 sec ago
Untitled
15 sec ago
Fileape Javascript...
16 sec ago
Untitled
16 sec ago
Are “cha...
16 sec ago
Untitled
By: a guest on Jan 28th, 2012 | syntax:
None
| size: 0.26 KB | hits: 18 | expires: Never
download
|
raw
|
embed
|
report abuse
Copied
var slider = function(elem){
var self = this;
this.div=$(elem);
this.next = function(){
self.div.animate...
self <- Don't rever to the slider object anymore but to the clicked element... a solution ?
}
this.suiv.bind('click',this.next);
}
create a
new version
of this paste
RAW Paste Data
var slider = function(elem){ var self = this; this.div=$(elem); this.next = function(){ self.div.animate... self <- Don't rever to the slider object anymore but to the clicked element... a solution ? } this.suiv.bind('click',this.next); }