|
You may or may not recall earlier this year when I described a Christmas-oriented jquery/javascript donation engine I created for the golden retriever rescue group my wife and I volunteer with. You can see the current implementation here - Gold Ribbon Rescue[^]. You can get to the tree by clicking the button in the first sliding panel that's displayed. Warning - you may have to refresh the page where the tree lives because it sometimes doesn't render all of the objects upon initially browsing to the page.
Anywho, that original effort resulted in six script files consuming about 34k of disk space, and utilizing a XML file for storing configuration and donation data.
This weekend, I refactored the entire thing to use a JSON file for the data, and whittled the code base down to a single 19k file. I also utilized the Kinetic.js library[^] to replace my original blinking light animation, as well as adding drag-n-drop capability for repositioning the ornaments (that represent donations) by the tree manager person.
I still have some work to do, but it's pretty far along. It's too bad the web host used by the rescue group uses a LAMP stack instead of ASP.net.
When I get a complete interactive asp.net version ready, I'll see about putting it up for y'all to play with.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Works well in Chrome, are You looking for feedback? I didn't hang out for long, but the site responds well enough.
By the way, It's nice that You two volunteer.
David
|
|
|
|
|
Nope, not looking for feedback, just posted the url so you can see the first iteration. However, if you have any clue as to why the tree doesn't always render all the way on the first visit, I'm all ears.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I thought a tree for dogs would have a little more...ahem...bark.
Steve Wellens
|
|
|
|
|
Is this a browser specific problem? Because it keeps working in Chrome.
David
|
|
|
|
|
No. In chrome, sometimes I don't get the first string of lights. Sometimes in ie, I don't get the background image. There are other variations of what I don't get as well.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
John, could you repost your message? I would be interested in reading it.
|
|
|
|
|
There was nothing unpleasant or spammy, so why it's gone...
Methinks we need to rein some "instant-abuse" voters back a little?
|
|
|
|
|
I was just thinking that. There do seem to be a few trigger happy people. Actually, this is one of the benefits of browsing the site on Windows Phone; it's as near as darnit impossible to trigger anything from any of the drop down flags.
|
|
|
|
|
Oh? You can't pinch-zoom? (That's what I have to do on my Nexus 7)
|
|
|
|
|
Pinch zoom isn't the problem. The popup disappearing before you can click a link is the issue.
|
|
|
|
|
Strange - I assume it's a browser problem, it's pretty good on my tablet under Mobile Chrome (or whatever Google call it)
|
|
|
|
|
Of course it's a browser problem. It's IE. I really feel a Homer Simpson "doh" coming on.
|
|
|
|
|
Oh, I'm sorry. I didn't realize you were afflicted blessed with using IE...
(I just did a quick Google, and it seems you are forced to the arms of IE...that's just cruel and unusual punishment!)
|
|
|
|
|
Yup. Doncha just lurv closed ecosystems?
|
|
|
|
|
This is one of the reasons I prefer Windows to Apple for PC, and am becoming a fan of Android for mobile devices. It may be a closed system, but it's a lot more "open" than the alternatives!
|
|
|
|
|
I don't remember exactly what I put in it. It's a shame so many anal pores are still resident on CP. Maybe Chris can recall it. I posted a message in B&S asking about it. If anyone else is interested in seeing it re-posted (or not), I recommend you voice your vote in that thread so Chris can make a more informed decision as to whether or not to do so.
I suspect it was because someone thought it was a covert request for donations to the group I did the code for, when in fact, it was merely a convenient way for everyone to see the current iteration of the code in action.
And to think I was seriously considering going to post an article about it, too. I guess this pushes me decidedly into the "NOT" side of that idea.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
modified 23-Dec-13 9:11am.
|
|
|
|
|
It's back. Read at your leisure.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
yeah so you're a Nerd.
bryce
MCAD
---
|
|
|
|
|
That's what I just did to a good guy at SO. I just spoke what we try to do here (in programming forums and Q & A) and he seems to be amazed. We are a great bunch of people. Have one more of whatever you are drinking.
"Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[ ^]
|
|
|
|
|
Put the bear can down and step away from the keyboard...
|
|
|
|
|
Hey, I also noticed that people over there really get pissed off when you say, of course bluntly, that you are wrong.
I got like 5 negative voters for doing that. I am going to go and cry. I hope my unicorn comes and consoles me. [Whatever the emoticon is for blithering idiots]
"Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[ ^]
|
|
|
|
|
Don't feel along I'm always wrong only once in a while am I right. Like they say "Even a blind squirrel gets a nut occasionally.
|
|
|
|
|
You are great, Mike: I am just like you!
Hence I'm not quite sure you are great.
Veni, vidi, vici.
|
|
|
|
|
When I was young I aspired to be great.
In my middle aged years I just wanted to be remembered.
Now I just hope I don't drool in public.
|
|
|
|