News:

The only BEARFORCE1 slashfic forum on the Internet.  Fortunately.

Main Menu

Answer me this, my little love worms of the interbutts:

Started by The Good Reverend Roger, June 10, 2011, 04:26:26 AM

Previous topic - Next topic

Triple Zero

Quote from: Cain on June 10, 2011, 07:48:39 AM
If it's halved in size.

Clicking the emote box already crashes my browser more times than not.  I have to look up the codes via the admin panel.

It's been on my to-do list to fix the appearance of the emote popup box for a long time.

I've made some changes now, I'm pretty happy with them. It's the simplest thing that could possibly work, but it looks kinda okay IMO.

The most important change is that I fixed the layout of the emotes:

Unfortunately, a browser cannot know the true dimensions of a picture before it downloads the first bits of it (the headers say how big it will be). This is what causes all the crazy shifting and jumping around while all the emotes load, the browser has to keep updating the layout of that page as new information on image sizes drips in. I expect this to be somewhat CPU heavy, and it's just annoying because you can't click anywhere if the thing you want to click on keeps jumping around.

Unfortunately, the forum database table that contains the emote info doesn't keep track of the image dimensions either, so I can't fix the HTML to tell the browser what the dimensions of each image will be beforehand.

So the only thing to stop the shifting/jumping was to fix the preview pictures of the emoticons at a fixed size. I didn't want to actually enlarge or shrink them that would make the really small "smiley" style classic emotes look terrible. So what I did was give every emote its own 120x120 pixels box and put the picture in that box, at original resolution, centered and cropped to the box.

I think 120px strikes a good balance between showing enough of the larger emotes, while not having the smaller ones swim in a sea of white-space.

Unfortunately it means you only see a part of the really large emoticons, but I don't think that's really a big deal. The important part is that you can see them in the post, and that you can easily recognize and select the right emote from the popup-box, and I think this solution works for that.

One thing I still notice is that in Firefox, the emote box still slurps quite a bit of CPU. That's probably still because of the large amount of large animated GIFs inside that window. Opera seems to deal better with it, though. Well, try it out, and if it still drags your computer to a crawl, or even crashes the browser, there's still some more solutions I can come up with (replacing the large animations with static JPG thumbnails), but they require more work.

Finally, the emote popup now shows both the code for the emote as well as the description that goes with the emote (as entered in the admin panel). Seems pretty useful that way, and we might want to consider making some of the descriptions a littlebit more ... descriptive, now? :)

Feedback = appreciated!
Ex-Soviet Bloc Sexual Attack Swede of Tomorrow™
e-prime disclaimer: let it seem fairly unclear I understand the apparent subjectivity of the above statements. maybe.

INFORMATION SO POWERFUL, YOU ACTUALLY NEED LESS.

Luna

Death-dealing hormone freak of deliciousness
Pagan-Stomping Valkyrie of the Interbutts™
Rampaging Slayer of Shit-Fountain Habitues

"My father says that almost the whole world is asleep. Everybody you know, everybody you see, everybody you talk to. He says that only a few people are awake, and they live in a state of constant, total amazement."

Quote from: The Payne on November 16, 2011, 07:08:55 PM
If Luna was a furry, she'd sex humans and scream "BEASTIALITY!" at the top of her lungs at inopportune times.

Quote from: Nigel on March 24, 2011, 01:54:48 AM
I like the Luna one. She is a good one.

Quote
"Stop talking to yourself.  You don't like you any better than anyone else who knows you."

Triple Zero

Great to hear it works well for others, too :)

So I've only been able to test this new emote box in Firefox and Opera. If people using other browsers could report that it works or not, that would be great.

I especially fear for those few that are still forced to use the prehistoric IE6 at their workplace (is that still the case for you, RWHN? or did they upgrade to a newer version of IE? cause even Microsoft itself officially stopped supporting it).
Ex-Soviet Bloc Sexual Attack Swede of Tomorrow™
e-prime disclaimer: let it seem fairly unclear I understand the apparent subjectivity of the above statements. maybe.

INFORMATION SO POWERFUL, YOU ACTUALLY NEED LESS.

Luna

Quote from: Triple Zero on June 15, 2011, 12:51:20 PM
Great to hear it works well for others, too :)

So I've only been able to test this new emote box in Firefox and Opera. If people using other browsers could report that it works or not, that would be great.

I especially fear for those few that are still forced to use the prehistoric IE6 at their workplace (is that still the case for you, RWHN? or did they upgrade to a newer version of IE? cause even Microsoft itself officially stopped supporting it).

Works in IE8.
Death-dealing hormone freak of deliciousness
Pagan-Stomping Valkyrie of the Interbutts™
Rampaging Slayer of Shit-Fountain Habitues

"My father says that almost the whole world is asleep. Everybody you know, everybody you see, everybody you talk to. He says that only a few people are awake, and they live in a state of constant, total amazement."

Quote from: The Payne on November 16, 2011, 07:08:55 PM
If Luna was a furry, she'd sex humans and scream "BEASTIALITY!" at the top of her lungs at inopportune times.

Quote from: Nigel on March 24, 2011, 01:54:48 AM
I like the Luna one. She is a good one.

Quote
"Stop talking to yourself.  You don't like you any better than anyone else who knows you."

Juana

I was wondering about the emote box. Love it. I find it loads a lot faster than the old one did.
"I dispose of obsolete meat machines.  Not because I hate them (I do) and not because they deserve it (they do), but because they are in the way and those older ones don't meet emissions codes.  They emit too much.  You don't like them and I don't like them, so spare me the hysteria."

Cramulus


Cain


The Wizard Joseph

 :cheney: :wade: :hit: :rush: :flush: :winner: :cuntpunch: :nuke:


Just trying to see what this looks like on pixels.


Excellent
You can't get out backward.  You have to go forward to go back.. better press on! - Willie Wonka, PBUH

Life can be seen as a game with no reset button, no extra lives, and if the power goes out there is no restarting.  If that's all you see life as you are not long for this world, and never will get it.

"Ayn Rand never swung a hammer in her life and had serious dominance issues" - The Fountainhead

"World domination is such an ugly phrase. I prefer to call it world optimisation."
- Harry Potter and the Methods of Rationality :lulz:

"You program the controller to do the thing, only it doesn't do the thing.  It does something else entirely, or nothing at all.  It's like voting."
- Billy, Aug 21st, 2019

"It's not even chaos anymore. It's BANAL."
- Doktor Hamish Howl

Salty

PROTIP: hit the Preview button.

This is amazingly awesome. So much faster. Thanks.
The world is a car and you're the crash test dummy.