yeah we doin a new webby site now

This commit is contained in:
martyTF 2026-06-16 19:42:03 +02:00
parent 1b1ffe3bb4
commit ab3ba56260
17 changed files with 232 additions and 581 deletions

View file

@ -22,15 +22,8 @@ function getCookie(cname) {
};
function show(content) {
var cont = document.getElementById(content);
cont.style.transition = "height 1s ease";
cont.style.height = "auto";
var contheight = cont.offsetHeight;
cont.style.height = "0px";
setTimeout(function () {
cont.style.height = contheight + "px";
cont.style.overflow = "none";
}, 1);
var iframe = document.getElementById("iframe");
iframe.src=content
};
function showcontent(content) {
@ -53,15 +46,6 @@ function hidecontent(content) {
};
function startup() {
// var srch = document.getElementById("search");
// srch.style.height = "auto";
// srch.style.overflow = "auto";
// var srchh = srch.offsetHeight;
// var srchh = srchh + "px";
// srch.style.height = srchh;
setTimeout(function () {
document.getElementById('searchbox').focus();
}, 200);
if (getCookie("contentlist") == "") {
setCookie("contentlist", "search", 10000);
}
@ -115,34 +99,6 @@ function shiftcontent(content) {
};
};
//function shiftcontent(content) {
// var x = document.getElementsByClassName("box-shower");
// var cont = document.getElementById(content);
// cont.style.height = "auto";
// var contheight = cont.offsetHeight;
// cont.style.height = "0px";
// for (var i = 0; i < x.length; i++)
// {
// x[i].style.height = "0px";
// x[i].style.overflow = "hidden";
// };
// setTimeout(function() {
// contheight = contheight + "px";
// cont.style.height = contheight;
// cont.style.overflow = "auto";
// }, 500);
// if (content == "search") {
// setTimeout(function ()
// {
// document.getElementById('searchbox').focus();
// }, 700);
// }
// else {
// return "";
// }
//};
function toggleld(ld) {
let clrs = document.body.style;
if (ld == light) {