Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Optimization

Optimization

Scheduled Pinned Locked Moved The Lounge
javascriptdata-structurescsharpasp-netlamp
19 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • realJSOPR realJSOP

    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

    S Offline
    S Offline
    Steve Wellens
    wrote on last edited by
    #4

    I thought a tree for dogs would have a little more...ahem...bark.

    Steve Wellens

    1 Reply Last reply
    0
    • realJSOPR realJSOP

      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

      D Offline
      D Offline
      David C Hobbyist
      wrote on last edited by
      #5

      Is this a browser specific problem? Because it keeps working in Chrome.

      David

      realJSOPR 1 Reply Last reply
      0
      • realJSOPR realJSOP

        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

        B Offline
        B Offline
        bryce
        wrote on last edited by
        #6

        yeah so you're a Nerd. ;) bryce

        MCAD ---

        1 Reply Last reply
        0
        • D David C Hobbyist

          Is this a browser specific problem? Because it keeps working in Chrome.

          David

          realJSOPR Online
          realJSOPR Online
          realJSOP
          wrote on last edited by
          #7

          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

          P 1 Reply Last reply
          0
          • realJSOPR realJSOP

            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

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #8

            John, could you repost your message? I would be interested in reading it.

            OriginalGriffO realJSOPR 3 Replies Last reply
            0
            • P Pete OHanlon

              John, could you repost your message? I would be interested in reading it.

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #9

              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 have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              P 1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                There was nothing unpleasant or spammy, so why it's gone... Methinks we need to rein some "instant-abuse" voters back a little? :sigh:

                P Offline
                P Offline
                Pete OHanlon
                wrote on last edited by
                #10

                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.

                OriginalGriffO 1 Reply Last reply
                0
                • P Pete OHanlon

                  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.

                  OriginalGriffO Offline
                  OriginalGriffO Offline
                  OriginalGriff
                  wrote on last edited by
                  #11

                  Oh? You can't pinch-zoom? (That's what I have to do on my Nexus 7)

                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                  P 1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    Oh? You can't pinch-zoom? (That's what I have to do on my Nexus 7)

                    P Offline
                    P Offline
                    Pete OHanlon
                    wrote on last edited by
                    #12

                    Pinch zoom isn't the problem. The popup disappearing before you can click a link is the issue.

                    OriginalGriffO 1 Reply Last reply
                    0
                    • P Pete OHanlon

                      Pinch zoom isn't the problem. The popup disappearing before you can click a link is the issue.

                      OriginalGriffO Offline
                      OriginalGriffO Offline
                      OriginalGriff
                      wrote on last edited by
                      #13

                      Strange - I assume it's a browser problem, it's pretty good on my tablet under Mobile Chrome (or whatever Google call it)

                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                      P 1 Reply Last reply
                      0
                      • OriginalGriffO OriginalGriff

                        Strange - I assume it's a browser problem, it's pretty good on my tablet under Mobile Chrome (or whatever Google call it)

                        P Offline
                        P Offline
                        Pete OHanlon
                        wrote on last edited by
                        #14

                        Of course it's a browser problem. It's IE. I really feel a Homer Simpson "doh" coming on.

                        OriginalGriffO 1 Reply Last reply
                        0
                        • P Pete OHanlon

                          Of course it's a browser problem. It's IE. I really feel a Homer Simpson "doh" coming on.

                          OriginalGriffO Offline
                          OriginalGriffO Offline
                          OriginalGriff
                          wrote on last edited by
                          #15

                          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!)

                          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                          P 1 Reply Last reply
                          0
                          • OriginalGriffO OriginalGriff

                            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!)

                            P Offline
                            P Offline
                            Pete OHanlon
                            wrote on last edited by
                            #16

                            Yup. Doncha just lurv closed ecosystems?

                            OriginalGriffO 1 Reply Last reply
                            0
                            • P Pete OHanlon

                              Yup. Doncha just lurv closed ecosystems?

                              OriginalGriffO Offline
                              OriginalGriffO Offline
                              OriginalGriff
                              wrote on last edited by
                              #17

                              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:

                              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                              1 Reply Last reply
                              0
                              • P Pete OHanlon

                                John, could you repost your message? I would be interested in reading it.

                                realJSOPR Online
                                realJSOPR Online
                                realJSOP
                                wrote on last edited by
                                #18

                                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

                                1 Reply Last reply
                                0
                                • P Pete OHanlon

                                  John, could you repost your message? I would be interested in reading it.

                                  realJSOPR Online
                                  realJSOPR Online
                                  realJSOP
                                  wrote on last edited by
                                  #19

                                  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

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • World
                                  • Users
                                  • Groups