spite / rstats

rStats
MIT License
245 stars 31 forks source link

Visibility of panel #5

Open gaitat opened 10 years ago

gaitat commented 10 years ago

I am trying to load a page with the rStats panel hidden. I do $('.rs-base').hide(); after loading jquery and rStats but the panel shows up. What am I missing?

doggan commented 9 years ago

You are probably trying to hide rs-base BEFORE the rsStats object is actually created. The rs-base element is not added to the DOM until you call new rStats().

edit: Wow, just realized I replied to a 1+ year old post. :dizzy_face:

spite commented 9 years ago

And you just bumped it. I had no idea this issue was here, either :(

cbabc commented 5 years ago

The panel is NOT showing no matter what I tried and I even copied the code exactly from the source of your demo page to my project, I even modified the way I called render etc because your tutorial page is omitting critical parts (I got all shorts of errors missing this, missing that... a lousy job on the tutorial). After I resolved all the errors it still didn't appear. It appeared momentarily at the bottom of the page a couple of times when I was resizing the window. Obviously you need to figure out the different cases eg I'm using canvas a lot. I wasted my time with this shit -back to browser benchmarks.

spite commented 5 years ago

@cbabc what exactly is the reaction you expect here?

cbabc commented 5 years ago

@spite None. I just provided feedback for the creator -quality and consequences . No software, is better than bad software. Free is never free when unexpectedly has a high cost: our precious time.