Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. karnesb

    script to globally disable onclick

    Also, tried a few versions of the script above. Not working, but I'm absolutely confident we're on the right track. Being that JS is not my primary coding expertise, I know I'm not writing and/or inserting it correctly, so below is the code for both the parent page (as I'm calling it) that...
  2. karnesb

    script to globally disable onclick

    Gotcha. So... would the setTimeout() string for this projecct look something like this, or did I insert the wrong variable? var ctag=ochildwin.document.getElementsByTagName("*"); for (var i=0;i<ctag.length;i++) { ctag[i].onclick=function() {return false;}; setTimeout("onclick()", 1000); }
  3. karnesb

    script to globally disable onclick

    Below is the uri for a copy of the calendar I put online. If you right click and download this php file, and open it in a text editor (WordPad leave the structure in place), then click on the same link to open it in a web browsers, right click to view the source, and compare the two text...
  4. karnesb

    script to globally disable onclick

    What you suggest is exactly what I'm trying to do. When a user is logged in in they see everything. When they are not logged in they don't; neither do non-members. But, with one calendar being pointed to from two web pages, and that one calendar being controlled by a single admin center, I...
  5. karnesb

    script to globally disable onclick

    I must not have been clear. Let me give this another try. The calendar exists once. It can be called to appear in as many web pages as you like. Basically, all you have to do is insert this code where you want it to appear. <?php require("calendar.php"); ?> So, when you turn off a feature...
  6. karnesb

    script to globally disable onclick

    I want to write a JavaScript that either ignores all onclick link references found in the text of the page file, or does a search and replace whereby the following string is found and replaced with nothing. onclick="popupEvent BACKGROUND: I'm using a third-party calendar program. The...

Part and Inventory Search

Back
Top