پرش به محتوا

کتابخانه دانشنامه کتاب مقدس: تفاوت میان نسخه‌ها

از دانشنامه کتاب مقدس
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۱۳ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۳: خط ۳:
     <meta charset="UTF-8">
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>کتابخانه انتشارات دانشنامه کتاب مقدس - مطالعه آنلاین کتاب‌ها و مقالات مسیحی | دانشنامه کتاب مقدس</title>
     <title>کتابخانه انتشارات دانشنامه کتاب مقدس</title>
    <meta name="description" content="مطالعه آنلاین کتاب‌های مقدس شامل عیسی، انجیل متی، مزامیر، پیدایش و مقالات تخصصی درباره مسیح، تثلیث، نجات و روح القدس در کتابخانه دانشنامه کتاب مقدس">
    <meta name="keywords" content="کتاب مقدس, انجیل, عیسی مسیح, مقالات مسیحی, کتابخانه آنلاین مسیحی, انتشارات دانشنامه کتاب مقدس, نجات, تثلیث, روح القدس, الاهیات مسیحی, pediabible, دانشنامه مسیحی">
    <meta name="author" content="کتابخانه دانشنامه کتاب مقدس">
    <meta name="robots" content="index, follow">
    <link rel="canonical" href="https://www.pediabible.com/library" />
   
    <!-- Open Graph Meta Tags -->
    <meta property="og:title" content="کتابخانه دانشنامه کتاب مقدس - مطالعه آنلاین کتاب‌ها و مقالات مسیحی">
    <meta property="og:description" content="مطالعه آنلاین کتاب‌ها و مقالات مسیحی و مقالات الاهیاتی تخصصی مسیحی">
    <meta property="og:type" content="website">
    <meta property="og:url" content="https://www.pediabible.com/library">
    <meta property="og:image" content="https://www.pediabible.com/images/logo.png">
    <meta property="og:locale" content="fa_IR">
   
    <!-- Twitter Card Meta Tags -->
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="کتابخانه دانشنامه کتاب مقدس - مطالعه آنلاین کتاب‌ها و مقالات مسیحی">
    <meta name="twitter:description" content="مطالعه آنلاین کتاب‌ها و مقالات تخصصی مسیحی">
   
     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
   
    <!-- داده‌های ساختاریافته Schema.org -->
    <script type="application/ld+json">
    {
        "@context": "https://schema.org",
        "@type": "CollectionPage",
        "name": "کتابخانه دانشنامه کتاب مقدس",
        "description": "مطالعه آنلاین کتاب‌ها و مقالات الاهیاتی مسیحی",
        "url": "https://www.pediabible.com/library",
        "publisher": {
            "@type": "Organization",
            "name": "دانشنامه کتاب مقدس",
            "url": "https://www.pediabible.com",
            "logo": {
                "@type": "ImageObject",
                "url": "https://www.pediabible.com/images/logo.png"
            }
        },
        "mainEntity": {
            "@type": "ItemList",
            "numberOfItems": 8,
            "itemListElement": [
                {
                    "@type": "Book",
                    "position": 1,
                    "name": "آغاز مسیحیت در ایران",
                    "url": "https://www.pediabible.com/index.php/عیسی",
                    "description": "مطالعه کتاب آغاز مسیحیت در ایران - چگونه مسیحیت در ایران گسترش یافت"
                },
             
                {
                    "@type": "Article",
                    "position": 01,
                    "name": "مقاله ۸ تفاوت کلیدی بین کاتولیک‌ها و پروتستان‌ها نویسنده",
                    "url": "https://www.pediabible.com/index.php/مقاله_۸_تفاوت_کلیدی_بین_کاتولیک%E2%80%8Cها_و_پروتستان%E2%80%8Cها_نویسنده",
                    "description": "مقالات تخصصی الاهیاتی درباره تفاوت کلیدی بین کاتولیک‌ها و پروتستان‌ها"
                },
                {
                    "@type": "Article",
                    "position": 02,
                    "name": "مقاله برادران، ما تحلیل‌گران سیاسی نیستیم",
                    "url": "https://www.pediabible.com/index.php/مقاله_برادران،_ما_تحلیل%E2%80%8Cگران_سیاسی_نیستیم",
                    "description": "مطالعات تخصصی شبانی و کشیشی"
                },
                {
                    "@type": "Article",
                    "position": 03,
                    "name": "مقاله گناه آدمی را نادان می‌کند",
                    "url": "https://www.pediabible.com/index.php/مقاله_گناه_آدمی_را_نادان_می%E2%80%8Cکند",
                    "description": "مقالات درباره نجات و رستگاری"
                },
                {
                    "@type": "Article",
                    "position": 04,
                    "name": "مقاله ۴ دلیل که چرا کتاب مقدس از تراجنسیتی بودن حمایت نمی‌کند",
                    "url": "https://www.pediabible.com/index.php/مقاله_۴_دلیل_که_چرا_کتاب_مقدس_از_تراجنسیتی_بودن_حمایت_نمی%E2%80%8Cکند",
                    "description": "مطالعات تخصصی چرا کتاب مقدس از تراجنسیتی بودن حمایت نمی‌کند"
                },
                {
                    "@type": "Article",
                    "position": 05,
                    "name": "۱۰ معنای یهوه",
                    "url": "https://www.pediabible.com/index.php/۱۰_معنای_یهوه",
                    "description": "مقالات درباره خداشناسی _ یهوه"
                },
                {
                    "@type": "Article",
                    "position": 06,
                    "name": "تدریس، آموزش و مطالعه",
                    "url": "https://www.pediabible.com/index.php/تدریس،_آموزش_و_مطالعه",
                    "description": "مطالعات تخصصی شبانی و کشیشی"
                },
                {
                    "@type": "Article",
                    "position": 05,
                    "name": "خدمت به خدا یعنی چه",
                    "url": "https://www.pediabible.com/index.php/خدمت_به_خدا_یعنی_چه",
                    "description": "مقالات درباره خداشناسی _ یهوه"
                },
                {
                    "@type": "Article",
                    "position": 06,
                    "name": "تدریس، آموزش و مطالعه",
                    "url": "https://www.pediabible.com/index.php/تدریس،_آموزش_و_مطالعه",
                    "description": "مطالعات تخصصی شبانی و کشیشی"
                }            ]
        },
        "breadcrumb": {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "خانه",
                    "item": "https://www.pediabible.com"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "کتابخانه",
                    "item": "https://www.pediabible.com/library"
                }
            ]
        }
    }
    </script>
   
     <style>
     <style>
         * {
         * {
خط ۱۴۳: خط ۱۷:
             color: #333;
             color: #333;
             line-height: 1.6;
             line-height: 1.6;
            padding: 0;
            margin: 0;
         }
         }
          
          
         .container {
         .container {
             max-width: 100%;
             max-width: 1200px;
             margin: 0;
             margin: 0 auto;
             background: white;
             background: white;
            padding: 0;
         }
         }
          
          
