Globally disable onclick
I'm using a third-party software provider's calendar program. The program is designed to produce both a mouseover, "title" window, and an onclick, pop up window tied to dates where events are scheduled. The calendar(s) produce(s) a mini, month-at-a-glance view.
My web site has both a member (private) and public section. I am happy to have the onclick feature active in the member section, but don't want it to work in the public section. That calendar is displayed to show non-members what great events they are missing to generate sales. All I want for the public calendar is the "title" window. Anything more would give away the farm, so to speak.
So... the php code that makes up each calendar page is called from multiple files, and inserts the onclick code during the process. What I want to do is insert a master or global java script on these "parent" pages, that blocks any and all onclick commands that may have been inserted there. Suggestions?
Thanks in advance.
Yes it is, more like to JS. This is a Java forum, not JS forum. So, I'm waiting few days and if some can give a help it's fine, unless I have to close this thread. Sorry about that.
JS not Java
Yup, you both are right. My mistake. I am looking for JS not Java. Feel free to close out, and thanks for the goodwill.
Thanks for your response here too. I'm sure if someone knows about JS to answer your question it will, but I don't think anyone here. Anyway I'll keep this thread open for today as well and closing it end of the day. :)