1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-19 22:53:03 +05:30

(feat): initialised basic share window popup

This commit is contained in:
2023-11-22 23:58:45 +05:30
parent 5fe1a3ae5c
commit 4809a012c4
3 changed files with 14 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ const searchTxt = document.getElementById("searchtext");
const searchInput = document.getElementById("searchinput");
const windowWrapper = document.getElementById("floatingwindowwrapper");
const searchWin = document.getElementById("searchwindow");
const shareWin = document.getElementById("sharewindow");
const searchDef = document.getElementById("defresults");
const searchRes = document.getElementById("searchresults");
const basePath = document.getElementById('phpHostBasePath').dataset.basePath;
@@ -305,6 +306,7 @@ function activate_share() {
windowWrapper.classList.add("flotingbar-window-wrapper-show");
shareBtn.classList.add("hidden");
shareCloseBtn.classList.remove("hidden");
shareWin.classList.remove("hidden");
}
@@ -313,6 +315,7 @@ function close_share() {
windowWrapper.classList.add("hidden");
shareCloseBtn.classList.add("hidden");
shareBtn.classList.remove("hidden");
shareWin.classList.add("hidden");
}
shareBtn.addEventListener("click", function () {