خط ۱۵۸: خط ۲۹:
             color: white;
             color: white;
             padding: 20px 15px;
             padding: 20px 15px;
            margin-bottom: 15px;
             text-align: center;
             text-align: center;
         }
         }
خط ۱۷۲: خط ۴۲:
             font-size: 13px;
             font-size: 13px;
             margin-top: 8px;
             margin-top: 8px;
            line-height: 1.5;
         }
         }
          
          
خط ۱۹۳: خط ۶۲:
             text-align: justify;
             text-align: justify;
             font-size: 14px;
             font-size: 14px;
            line-height: 1.8;
         }
         }
          
          
خط ۲۱۹: خط ۸۷:
             font-size: 13px;
             font-size: 13px;
             color: #666;
             color: #666;
            margin: 0;
         }
         }
          
          
خط ۲۳۲: خط ۹۹:
             display: flex;
             display: flex;
             gap: 10px;
             gap: 10px;
            margin-bottom: 0;
         }
         }
          
          
خط ۲۵۶: خط ۱۲۲:
             background: white;
             background: white;
             cursor: pointer;
             cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
         }
         }
          
          
        select:focus {
            outline: none;
            border-color: #3e6f73;
            box-shadow: 0 0 0 2px rgba(62, 111, 115, 0.1);
        }
       
        select:disabled {
            background-color: #f8f9fa;
            color: #6c757d;
            cursor: not-allowed;
            border-color: #dee2e6;
        }
       
        /* استایل برای لیست کشویی با قابلیت جستجو */
         .searchable-select {
         .searchable-select {
             position: relative;
             position: relative;
         }
         }
          
          
         .search-input {
         .select-display {
             width: 100%;
             width: 100%;
             padding: 10px 12px;
             padding: 10px 12px;
خط ۲۸۵: خط ۱۳۵:
             font-size: 13px;
             font-size: 13px;
             background: white;
             background: white;
             transition: all 0.3s ease;
             cursor: pointer;
             border: 1px solid #e9ecef;
             text-align: right;
             margin-bottom: 5px;
             position: relative;
         }
         }
          
          
         .search-input:focus {
         .select-display:after {
             outline: none;
             content: "▼";
             border-color: #3e6f73;
             position: absolute;
             box-shadow: 0 0 0 2px rgba(62, 111, 115, 0.1);
             left: 12px;
        }
            top: 50%;
       
            transform: translateY(-50%);
        .search-input:disabled {
             font-size: 10px;
             background-color: #f8f9fa;
             color: #6c757d;
             color: #6c757d;
            cursor: not-allowed;
            border-color: #dee2e6;
         }
         }
          
          
