Results 1 to 5 of 5
  1. #1
    karnesb's Avatar
    karnesb is offline Member
    Join Date
    Oct 2008
    Posts
    2
    Rep Power
    0

    Default 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.
    Barbara

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,902
    Rep Power
    25

    Default

    Sounds like javascript, not java.
    You'll probably get better answers on a javascript forum.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    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.

  4. #4
    karnesb's Avatar
    karnesb is offline Member
    Join Date
    Oct 2008
    Posts
    2
    Rep Power
    0

    Default 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.

    Best,
    B

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    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. :)

Similar Threads

  1. How to disable the form
    By lukky in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 08-05-2008, 03:00 PM
  2. JButton onClick change color background
    By behrk2 in forum AWT / Swing
    Replies: 6
    Last Post: 07-09-2008, 05:54 PM
  3. use of onclick function
    By m4tt in forum New To Java
    Replies: 1
    Last Post: 02-16-2008, 04:03 AM
  4. JButton onClick?
    By Joe2003 in forum AWT / Swing
    Replies: 2
    Last Post: 01-06-2008, 04:04 PM
  5. How to change TXT color Onclick
    By dave700800 in forum New To Java
    Replies: 1
    Last Post: 12-08-2007, 02:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •