View topic - Pop-up improvements

Page 1 of 1

Pop-up improvements

PostPosted: Sat Jan 28, 2012 4:59 pm
by GregS
I've just made a change so that team, player and game pop-ups are handled via load-on-demand. Previously, all content for all possible pop-ups on a page was loaded, regardless of whether you ever used it. This change should speed up most page loading, at the expense of a slightly longer delay the first time you hit a pop-up on a particular page.

This will also make the information in the pop-ups more consistent (e.g. there were places that the old team pop-up wouldn't show captain information), plus the structural change makes it easier to fix the issue caused by the lack of "hover" functionality in smart phones and implement field pop-ups.

As always, if you see anything weird, let me know!

mac weirdness

PostPosted: Sun Jan 29, 2012 12:41 am
by tracyd
Not sure if it's jut me, but on my Mac it gives me an error: [object XMLHttpRequest]. I'm using Safari Version 5.1.2 (7534.52.7).

PostPosted: Sun Jan 29, 2012 9:26 am
by ladylogic
I'm getting the same error when I hover over a player on my team or in the league I convene - I used to see their name and contact info, but get the same message as tracy.

Using a mac, but using the latest version of Firefox...

PostPosted: Sun Jan 29, 2012 1:35 pm
by GregS
This should be fixed now. Silly mistake on my part!

PostPosted: Sun Jan 29, 2012 2:11 pm
by tracyd
yes, it's working now. thanks!

PostPosted: Wed Feb 01, 2012 10:37 pm
by GregS
Field pop-ups have been added, plus I've fixed an issue where the second pop-up that you popped-up wouldn't stick around long enough for you to click links in it. Well, actually, the people that wrote the JavaScript library fixed the bug, but I updated Zuluru to use the fixed version. :D

PostPosted: Fri Feb 24, 2012 4:39 pm
by GregS
Fixed another little usability issue. When you hovered the mouse over a link for long enough to start the background load process, but then moved it before it finished loading, the pop-up would appear and stick around until you hovered over the same link again for a second or more. That should no longer be happening. I also slightly lengthened the required hover time before it starts loading, so accidental pop-ups should be lessened.

PostPosted: Fri Feb 24, 2012 5:29 pm
by GwaiLo
GregS accidental pop-ups should be lessened.

I hate when that happens...

PostPosted: Mon Jan 14, 2013 6:12 pm
by GregS
I've made a little tweak to pop-ups, so that if the default location is off the screen (e.g. you hover over a person or team or field name close to the top of the screen), it will adjust to an alternate location. (If the pop-up shows up below the thing you're hovering over, but it still has the little arrow at the bottom of the pop-up instead of on the top, just hit refresh, and this should be corrected.)

To do this, I had to update to a more recent version of one of the JavaScript libraries, so it's possible that this has introduced an incompatibility with some other bit of JavaScript. If you see anything that used to work but now isn't, please let me know ASAP and I'll get it corrected.

PostPosted: Mon Jan 14, 2013 6:23 pm
by Wartank
the catradiens

PostPosted: Mon Jan 14, 2013 9:51 pm
by lwswong
Wartank wrote:the catradiens

i don't see anything wrong with them other than not having Warren Tang on the roster.