خط ۳۱۱: خط ۱۵۸:
             border: 1px solid #ced4da;
             border: 1px solid #ced4da;
             border-radius: 6px;
             border-radius: 6px;
             max-height: 200px;
             max-height: 400px;
             overflow-y: auto;
             overflow-y: auto;
             z-index: 1000;
             z-index: 1000;
             display: none;
             display: none;
             box-shadow: 0 4px 12px rgba(0,0,0,0.1);
             box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
       
        .search-box {
            padding: 10px;
            border-bottom: 1px solid #e9ecef;
            background: #f8f9fa;
            position: sticky;
            top: 0;
        }
       
        .search-input {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #ced4da;
            border-radius: 4px;
            font-size: 13px;
        }
       
        .options-container {
            max-height: 300px;
            overflow-y: auto;
         }
         }
          
          
خط ۳۲۳: خط ۱۹۱:
             border-bottom: 1px solid #f1f1f1;
             border-bottom: 1px solid #f1f1f1;
             font-size: 13px;
             font-size: 13px;
            transition: background-color 0.2s ease;
         }
         }
          
          
         .option-item:hover {
         .option-item:hover {
             background: #f0f8f0;
             background: #f0f8f0;
        }
       
        .option-item:last-child {
            border-bottom: none;
         }
         }
          
          
خط ۳۴۴: خط ۲۰۷:
             color: #6c757d;
             color: #6c757d;
             font-style: italic;
             font-style: italic;
            text-align: center;
            padding: 15px;
         }
         }
          
          
خط ۳۴۹: خط ۲۱۴:
             margin: 0 15px;
             margin: 0 15px;
             border: 1px solid #dee2e6;
             border: 1px solid #dee2e6;
            border-radius: 0;
             overflow: hidden;
             overflow: hidden;
             background: white;
             background: white;
             height: calc(100vh - 100px);
             height: 500px;
            min-height: 600px;
         }
         }


       
         .content-header {
         .content-header {
             padding: 12px 15px;
             padding: 12px 15px;
خط ۳۸۴: خط ۲۴۶:
             cursor: pointer;
             cursor: pointer;
             font-size: 12px;
             font-size: 12px;
            transition: all 0.3s ease;
             display: flex;
             display: flex;
             align-items: center;
             align-items: center;
             gap: 4px;
             gap: 4px;
            font-weight: 600;
            color: #495057;
        }
       
        .control-btn:hover {
            background: #3e6f73;
            color: white;
            border-color: #3e6f73;
         }
         }
          
          
خط ۴۴۰: خط ۲۹۳:
             padding: 10px 15px;
             padding: 10px 15px;
             border-radius: 4px;
             border-radius: 4px;
            border: none;
            cursor: pointer;
             font-size: 13px;
             font-size: 13px;
             text-align: center;
             text-align: center;
