PDA

View Full Version : Sticky pop up issue


eclipsme1
12-14-2008, 11:04 AM
I seem to have identified how a sticky popup can disappear without closing it in a TOC calendar (http://www.verodelmar.com/calendar.php).

There seems to be 2 triggers for the popup - 1) The event title and 2) The category color box. Moving from one to the other causes the popup to close and reappear a corresponding distance sideways.

If the popup is activated by pointing to the color box and then a diagonal mouse movement is made that quickly traverses the title, the popup will close. A slow movement will result is a closing of the popup upon traversing the title, but a new popup being activated immediately after. The problem arrises when the mouse is not over the title long enough for the popup to activate.

A secondary problem that I am observing is that if the color box is pointed to, initiating the popup, then is moved off of the box and away from the title text, maybe 50% of the time the popup will close, but with no disernable pattern.

Point to the box, then move to the left. Do it several times.

I have also observed these behaviors on my demoTOC.php page.

Harvey

Brian
12-14-2008, 01:02 PM
What is happening is that you're moving back over the event on the calendar which is triggering another pop-up instance and repositioning the pop-up according to the position of the mouse pointer.

eclipsme1
12-14-2008, 01:34 PM
What is happening is that you're moving back over the event on the calendar which is triggering another pop-up instance and repositioning the pop-up according to the position of the mouse pointer.

Thanks Brian. I think you are not reading the entire post, or perhaps just choosing to respond to only part. The problem(s) I am describing seems a bit larger. Also, this does not seem applicable to the the last issue raised. It would be nice if these issues could be resolved somehow as I can see it confusing some of my users - esp. the older ones - over 55 community!

Harvey

Brian
12-14-2008, 01:43 PM
You should try reducing the pop-up offset to move the box closer to the pointer to prevent blank space between the event and pop-up.

eclipsme1
12-14-2008, 02:49 PM
Yes, Brian, and that does help, but doesn't actually solve the underlying problem.

It acts as if the mouseover behavior is being applied separately to the title and to the color block, but in looking at your code I see it is all attached to

"<div class="titleTOC"...."

which ends with

<span class="s21"> </span>

Title


</div>

I guess it is the span that is the problem here, but I am not sure I see another way of doing it either. Just to test this, I wonder if changing it to the deprecated font tag would work:
<font color="FFFFFF"> </font>

Still, what could be used in place of the <span> tag? Some things you just have to live with.

I like your program in general, though. Nicely configurable without a great deal of hassle and a pretty shallow learning curve. Also, your support response time is quite good.

Thanks!
Harvey

Brian
12-14-2008, 03:01 PM
I can play with this for the next major release, and if it helps, no one in 7 seven years has reported any usability issues with the way the calendar functions. :)

eclipsme1
12-15-2008, 05:16 PM
OK. Thanks!