Re: [jQuery] Animating text like a cash register

2006-11-21 Thread Glen Lipka
Making huge progress, thanks for the suggestions. I did it with a long col of digits using line-height and animate. example: $("#pricingCol1").animate({top: col1 * n }, 500); n being the line-height. I suppose I could detect for the line-height and do it dynamically. Hmm. check out the

Re: [jQuery] Animating text like a cash register

2006-11-21 Thread Alan Gutierrez
* Glen Lipka <[EMAIL PROTECTED]> [2006-11-21 20:28]: > Making huge progress, thanks for the suggestions. I did it with a long col > of digits using line-height and animate. > example: $("#pricingCol1").animate({top: col1 * n }, 500); > n being the line-height. I suppose I could detect for

Re: [jQuery] Animating text like a cash register

2006-11-21 Thread Glen Lipka
Yes, I would need to do exactly that. I am working now on adding up all the checked boxes using parseFloat to convert them. Is that the best way? They are strings, I guess. When you say, plugin worthy, which are you talking about? Glen Not sure I follow. Are you looking to convert ... var

Re: [jQuery] Animating text like a cash register

2006-11-21 Thread Glen Lipka
Nuts. I don't need to add them up. I just need to find the highest price. Hmm. I need to think more about how the pricing works in their business model. I still need to translate the number like you described though. Sorry, I am talking out loud, arent I? glen > Not sure I follow. Are yo

Re: [jQuery] Animating text like a cash register

2006-11-21 Thread Alan Gutierrez
* Glen Lipka <[EMAIL PROTECTED]> [2006-11-22 00:51]: > Yes, I would need to do exactly that. > I am working now on adding up all the checked boxes using parseFloat to > convert them. Is that the best way? They are strings, I guess. > > When you say, plugin worthy, which are you talking about?

Re: [jQuery] Animating text like a cash register

2006-11-21 Thread Alan Gutierrez
I hate giving advice. If anyone is paying attention, check me. To keep from lossing a penny, rather than store you numbers as floats, store them as a count of pennies. So that 45.95 becomes 4595. Then do like this... http://blogometer.com/repository/etude/jQuery/discuss/sum-prices/sum.html Divi

Re: [jQuery] Animating text like a cash register

2006-11-22 Thread Glen Lipka
Alan, thanks much. I used a bunch of your techniques. It works now. I might touch it up some tomorrow. Maybe trigger the check boxes for all the lower model ones. And I need to start with a default position on the money. But the hard part is done. And I am sure that I could tidy up the code

Re: [jQuery] Animating text like a cash register

2006-11-22 Thread Andy Matthews
D] [mailto:[EMAIL PROTECTED] Behalf Of Glen Lipka Sent: Tuesday, November 21, 2006 7:24 PM To: jQuery Discussion. Subject: Re: [jQuery] Animating text like a cash register Making huge progress, thanks for the suggestions. I did it with a long col of digits using line-height and animate.

Re: [jQuery] Animating text like a cash register

2006-11-22 Thread Glen Lipka
ECTED] [mailto:[EMAIL PROTECTED] Behalf Of *Glen Lipka *Sent:* Tuesday, November 21, 2006 7:24 PM *To:* jQuery Discussion. *Subject:* Re: [jQuery] Animating text like a cash register Making huge progress, thanks for the suggestions. I did it with a long col of digits using line-height