خط ۴۴۹: خط ۳۰۰:
             justify-content: center;
             justify-content: center;
             gap: 6px;
             gap: 6px;
            transition: all 0.3s ease;
         }
         }
          
          
خط ۴۵۸: خط ۳۰۸:
         .view-link {
         .view-link {
             background: #4a7c59;
             background: #4a7c59;
        }
       
        .wiki-link:hover, .site-link:hover, .view-link:hover {
            opacity: 0.9;
            transform: translateY(-1px);
         }
         }
          
          
خط ۴۷۳: خط ۳۱۸:
             top: 0;
             top: 0;
             right: 0;
             right: 0;
        }
       
        .breadcrumb {
            background: #f8f9fa;
            padding: 10px 15px;
            margin-bottom: 15px;
            border-bottom: 1px solid #dee2e6;
            font-size: 13px;
        }
       
        .breadcrumb a {
            color: #3e6f73;
            text-decoration: none;
        }
       
        .breadcrumb a:hover {
            text-decoration: underline;
         }
         }
          
          
خط ۴۹۸: خط ۳۲۶:
              
              
             .content-frame {
             .content-frame {
                 height: calc(100vh - 280px);
                 height: 400px;
                min-height: 350px;
             }
             }
              
              
خط ۵۱۹: خط ۳۴۶:
                 width: 100%;
                 width: 100%;
                 justify-content: space-between;
                 justify-content: space-between;
            }
           
            .header {
                padding: 15px 10px;
            }
           
            h1 {
                font-size: 20px;
            }
           
            .description {
                font-size: 12px;
            }
           
            .content-list {
                grid-template-columns: 1fr;
             }
             }
         }
         }
خط ۵۴۰: خط ۳۵۱:
</head>
</head>
<body>
<body>
    <!-- Breadcrumb Navigation -->
     <div class="container">
     <div class="container">
         <header class="header">
         <header class="header">
             <h1>کتابخانه دانشنامه کتاب مقدس</h1>
             <h1>کتابخانه دانشنامه کتاب مقدس</h1>
             <p class="description">مطالعه آنلاین کتاب‌ها و مقالات مسیحی دارای اجازه پخش در دانشنامه کتاب مقدس </p>
             <p class="description">مطالعه آنلاین کتاب‌ها و مقالات مسیحی</p>
         </header>
         </header>


        <!-- محتوای سئو -->
         <section class="seo-content">
         <section class="seo-content">
             <h2>کتابخانه جامع منابع مسیحی</h2>
             <h2>کتابخانه جامع منابع مسیحی</h2>
             <p>کتابخانهٔ دانشنامهٔ کتاب مقدس مرجع کامل و تخصصی برای مطالعهٔ آنلاین کتاب‌ها و مقالات مسیحی است، همهٔ مطالب با کسب اجازه از ناشران یا نویسندگان منتشر شده‌اند و حقوق آن‌ها برای انتشارات دانشنامهٔ کتاب مقدس محفوظ است. در صورت نبود حق کپی‌رایت، انتشار با رعایت اصول امانت و احترام به منبع انجام گرفته است.</p>
             <p>کتابخانهٔ دانشنامهٔ کتاب مقدس مرجع کامل و تخصصی برای مطالعهٔ آنلاین کتاب‌ها و مقالات مسیحی است.</p>
              
              
             <div class="content-list">
             <div class="content-list">
                 <div class="content-item">
                 <div class="content-item">
                     <h3>کتاب‌ها </h3>
                     <h3>کتاب‌ها</h3>
                     <p>انتشار همهٔ کتاب‌ها در دانشنامه با اجازهٔ رسمی نویسندگان یا ناشران انجام شده است، و برای برخی آثار، مجوز چاپ مجدد نیز دریافت گردیده است. تمامی حقوق برای انتشارات دانشنامهٔ کتاب مقدس محفوظ است.
                     <p>انتشار همهٔ کتاب‌ها در دانشنامه با اجازهٔ رسمی نویسندگان یا ناشران انجام شده است، و برای برخی آثار، مجوز چاپ مجدد نیز دریافت گردیده است. تمامی حقوق برای انتشارات دانشنامهٔ کتاب مقدس محفوظ است.
