active link and onclick

Hi there -
I’m using the active_links.js and am also using the attachEvent(“onClick”, … in order to implement some specific things before doing a showLightbox. I also am using attachEvent("onEmptyClick, … as well.
In the month view, when the date is clicked on, it goes into the day view as it should but it opens up a lightbox when doing that. I don’t want it to open a lightbox when going into the day view for that situation.
I originally thought that clicking on the date number called the attachEven("onClick function, but it doesn’t seem to be the case.
Is there a way to check if it was the date number that was clicked on in the month view or is there a switch to turn that off?
Thanks,
Irv

Can you provide some code that illustrating the issue?

clicking on month date should trigger onEmptyClick event

Thanks for the reply -
I should’ve done a little more work on this as I didn’t realize that clicking on the month date results in an onEmptyClick event and not the onClick.
Since I’m doing an addEventNow at the end of the onEmptyClick function, that explains why the lightbox opens.
How do I detect if there was a month date click in my onEmptyClick function?
Thanks in advance,
Irv

Browser event is passed to the arguments of onEmptyClick handler. You can inspect event.target:scheduler.attachEvent("onEmptyClick", function(date, dom_event){ var target = dom_event.target || dom_event.srcElement; if(target.nodeName.toLowerCase() == "a") alert("Month date click!"); });

That worked. Thank you!
Irv