Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Free version
  • Loading branch information
rianseo authored Jan 7, 2024
1 parent 0764c80 commit fba70c9
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions src/biolink-javascript.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
var header = document.getElementById("tm-head");
var sticky = header.offsetTop;

function myFunction() {
if (window.pageYOffset > sticky) {
header.classList.add("show")
} else {
header.classList.remove("show")
}
}

function openShare() {
var a = document.body;
a.classList.toggle("open-share")
}

function closeShare() {
var a = document.body;
a.classList.toggle("open-share")
}

function copyFunction() {
document.getElementById("getlink").select(), document.execCommand("copy");
document.getElementById("notif-share").innerHTML = "" + nT + ""
}

function openEmail() {
var a = document.body;
a.classList.toggle("open-email")
}

function closeEmail() {
var a = document.body;
a.classList.toggle("open-email")
}

function openContact() {
var a = document.body;
a.classList.toggle("open-contact")
}

function closeContact() {
var a = document.body;
a.classList.toggle("open-contact")
};

0 comments on commit fba70c9

Please sign in to comment.