نویسندگان و ناشران مسیحی می‌توانند برای همکاری و انتشار آثار خود با ما در ارتباط باشند.</p>
نویسندگان و ناشران مسیحی می‌توانند برای همکاری و انتشار آثار خود با ما در ارتباط باشند.</p>
                 </div>
                 </div>
                 <div class="content-item">
                 <div class="content-item">
                     <h3>مقالات </h3>
                     <h3>مقالات</h3>
                     <p>مقالات دانشنامه با اجازهٔ نویسندگان یا بر اساس منابع عمومی و بدون حق کپی‌رایت منتشر می‌شوند. در همهٔ موارد، اصول امانت‌داری و احترام به منبع اصلی رعایت شده است.
                     <p>مقالات دانشنامه با اجازهٔ نویسندگان یا بر اساس منابع عمومی و بدون حق کپی‌رایت منتشر می‌شوند. در همهٔ موارد، اصول امانت‌داری و احترام به منبع اصلی رعایت شده است.
پژوهشگران و نویسندگان مسیحی می‌توانند برای انتشار مقالات خود با ما همکاری کنند</p>
پژوهشگران و نویسندگان مسیحی می‌توانند برای انتشار مقالات خود با ما همکاری کنند</p>
                  
                 </div>
                <div class="content-item">
                    <h3>فروشگاه کتاب</h3>
                    <p>در فروشگاه کتاب دانشنامه، امکان خرید کتاب‌های چاپی و الکترونیکی فراهم شده است.</p>
                 </div>
                 </div>
             </div>
             </div>
         </section>
         </section>


         <section class="filter-section" aria-label="فیلترهای جستجو">
         <section class="filter-section">
             <div class="filter-row">
             <div class="filter-row">
                 <div class="form-group">
                 <div class="form-group">
خط ۵۷۶: خط ۳۸۷:
                         <option value="کتاب">کتاب</option>
                         <option value="کتاب">کتاب</option>
                         <option value="مقاله">مقاله</option>
                         <option value="مقاله">مقاله</option>
                        <option value="فروشگاه کتاب">فروشگاه کتاب</option>
                     </select>
                     </select>
                 </div>
                 </div>
                  
                  
                 <div class="form-group">
                 <div class="form-group">
                     <label for="contentSearch"><i class="fas fa-book-open"></i> انتخاب محتوا:</label>
                     <label for="contentSelect"><i class="fas fa-book-open"></i> انتخاب محتوا:</label>
                     <div class="searchable-select">
                     <div class="searchable-select">
                         <input type="text" id="contentSearch" class="search-input" placeholder="جستجو در محتواها..." disabled>
                         <div class="select-display" id="selectDisplay">لطفاً دسته‌بندی انتخاب کنید</div>
                         <div class="options-list" id="optionsList">
                         <div class="options-list" id="optionsList">
                             <!-- گزینه‌ها اینجا نمایش داده می‌شوند -->
                             <div class="search-box">
                                <input type="text" class="search-input" id="searchInput" placeholder="جستجو در محتواها...">
                            </div>
                            <div class="options-container" id="optionsContainer">
                                <div class="no-results">لطفاً ابتدا یک دسته‌بندی انتخاب کنید</div>
                            </div>
                         </div>
                         </div>
                     </div>
                     </div>
خط ۵۹۲: خط ۴۰۹:
         </section>
         </section>
          
          
         <section class="content-frame" aria-label="محتوای مطالعه">
         <section class="content-frame">
             <div class="content-header">
             <div class="content-header">
                 <div class="content-title" id="contentTitle">هیچ محتوایی انتخاب نشده است</div>
                 <div class="content-title" id="contentTitle">هیچ محتوایی انتخاب نشده است</div>
