I'm currently having a problem on my webpage.
The following is present on every page (including the main index.php)
<?php include 'script/header.php'; ?>
Which point to the page with my header.php, which contains
<?php include 'popup.html'; ?>
and the popup.html contains this script, which ofcourse I didn't think of myself.
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=875,height=600,left = 50,top = 50');");
}
// End -->
</script>
I updated the size of the pop-up it opens from 800x500 to 875x600. And this is nicely updated in the provided html code of all subpages like http://schaatspeloton.nl/rijders/ but it doesn't update on the main page http://schaatspeloton.nl where it remains at 800x500
The .htaccess doesn't have anything special in there I checked
Options -Indexes
#AddDefaultCharset iso-8859-1 AddDefaultCharset UTF-8
ErrorDocument 400 /error/400.html ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html ErrorDocument 404 /error/404.html
ErrorDocument 500 /error/500.html
And I tried including a Header unset Cache-Control in there which didn't help.
What might prevent the updating of the included popup.html from the index.php on the main page and allow it on the subdomains? And how could I force the popup.html to also be updated on the main page.