Added one more website mirror (on Google Cloud).
This commit is contained in:
parent
5191c13cb5
commit
5cc57ed5ef
@ -32,7 +32,7 @@ function logSwap(itemIndex, show) {
|
|||||||
|
|
||||||
function defaultTab(item) {
|
function defaultTab(item) {
|
||||||
var hrefPart = document.location.href.split('#')[1];
|
var hrefPart = document.location.href.split('#')[1];
|
||||||
|
|
||||||
if(hrefPart == undefined) {
|
if(hrefPart == undefined) {
|
||||||
hrefPart = item;
|
hrefPart = item;
|
||||||
}
|
}
|
||||||
@ -93,14 +93,14 @@ function thankYou() {
|
|||||||
var afterSepa = '<a target="_blank" href="http://{1}">{2}</a>'
|
var afterSepa = '<a target="_blank" href="http://{1}">{2}</a>'
|
||||||
|
|
||||||
var hostname = window.location.hostname;
|
var hostname = window.location.hostname;
|
||||||
|
|
||||||
switch(hostname) {
|
switch(hostname) {
|
||||||
case 'minimal.idzona.com' : {
|
case 'minimal.idzona.com' : {
|
||||||
html += sepa;
|
html += sepa;
|
||||||
html += afterSepa.replace("{1}", 'microweber.com').replace("{2}", 'Microweber CMS');
|
html += afterSepa.replace("{1}", 'microweber.com').replace("{2}", 'Microweber CMS');
|
||||||
|
|
||||||
footerDiv.innerHTML = html;
|
footerDiv.innerHTML = html;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'skamilinux.hu' : {
|
case 'skamilinux.hu' : {
|
||||||
@ -135,6 +135,22 @@ function thankYou() {
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 'linux.idzona.com' : {
|
||||||
|
document.getElementById('hm5').style.display="none";
|
||||||
|
|
||||||
|
document.getElementById('dl2').style.display="none";
|
||||||
|
document.getElementById('dl5').style.display="none";
|
||||||
|
document.getElementById('dl6').style.display="none";
|
||||||
|
|
||||||
|
document.getElementById('gh1').style.display="none";
|
||||||
|
|
||||||
|
html += sepa;
|
||||||
|
html += 'Development website - may not be fully functional.';
|
||||||
|
|
||||||
|
footerDiv.innerHTML = html;
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
if(hostname != "") {
|
if(hostname != "") {
|
||||||
html += sepa;
|
html += sepa;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user