Skip to content

Commit

Permalink
sdfa
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian-105 committed Jun 17, 2024
1 parent 446e10e commit 11e727a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 225 deletions.
28 changes: 19 additions & 9 deletions assets/js/Sebastian-105.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
Here is most of the javascript for the "sebastian-105" website
*/



// const Sebastian_105 = ["https://sebastian-105.org","https://sebastian-105.com"]
$(window).scroll(function () {
if ($(this).scrollTop() >= 50) {
Expand All @@ -16,6 +18,7 @@ $(window).scroll(function () {
$(".sidenav").removeClass("box-shadow");
}
});

var name = localStorage.getItem("personname");
var tabicon105 = localStorage.getItem("tabicon105");
var tabname1234 = localStorage.getItem("tabname1234");
Expand Down Expand Up @@ -292,12 +295,19 @@ function openHelpMenu() {
function hideE() {
document.getElementById("hideelement").css("display", "none");
}
class Notification {
constructor(content, status) {
this.content = content;
this.status = status;
$("#copyalertcorner123").fadeIn("fast").delay(2000).fadeOut("fast");
$("#copyalertcorner123").css("background-color", `var(--${status})`);
$("#copyalertcorner123").html(content);
}
}


// const searchMenu = `
// <div style="text-align: center;">
// <form method="get" action="/search/105.html" target="_blank">
// <input
// type="text"
// name="search"
// placeholder="Search"
// id="toBeChecked" /><br /><br />
// <button type="submit">Submit</button>
// </form>
// </div>

// `;
// $("body").append(searchMenu);
Loading

0 comments on commit 11e727a

Please sign in to comment.