خط ۶۲۹: خط ۴۴۶:


     <script>
     <script>
         // داده‌های ساده
         // داده‌های واقعی
         const booksData = {
         const booksData = {
             'کتاب': [
             'کتاب': [
                 { value: 'کتاب آغاز مسیحیت در ایران', text: 'آغاز مسیحیت در ایران' },
                 { value: 'کتاب_مسیحیت_در_ایران_تا_صدر_اسلام', text: 'کتاب مسیحیت در ایران تا صدر اسلام' },
                 { value: 'انجیل_متی', text: 'انجیل متی' },
                 { value: '...', text: 'بزودی' },
                { value: 'مزامیر', text: 'مزامیر' },
                 { value: '...', text: 'بزودی' }
                 { value: 'پیدایش', text: 'پیدایش' }
             ],
             ],
             'مقاله': [
             'مقاله': [
                 { value: 'مقاله_۸_تفاوت_کلیدی_بین_کاتولیک‌ها_و_پروتستان‌ها_نویسنده', text: '۸ تفاوت کلیدی بین کاتولیک‌ها و پروتستان‌ها' },
                 { value: 'مقاله_۸_تفاوت_کلیدی_بین_کاتولیک‌ها_و_پروتستان‌ها_نویسنده', text: 'مقاله: ۸ تفاوت کلیدی بین کاتولیک‌ها و پروتستان‌ها' },
                 { value: 'مقاله_برادران،_ما_تحلیل%E2%80%8Cگران_سیاسی_نیستیم', text: 'برادران، ما تحلیل‌گران سیاسی نیستیم' },
                 { value: 'مقاله_برادران،_ما_تحلیل%E2%80%8Cگران_سیاسی_نیستیم', text: 'مقاله: برادران، ما تحلیل‌گران سیاسی نیستیم' },
                 { value: 'مقاله_گناه_آدمی_را_نادان_می‌کند', text: 'گناه آدمی را نادان می‌کند' },
                 { value: 'مقاله_گناه_آدمی_را_نادان_می‌کند', text: 'مقاله: گناه آدمی را نادان می‌کند' },
                 { value: 'مقاله_۴_دلیل_که_چرا_کتاب_مقدس_از_تراجنسیتی_بودن_حمایت_نمی%E2%80%8Cکند', text: '۴ دلیل که چرا کتاب مقدس از تراجنسیتی بودن حمایت نمی‌کند' },
                 { value: 'مقاله_۴_دلیل_که_چرا_کتاب_مقدس_از_تراجنسیتی_بودن_حمایت_نمی%E2%80%8Cکند', text: 'مقاله: ۴ دلیل که چرا کتاب مقدس از تراجنسیتی بودن حمایت نمی‌کند' },
                 { value: '۱۰_معنای_یهوه', text: '۱۰ معنای یهوه' },
                 { value: '۱۰_معنای_یهوه', text: 'مقاله: ۱۰ معنای یهوه' },
                 { value: 'تدریس،_آموزش_و_مطالعه', text: 'تدریس، آموزش و مطالعه' },
                 { value: 'تدریس،_آموزش_و_مطالعه', text: 'مقاله: تدریس، آموزش و مطالعه' },
                 { value: 'خدمت_به_خدا_یعنی_چه', text: 'خدمت به خدا یعنی چه' }
                 { value: 'خدمت_به_خدا_یعنی_چه', text: 'مقاله: خدمت به خدا یعنی چه' },
                { value: '...', text: 'بزودی' },
                { value: '...', text: 'بزودی' },
                { value: '...', text: 'بزودی' }
            ],
            'فروشگاه کتاب': [
                { value: 'کتاب_اسلحه_هایی_در_جنگ_علیه_نیروهای_شیطانی', text: 'اسلحه هایی در جنگ علیه نیروهای شیطانی' },
                { value: 'کتاب_شناخت_عطیه_های_روح_القدس_در_تعلیم_و_عمل', text: 'شناخت عطیه های روح القدس در تعلیم و عمل' },
                { value: 'کتاب_کشف_عطیه_های_روح_القدس_در_خود', text: 'کشف عطیه های روح القدس در خود' },
                { value: 'کتاب_اسلحه_هایی_در_جنگ_علیه_نیروهای_شیطانی', text: 'اسلحه هایی در جنگ علیه نیروهای شیطانی' },
                { value: 'کتاب_گشودن_وعده_های_ابراهیم', text: 'گشودن وعده های ابراهیم' },
                { value: 'کتاب_رهبری_روحانی', text: 'کتاب رهبری روحانی' },
                { value: 'کتاب_ژنرالهای_خدا', text: 'ژنرال های خدا' },
                { value: 'بزودی', text: 'بزودی' },
                { value: 'بزودی', text: 'بزودی' },
                { value: 'بزودی', text: 'بزودی' }
             ]
             ]
         };
         };


         // عناصر
         // عناصر DOM
         const categorySelect = document.getElementById('categorySelect');
         const categorySelect = document.getElementById('categorySelect');
         const contentSearch = document.getElementById('contentSearch');
         const selectDisplay = document.getElementById('selectDisplay');
        const searchInput = document.getElementById('searchInput');
         const optionsList = document.getElementById('optionsList');
         const optionsList = document.getElementById('optionsList');
        const optionsContainer = document.getElementById('optionsContainer');
         const selectedContentValue = document.getElementById('selectedContentValue');
         const selectedContentValue = document.getElementById('selectedContentValue');
         const contentFrame = document.getElementById('contentFrame');
         const contentFrame = document.getElementById('contentFrame');
         const iframePlaceholder = document.getElementById('iframePlaceholder');
         const iframePlaceholder = document.getElementById('iframePlaceholder');
