Steve Scrimpshire Posted May 1, 2005 Report Share Posted May 1, 2005 (edited) I'm using instructions from here: http://www.infocraft.com/projects/ffcounter/ To work on a counter for my website. Here's what I am working on: http://semperphi.com/firefox-test.html As you can see, I cannot figure out how to get the digits to show up exactly where I want them to, in the blank space beneath 'Firefox' . Secondly, I would love to be able to convert the text digits to animated odometer digits like this: Or even better animations so that you actually see it 'rolling' up if you can point me to those. Any tips, pointers, pushes in the right direction would be appreciated. Edited May 2, 2005 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
Guest anon Posted May 1, 2005 Report Share Posted May 1, 2005 To get the numbers at the bottom, just add a <br> in the right place, something like: <body onload="get_count();"> <br> <span id="ffcounter"> <br> 50,529,432 </span></br> </body> </html> Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted May 1, 2005 Author Report Share Posted May 1, 2005 I got it now, but a different way. Thanks for the push. http://semperphi.com/firefox-test.html Quote Link to comment Share on other sites More sharing options...
Guest anon Posted May 1, 2005 Report Share Posted May 1, 2005 Cool, looks good. ! Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted May 2, 2005 Author Report Share Posted May 2, 2005 Thanks. Now if I could just figure out why my image is centered in Firefox but not in Opera or IE. http://dbfc.semperphi.com Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted May 2, 2005 Author Report Share Posted May 2, 2005 It was a pain, but I got the image centered in Opera and IE. Getting the counter to be in the right place in IE took some hacking/cheating...stupid non-standards-compliant browser. Quote Link to comment Share on other sites More sharing options...
Havin_it Posted May 10, 2005 Report Share Posted May 10, 2005 Steve, that looks terrif! Sadly you have caused the silly javascript bug to bite me again. Are you still interested in a scrolling version? I'm intrigued by that notion and intend to play around a little with the idea. I'm quite obsessed with doing Flash-like things with js, and this sounds like a fun challenge. If I come up with anything I'll post back. I should point out though, that my animation scripts tend to melt CPUs. By the way, who is Dave Barry? Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted May 10, 2005 Author Report Share Posted May 10, 2005 (edited) I hope you know that the button's actual image is just a Spread Firefox blank button...I can take no credit for that. As for the other, I just copied and pasted javascript and then had to sweat out some standards-compliant html that IE would actually treat right, so I can really take no credit for it looking terrific if it does. Yes, I'm definitely still interested in a scrolling up odometer image for the digits. I'm not sure if you are American or not, but Dave Barry is/was a syndicated humor columnist who worked for the Miami Herald. He wrote several books and is in a crazy-fun band with Stephen King, Amy Tan and another author I cannot remember. He recently retired from writing his weekly humor column so he can spend more time with his family and writing more books. You can probably find links to archives containing some of his old columns on the Miami Herald website, if you're interested. http://www.miami.com/mld/miamiherald/ (Then again, maybe not...I can't seem to find any archives of his humor columns...every other archive on the site seems to be pay-only for the whole article, so I'm guessing if one did find any of his old columns, one wouldn't be able to read the whole thing.) Edited May 10, 2005 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.