Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript horizontal web page Re: horizontal web page

#129574
mdrd88
Participant

Okay let me get this straight

jQuery(function($) {
$(‘div.mousewheel_example’)
.bind(‘mousewheel’, function(event, delta) {
var dir = delta > 0 ? ‘Up’ : ‘Down’,
vel = Math.abs(delta);
$(this).text(dir + ‘ at a velocity of ‘ + vel);
return false;
});
});

Where it says “$(this)” would I write something like “animate left”?