خط ۶۷۳: خط ۵۰۷:
              
              
             if (!selectedCategory) {
             if (!selectedCategory) {
                 contentSearch.disabled = true;
                 selectDisplay.textContent = 'لطفاً دسته‌بندی انتخاب کنید';
                 contentSearch.value = '';
                 selectDisplay.style.color = '#6c757d';
                 selectedContentValue.value = '';
                 selectedContentValue.value = '';
                 optionsList.innerHTML = '';
                 optionsList.style.display = 'none';
                 resetContent();
                 resetContent();
                 return;
                 return;
             }
             }
              
              
             // فعال کردن فیلد جستجو
             // فعال کردن نمایش
             contentSearch.disabled = false;
             selectDisplay.textContent = 'برای مشاهده محتوا کلیک کنید';
             contentSearch.value = '';
             selectDisplay.style.color = '#333';
             selectedContentValue.value = '';
             selectedContentValue.value = '';
             currentItems = booksData[selectedCategory];
             currentItems = booksData[selectedCategory];
              
              
             // پر کردن لیست اولیه
             resetContent();
             populateOptions(currentItems);
        });
 
        // وقتی روی نمایش کلیک می‌شود
        selectDisplay.addEventListener('click', function() {
             if (!categorySelect.value) {
                alert('لطفاً ابتدا یک دسته‌بندی انتخاب کنید');
                categorySelect.focus();
                return;
            }
              
              
             resetContent();
             if (optionsList.style.display === 'block') {
                optionsList.style.display = 'none';
            } else {
                optionsList.style.display = 'block';
                searchInput.value = '';
               
                // در اینجا تابع populateOptions فراخوانی می‌شود
                populateOptions(currentItems);
               
                setTimeout(() => {
                    searchInput.focus();
                }, 100);
            }
         });
         });


         // وقتی کاربر در فیلد جستجو تایپ می‌کند
         // وقتی کاربر در فیلد جستجو تایپ می‌کند
         contentSearch.addEventListener('input', function() {
         searchInput.addEventListener('input', function() {
             const searchTerm = this.value.toLowerCase();
             const searchTerm = this.value.toLowerCase();
             const filteredItems = currentItems.filter(item =>  
             const filteredItems = currentItems.filter(item =>  
خط ۷۰۲: خط ۵۵۶:
         });
         });


        // وقتی کاربر روی فیلد جستجو کلیک می‌کند
         // پر کردن لیست گزینه‌ها - این تابع اکنون به درستی فراخوانی می‌شود
        contentSearch.addEventListener('focus', function() {
            optionsList.style.display = 'block';
            if (this.value === '') {
                populateOptions(currentItems);
            }
        });
 
        // وقتی کاربر از فیلد جستجو خارج می‌شود
        contentSearch.addEventListener('blur', function() {
            // کمی تاخیر برای اجازه دادن به کلیک روی گزینه‌ها
            setTimeout(() => {
                optionsList.style.display = 'none';
            }, 200);
        });
 
         // پر کردن لیست گزینه‌ها
         function populateOptions(itemsList, searchTerm = '') {
         function populateOptions(itemsList, searchTerm = '') {
             optionsList.innerHTML = '';
             console.log('populateOptions فراخوانی شد با', itemsList.length, 'آیتم');
           
            optionsContainer.innerHTML = '';
              
              
             if (itemsList.length === 0) {
             if (itemsList.length === 0) {
                 const noResult = document.createElement('div');
                 const noResult = document.createElement('div');
                 noResult.className = 'option-item no-results';
                 noResult.className = 'no-results';
                 noResult.textContent = 'نتیجه‌ای یافت نشد';
                 noResult.textContent = 'نتیجه‌ای یافت نشد';
                 optionsList.appendChild(noResult);
                 optionsContainer.appendChild(noResult);
                 return;
                 return;
             }
             }
خط ۷۴۴: خط ۵۸۴:
                  
                  
                 option.addEventListener('click', function() {
                 option.addEventListener('click', function() {
                     contentSearch.value = item.text;
                     selectDisplay.textContent = item.text;
                    selectDisplay.style.color = '#333';
                     selectedContentValue.value = item.value;
                     selectedContentValue.value = item.value;
                     optionsList.style.display = 'none';
                     optionsList.style.display = 'none';
خط ۷۵۳: خط ۵۹۴:
                 });
                 });
                  
                  
                 optionsList.appendChild(option);
                 optionsContainer.appendChild(option);
             });
             });
         }
         }
