-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
maybe this is an issue with IE. I have ZK Calendar 1.0 and I have changed the event renderer, so the event div has a title attribute, e.g.:
<div title="Some more info about the event." z.ed="1280396700000" z.bd="1280394000000" z.zclass="z-calevent" class="z-calevent" z.type="Calevent" id="z_r4_88" style="top: 460px; width: 100%; left: 0%;">...
However, clicking such event is not possible in IE (IE8) when the tooltip "Some more info about the event." is shown. (The tooltip show just after a very small delay, so it is almost impossible to click the event). I have tried to debug the javascript, and the onclick event is not fired. I have tried manually add my own onclick event, and it was not fired, too. So I guess some IE issue.
Since I am not very strong with Javascript, I would like to ask I somebody has a clue, what might be wrong.
Thanks very much
Andy
Hmm, I think I got the problem. The "onclick" event in the IE has not stopped working, just the IE is more sensitive to the the mouse move, if the tooltip is shown. So the user mouse has to be very still when clicking the calendar event to succeed. Because the IE does not behave like that in other parts of my app except in the ZK Calendar, I guess it might be caused by some other event handlers (deag&drop). For now, I am just removing all "title" from my HTML. Maybe I'll try to research and fix the problem later.
Hi xmedeko
What version of ZK do you use?
we have fixed this problem before
ZK Calendar 1.0, ZK 3.6.4
You can try put the title in DL
<dl title="Some more info about the event." id="z_sc_0i!inner">
I not find where the problem is.
it will fire if you put the title in DL
Hi Jimmi,
thanks for your help, but even when I put the title to the <dl> element I've got the same problem. Sometimes, the onclick start to work in IE8 as expected. Or, at least almost as expected (4 from 5 clicks got fired) E.g. opening a new browser tab (just an empty tab) seems to cure the problem :-) So i guess it might be some hidden IE bug.
Hi Jimmi,
FYI this patch http://www.zkoss.org/forum/listComment/13506 has solved this issue, too. I can now make a HTML title for ZK Calendar 1.0 events even in IE.
good!!!
Asked: 2010-07-29 12:10:29 +0800
Seen: 661 times
Last updated: Dec 08 '10