Scratch that, madesome minor tweaks, new version is here: http://jsbin.com/isive
I also had to check for IE and change the easing method since that one
looked a bit jerky in IE for some reason.
On Oct 27, 2:00 pm, c.barr [EMAIL PROTECTED] wrote:
Thanks again guys. I ended up using
Thanks again guys. I ended up using ricardobeat's version since the
code actually fit my needs better - I needed it to go to exact sizes,
not to calculate the size on the fly.
I removed the plugin functionality since I'm only using it once, and
when I posted my example without one imporant
Thanks Karl. That was actually stupidity of my part, that single
replace() call must be slower than most of the script. Number also
seems to be slower than parseInt on all modern browsers (despite being
6x faster on IE6) - I like the looks of Number(...) though :]
- ricardo
On 25 out, 20:54,
In case Remy Sharp is reading this:
jsbin is not working here.. when I try to save to a new URL, it goes
to http://edit/
Also, pressing backspace results in lag, using delete doesn't.
I turned your code into a plugin, and made some changes. Now you pass
an object with parameters and only need
It's working again: http://jsbin.com/evodi/
On Oct 25, 4:18 pm, ricardobeat [EMAIL PROTECTED] wrote:
In case Remy Sharp is reading this:
jsbin is not working here.. when I try to save to a new URL, it goes
tohttp://edit/
Also, pressing backspace results in lag, using delete doesn't.
I
Here another approach:
http://jsbin.com/omefi
Maurício
It's working again: http://jsbin.com/evodi/
Awesome guys, thanks for the help here, both of these look more
effiecient that what I was doing.
I'm not in front of a Windows machine right now, so I can't test it in
IE, but how does that seem to preform there?
On Oct 25, 5:34 pm, Mauricio \(Maujor\) Samy Silva
[EMAIL PROTECTED] wrote:
Here
that looks great, Ricardo. I'm interested to hear why you chose to
write this:
var normal =
Number(this.find('a:first').css('paddingLeft').replace('px',''));
instead of this:
var normal = parseInt(this.find('a:first').css('paddingLeft'),10);
Is there an advantage to your line? I
Maybe you could post a working sample to jsbin.com, that would make
things a lot easier.
On Oct 24, 4:00 pm, c.barr [EMAIL PROTECTED] wrote:
Hate to bump this, but it might get lost otherwise!
Cool, I've never seen that site before. I made a small demo using my
code above: http://jsbin.com/abuxe
Strangely enough it's not working properly, and that's a direct copy
of what I wrote that works. Basically they are all shrinking, and the
on your mouse is over does not get larger. Not
10 matches
Mail list logo