wrote:
2) Why do I have to click twice when opening the first event?
Line 289:
tt.style.visibility=tt.style.visibility=='hidden'?'visible':'hidden';
The first time around
tt.style.visibility
equals
""
.
Therefore:
tt.style.visibility=(tt.style.visibility=='hidden' || tt.style.visibility == '')?'visible':'hidden';
Should work.
wrote:
3) How to make another event appear directly without having to click down the old event that is showing?
This is caused by what you have earlier, on line 289. It just switches on or off (hidden or visible). You will need to add another conditional statement before that to check whether or not it should be hidden.