Optimization
-
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 -
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 -
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, 2013John, could you repost your message? I would be interested in reading it.
-
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? :sigh:
-
There was nothing unpleasant or spammy, so why it's gone... Methinks we need to rein some "instant-abuse" voters back a little? :sigh:
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.
-
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)
-
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.
-
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)
-
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.
-
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!)
-
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?
-
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! :laugh:
-
John, could you repost your message? I would be interested in reading it.
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 -
John, could you repost your message? I would be interested in reading it.
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