Lekhoniya lekhoniya.com Subham Mandal Dhupguri ONE Code ONE ssss web West Bengal India Bangla writing pad Bengali type লেখনীয়া
লেখনীয়া
progarammed by Subham Mandal

Exploring Lekhoniya Archives: Navigating Through Time

 

Exploring Lekhoniya Archives: Navigating Through Time

Introduction

Embark on a journey through time with the Lekhoniya Archives Explorer script, thoughtfully designed by the developer Subham Mandal. Integrated seamlessly into the Lekhoniya web application, this script provides users with an intuitive interface to explore archived content, enhancing the overall navigation experience.

Overview

Archives Exploration

The script dynamically fetches archived content from the Firebase database, presenting it in an organized and user-friendly manner. Users can navigate through the archives by clicking on the listed items, providing an easy way to access historical content.

setTimeout(function () {
    let databaseRef = firebase.database().ref("lekhoniya");
    databaseRef.once("value").then(function (snapshot) {
        var keyNames = Object.keys(snapshot.val());
        keyNames.forEach(function (key, index) {
            var div = document.createElement("div");
            div.textContent = (index + 1) + '. ' + key.replace(/\-\d{10,}$/g, ''); // Add numbering
            div.style.cursor = "pointer";
            div.style.height = '5%';
            div.style.border = '1px solid #ccc';
            div.style.boxShadow = '2px 2px 3px #888888';
            div.style.padding = '2%';
            div.style.backgroundColor = '#ebebeb';
            div.addEventListener("click", function () {
                window.location.href = "https://lekhoniya.blogspot.com/" + key + "/";
            });

            // Add a class to the div
            div.className = 'custom-div';

            document.getElementById('res').appendChild(div);
        });
    }).catch(function (error) {
        console.error(error);
    });
}, 100);

Usage Instructions

  1. Archives Exploration: The script dynamically fetches and displays archived content from the Firebase database. Users can click on the listed items to navigate to the corresponding historical content.

Conclusion

The Lekhoniya Archives Explorer, a creation by Subham Mandal, enriches the user experience by providing an organized and intuitive way to explore archived content. Seamlessly integrated into the Lekhoniya web application, this script offers a glimpse into the past, making navigation through time an engaging experience.

For inquiries, suggestions, or enhancements related to this script, feel free to connect with Subham Mandal. Explore the rich history of Lekhoniya with the Archives Explorer!