Calculating the mouse position in relation to the buttons is tricky under
certains circimstances. Relatively positioned ancestor elements can upset
things, (I had to allow for them explicitly in IE).
Here's a simpler demo here that shows it working in Opera, FF & IE:
http://www.softwareunity.com
Great work!-AshutoshOn 8/11/06, George Adamson <[EMAIL PROTECTED]> wrote:
Hi everyone,I've been working on a Spin Control that uses only a standard textbox.
With _javascript_ enabled the textbox looks and acts like a spin-buttoncontrol without adding any extra elements.
http://www.softwareunity.com
It works now, very slick!-jsOn 8/11/06, John Resig <[EMAIL PROTECTED]> wrote:
This is a great idea for a plugin - keep up the good work!> It doesn't work for me in FF1.5.05/IE6.x (no arrows show up)Works for me in Firefox 2.0 Beta 1, OSX.However, Safari 2.0 shows no arrows (but if you click, it dec
This is a great idea for a plugin - keep up the good work!
> It doesn't work for me in FF1.5.05/IE6.x (no arrows show up)
Works for me in Firefox 2.0 Beta 1, OSX.
However, Safari 2.0 shows no arrows (but if you click, it decreases
the count - only).
And in Opera 9 it also decreases the count only
It doesn't work for me in FF1.5.05/IE6.x (no arrows show up)-jsOn 8/11/06, George Adamson <
[EMAIL PROTECTED]> wrote:Hi everyone,I've been working on a Spin Control that uses only a standard textbox.
With _javascript_ enabled the textbox looks and acts like a spin-buttoncontrol without adding any e
Hi everyone,
I've been working on a Spin Control that uses only a standard textbox.
With Javascript enabled the textbox looks and acts like a spin-button
control without adding any extra elements.
http://www.softwareunity.com/sandbox/jqueryspinbtn/
The up/down arrows are achieved using a back