خط ۸۷۳: خط ۷۱۴:
             }
             }
         });
         });
        // مدیریت کلیدهای کیبورد
        searchInput.addEventListener('keydown', function(event) {
            if (event.key === 'Escape') {
                optionsList.style.display = 'none';
            }
        });
        // لاگ برای دیباگ
        console.log('سیستم بارگذاری شد. حالا می‌توانید تست کنید:');
        console.log('1. یک دسته‌بندی انتخاب کنید');
        console.log('2. روی "برای مشاهده محتوا کلیک کنید" کلیک کنید');
        console.log('3. لیست محتواها نمایش داده می‌شود');
     </script>
     </script>
</body>
</body>
</html>
</html>

نسخهٔ کنونی تا ‏۱۶ اکتبر ۲۰۲۵، ساعت ۱۷:۵۶

کتابخانه انتشارات دانشنامه کتاب مقدس

کتابخانه دانشنامه کتاب مقدس

مطالعه آنلاین کتاب‌ها و مقالات مسیحی

کتابخانه جامع منابع مسیحی

کتابخانهٔ دانشنامهٔ کتاب مقدس مرجع کامل و تخصصی برای مطالعهٔ آنلاین کتاب‌ها و مقالات مسیحی است.

کتاب‌ها

انتشار همهٔ کتاب‌ها در دانشنامه با اجازهٔ رسمی نویسندگان یا ناشران انجام شده است، و برای برخی آثار، مجوز چاپ مجدد نیز دریافت گردیده است. تمامی حقوق برای انتشارات دانشنامهٔ کتاب مقدس محفوظ است. نویسندگان و ناشران مسیحی می‌توانند برای همکاری و انتشار آثار خود با ما در ارتباط باشند.

مقالات

مقالات دانشنامه با اجازهٔ نویسندگان یا بر اساس منابع عمومی و بدون حق کپی‌رایت منتشر می‌شوند. در همهٔ موارد، اصول امانت‌داری و احترام به منبع اصلی رعایت شده است. پژوهشگران و نویسندگان مسیحی می‌توانند برای انتشار مقالات خود با ما همکاری کنند

فروشگاه کتاب

در فروشگاه کتاب دانشنامه، امکان خرید کتاب‌های چاپی و الکترونیکی فراهم شده است.

لطفاً دسته‌بندی انتخاب کنید
لطفاً ابتدا یک دسته‌بندی انتخاب کنید
هیچ محتوایی انتخاب نشده است

لطفاً یک کتاب یا مقاله از لیست انتخاب کنید