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...
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);
}
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.