کتابخانه دانشنامه کتاب مقدس: تفاوت میان نسخهها
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
(۲۵ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
خط ۱: | خط ۱: | ||
<html lang="fa" dir="rtl"> | <html lang="fa" dir="rtl"> | ||
<head> | <head> | ||
<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> | ||
* { | * { | ||
margin: 0; | margin: 0; | ||
خط ۲۵: | خط ۱۳۹: | ||
body { | body { | ||
font-family: | font-family: Tahoma, Arial, sans-serif; | ||
background: | background-color: #f6f6f6; | ||
color: | color: #333; | ||
line-height: 1.6; | line-height: 1.6; | ||
padding: 0; | |||
margin: 0; | |||
} | } | ||
.container { | .container { | ||
max-width: | max-width: 100%; | ||
margin: 0 | margin: 0; | ||
padding: | background: white; | ||
padding: 0; | |||
} | } | ||
.header { | |||
. | background: linear-gradient(135deg, #3e6f73, #4a7c59); | ||
color: white; | |||
padding: 20px 15px; | |||
margin-bottom: 15px; | |||
text-align: center; | text-align: center; | ||
} | } | ||
h1 { | |||
margin: 0; | |||
font-size: 22px; | |||
font-weight: 700; | |||
} | } | ||
. | .description { | ||
color: rgba(255,255,255,0.9); | |||
font-size: 13px; | |||
margin-top: 8px; | |||
line-height: 1.5; | |||
margin- | |||
} | } | ||
. | .seo-content { | ||
background: #fff; | |||
padding: 20px 15px; | |||
margin: 0 15px 15px; | |||
border-radius: 8px; | |||
border: 1px solid #e9ecef; | |||
} | } | ||
. | .seo-content h2 { | ||
color: | color: #3e6f73; | ||
margin-bottom: 15px; | |||
font-size: 18px; | |||
} | } | ||
. | .seo-content p { | ||
margin-bottom: 15px; | margin-bottom: 15px; | ||
font-size: | text-align: justify; | ||
font-size: 14px; | |||
line-height: 1.8; | |||
} | |||
.content-list { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |||
gap: 15px; | |||
margin-top: 15px; | |||
} | |||
.content-item { | |||
background: #f8f9fa; | |||
padding: 15px; | |||
border-radius: 6px; | |||
border-left: 4px solid #3e6f73; | |||
} | } | ||
. | .content-item h3 { | ||
color: #3e6f73; | |||
margin-bottom: 8px; | |||
font-size: 15px; | |||
} | } | ||
.content-item p { | |||
. | font-size: 13px; | ||
color: #666; | |||
margin: 0; | |||
margin | |||
} | } | ||
. | .filter-section { | ||
margin: 0 15px 15px; | |||
background: #f8f9fa; | |||
padding: 15px; | padding: 15px; | ||
border: 1px solid | border: 1px solid #dee2e6; | ||
} | |||
.filter-row { | |||
display: flex; | |||
gap: 10px; | |||
margin-bottom: 0; | |||
} | |||
.form-group { | |||
flex: 1; | |||
} | } | ||
label { | |||
display: block; | |||
margin-bottom: | margin-bottom: 6px; | ||
font-weight: 600; | |||
color: #495057; | |||
font-size: 13px; | |||
} | } | ||
select { | select { | ||
width: 100%; | width: 100%; | ||
padding: 12px | padding: 10px 12px; | ||
border: 1px solid | border: 1px solid #ced4da; | ||
border-radius: 6px; | border-radius: 6px; | ||
font-size: 13px; | |||
font-size: | background: white; | ||
cursor: pointer; | cursor: pointer; | ||
transition: all 0.3s; | transition: all 0.3s ease; | ||
border: 1px solid #e9ecef; | |||
} | } | ||
select:focus { | select:focus { | ||
outline: none; | outline: none; | ||
border-color: | border-color: #3e6f73; | ||
box-shadow: 0 0 0 2px rgba( | 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; | |||
} | |||
.content-frame { | |||
margin: 0 15px; | |||
border: 1px solid #dee2e6; | |||
border-radius: 0; | |||
overflow: hidden; | |||
background: white; | |||
height: calc(100vh - 100px); /* دو برابر حالت قبلی */ | |||
min-height: 600px; /* حداقل ارتفاع ثابت */ | |||
} | |||
.content-header { | |||
padding: 12px 15px; | |||
background: #f8f9fa; | |||
border-bottom: 1px solid #dee2e6; | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
} | |||
.content-title { | |||
font-weight: 600; | |||
color: #3e6f73; | |||
font-size: 14px; | |||
} | |||
.content-controls { | |||
display: flex; | |||
gap: 8px; | |||
} | |||
.control-btn { | |||
background: white; | background: white; | ||
border-radius: | border: 1px solid #dee2e6; | ||
border-radius: 4px; | |||
padding: 6px 12px; | |||
cursor: pointer; | |||
font-size: 12px; | |||
transition: all 0.3s ease; | |||
display: flex; | |||
align-items: center; | |||
gap: 4px; | |||
font-weight: 600; | |||
color: #495057; | |||
} | } | ||
. | .control-btn:hover { | ||
background: #3e6f73; | |||
color: white; | |||
color: | border-color: #3e6f73; | ||
} | |||
.iframe-container { | |||
width: 100%; | |||
height: calc(100% - 50px); | |||
position: relative; | |||
} | } | ||
. | .clean-frame { | ||
width: 100%; | width: 100%; | ||
height: | height: 100%; | ||
border: | border: none; | ||
background: white; | |||
} | |||
.iframe-placeholder { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
height: 100%; | |||
color: #6c757d; | |||
font-size: 14px; | |||
text-align: center; | |||
padding: 20px; | |||
background: white; | background: white; | ||
} | } | ||
. | .action-buttons { | ||
display: flex; | display: flex; | ||
justify-content: space-between; | justify-content: space-between; | ||
align-items: center; | align-items: center; | ||
padding: 12px 15px; | |||
background-color: #f8f9fa; | |||
border-top: 1px solid #dee2e6; | |||
gap: 8px; | |||
} | } | ||
. | .wiki-link, .site-link, .view-link { | ||
background: #3e6f73; | |||
background | |||
color: white; | color: white; | ||
text-decoration: none; | |||
font-weight: 600; | |||
padding: 10px 15px; | |||
border-radius: 4px; | |||
border: none; | border: none; | ||
cursor: pointer; | cursor: pointer; | ||
font-size: 13px; | |||
text-align: center; | |||
flex: 1; | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | |||
gap: 6px; | |||
transition: all 0.3s ease; | |||
} | } | ||
. | .site-link { | ||
background | background: #6c757d; | ||
} | } | ||
. | .view-link { | ||
background | background: #4a7c59; | ||
} | } | ||
.wiki-link | .wiki-link:hover, .site-link:hover, .view-link:hover { | ||
opacity: 0.9; | |||
transform: translateY(-1px); | |||
} | } | ||
. | .loading-bar { | ||
height: 2px; | |||
background: linear-gradient(90deg, #8fb996, #3e6f73); | |||
width: 0%; | |||
transition: width 0.4s ease; | |||
position: absolute; | |||
top: 0; | |||
right: 0; | |||
} | } | ||
. | .breadcrumb { | ||
background: #f8f9fa; | |||
padding: 10px 15px; | |||
padding: | |||
margin-bottom: 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; | |||
} | } | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
. | .filter-row { | ||
flex-direction: column; | |||
} | |||
.content-frame { | |||
height: calc(100vh - 280px); | |||
min-height: 350px; | |||
} | |||
.action-buttons { | |||
flex-direction: column; | |||
} | } | ||
. | .wiki-link, .site-link, .view-link { | ||
width: 100%; | |||
} | } | ||
. | .content-header { | ||
flex-direction: column; | flex-direction: column; | ||
gap: 8px; | |||
align-items: flex-start; | |||
} | } | ||
. | .content-controls { | ||
width: 100%; | width: 100%; | ||
justify-content: | 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"> | ||
<h1>کتابخانه دانشنامه کتاب مقدس</h1> | |||
<p class="description">مطالعه آنلاین کتابها و مقالات مسیحی دارای اجازه پخش در دانشنامه کتاب مقدس </p> | |||
</header> | |||
<h1>کتابخانه دانشنامه | |||
<p class="description"> | |||
</ | |||
<!-- محتوای سئو --> | |||
<section class="seo-content"> | |||
<h2>کتابخانه جامع منابع مسیحی</h2> | |||
<p>کتابخانهٔ دانشنامهٔ کتاب مقدس مرجع کامل و تخصصی برای مطالعهٔ آنلاین کتابها و مقالات مسیحی است، همهٔ مطالب با کسب اجازه از ناشران یا نویسندگان منتشر شدهاند و حقوق آنها برای انتشارات دانشنامهٔ کتاب مقدس محفوظ است. در صورت نبود حق کپیرایت، انتشار با رعایت اصول امانت و احترام به منبع انجام گرفته است.</p> | |||
<div class="content-list"> | |||
<div class="content-item"> | |||
<h3>کتابها </h3> | |||
<p>انتشار همهٔ کتابها در دانشنامه با اجازهٔ رسمی نویسندگان یا ناشران انجام شده است، و برای برخی آثار، مجوز چاپ مجدد نیز دریافت گردیده است. تمامی حقوق برای انتشارات دانشنامهٔ کتاب مقدس محفوظ است. | |||
نویسندگان و ناشران مسیحی میتوانند برای همکاری و انتشار آثار خود با ما در ارتباط باشند.</p> | |||
</div> | |||
<div class="content-item"> | |||
<h3>مقالات </h3> | |||
<p>مقالات دانشنامه با اجازهٔ نویسندگان یا بر اساس منابع عمومی و بدون حق کپیرایت منتشر میشوند. در همهٔ موارد، اصول امانتداری و احترام به منبع اصلی رعایت شده است. | |||
پژوهشگران و نویسندگان مسیحی میتوانند برای انتشار مقالات خود با ما همکاری کنند</p> | |||
</div> | |||
</div> | |||
</section> | |||
<section class="filter-section" aria-label="فیلترهای جستجو"> | |||
<div class="filter-row"> | |||
<div class="form-group"> | |||
<label for="categorySelect"><i class="fas fa-folder"></i> دستهبندی:</label> | |||
<select id="categorySelect"> | |||
<option value="">لطفاً دستهبندی انتخاب کنید</option> | |||
<div class=" | <option value="کتاب">کتاب</option> | ||
< | <option value="مقاله">مقاله</option> | ||
</select> | |||
</div> | </div> | ||
<div class=" | <div class="form-group"> | ||
< | <label for="contentSelect"><i class="fas fa-book-open"></i> انتخاب محتوا:</label> | ||
<select id="contentSelect" disabled> | |||
< | <option value="">ابتدا دستهبندی را انتخاب کنید</option> | ||
< | </select> | ||
</div> | |||
</div> | |||
</section> | |||
<section class="content-frame" aria-label="محتوای مطالعه"> | |||
<div class="content-header"> | |||
<div class="content-title" id="contentTitle">هیچ محتوایی انتخاب نشده است</div> | |||
<div class="content-controls"> | |||
<button class="control-btn" id="zoomOut"><i class="fas fa-search-minus"></i> کوچکنمایی</button> | |||
<button class="control-btn" id="zoomIn"><i class="fas fa-search-plus"></i> بزرگنمایی</button> | |||
<button class="control-btn" id="directView"><i class="fas fa-external-link-alt"></i> مشاهده مستقیم</button> | |||
</div> | |||
</div> | |||
<div class="loading-bar" id="loadingBar"></div> | |||
<div class="iframe-container"> | |||
<div class="iframe-placeholder" id="iframePlaceholder"> | |||
<div> | |||
<i class="fas fa-book-open" style="font-size: 2rem; color: #6c757d; margin-bottom: 10px;"></i> | |||
<p>لطفاً یک کتاب یا مقاله از لیست انتخاب کنید</p> | |||
</ | |||
</div> | </div> | ||
</div> | </div> | ||
<iframe id="contentFrame" class="clean-frame" src="about:blank" style="display: none;" title="محتوای مطالعه"></iframe> | |||
</div> | |||
<div class="action-buttons"> | |||
<a id="siteLink" href="#" class="site-link" target="_blank" rel="noopener noreferrer" style="display: none;"> | |||
<i class="fas fa-home"></i> | |||
مشاهده صفحه در سایت اصلی | |||
</a> | |||
<a id="wikiLink" href="#" class="wiki-link" target="_blank" rel="noopener noreferrer" style="display: none;"> | |||
<i class="fab fa-wikipedia-w"></i> | |||
مشاهده صفحه کامل در ویکی | |||
</a> | |||
<a id="viewLink" href="#" class="view-link" target="_blank" rel="noopener noreferrer" style="display: none;"> | |||
<i class="fas fa-eye"></i> | |||
مشاهده صفحه | |||
</a> | |||
</div> | |||
</section> | |||
</div> | |||
<script> | |||
// دادههای ساده | |||
const booksData = { | |||
'کتاب': [ | |||
{ value: 'کتاب آغاز مسیحیت در ایران', text: 'آغاز مسیحیت در ایران' }, | |||
{ value: 'انجیل_متی', text: 'انجیل متی' }, | |||
{ value: 'مزامیر', text: 'مزامیر' }, | |||
{ value: 'پیدایش', text: 'پیدایش' } | |||
], | |||
'مقاله': [ | |||
{ value: 'مقاله_۸_تفاوت_کلیدی_بین_کاتولیکها_و_پروتستانها_نویسنده', text: '۸ تفاوت کلیدی بین کاتولیکها و پروتستانها' }, | |||
{ value: 'مقاله_برادران،_ما_تحلیل%E2%80%8Cگران_سیاسی_نیستیم', text: 'برادران، ما تحلیلگران سیاسی نیستیم' }, | |||
{ value: 'مقاله_گناه_آدمی_را_نادان_میکند', text: 'گناه آدمی را نادان میکند' }, | |||
{ value: 'مقاله_۴_دلیل_که_چرا_کتاب_مقدس_از_تراجنسیتی_بودن_حمایت_نمی%E2%80%8Cکند', text: '۴ دلیل که چرا کتاب مقدس از تراجنسیتی بودن حمایت نمیکند' }, | |||
{ value: '۱۰_معنای_یهوه', text: '۱۰ معنای یهوه' }, | |||
{ value: 'تدریس،_آموزش_و_مطالعه', text: 'تدریس، آموزش و مطالعه' }, | |||
{ value: 'خدمت_به_خدا_یعنی_چه', text: 'خدمت به خدا یعنی چه' } | |||
] | |||
}; | |||
// عناصر | |||
const categorySelect = document.getElementById('categorySelect'); | |||
const contentSelect = document.getElementById('contentSelect'); | |||
const contentFrame = document.getElementById('contentFrame'); | |||
const iframePlaceholder = document.getElementById('iframePlaceholder'); | |||
const wikiLink = document.getElementById('wikiLink'); | |||
const siteLink = document.getElementById('siteLink'); | |||
const viewLink = document.getElementById('viewLink'); | |||
const contentTitle = document.getElementById('contentTitle'); | |||
const zoomIn = document.getElementById('zoomIn'); | |||
const zoomOut = document.getElementById('zoomOut'); | |||
const directView = document.getElementById('directView'); | |||
const loadingBar = document.getElementById('loadingBar'); | |||
let currentZoom = 100; | |||
let currentContent = ''; | |||
// وقتی دستهبندی تغییر کرد | |||
categorySelect.addEventListener('change', function() { | |||
const selectedCategory = this.value; | |||
if (!selectedCategory) { | |||
contentSelect.disabled = true; | |||
contentSelect.innerHTML = '<option value="">ابتدا دستهبندی را انتخاب کنید</option>'; | |||
resetContent(); | |||
return; | |||
} | |||
// پر کردن لیست محتواها | |||
contentSelect.disabled = false; | |||
contentSelect.innerHTML = '<option value="">لطفاً محتوا انتخاب کنید</option>'; | |||
booksData[selectedCategory].forEach(item => { | |||
const option = document.createElement('option'); | |||
option.value = item.value; | |||
option.textContent = item.text; | |||
contentSelect.appendChild(option); | |||
}); | }); | ||
resetContent(); | |||
}); | |||
// وقتی محتوا تغییر کرد | |||
contentSelect.addEventListener('change', function() { | |||
const selectedValue = this.value; | |||
const selectedText = this.options[this.selectedIndex].text; | |||
if (!selectedValue) { | |||
resetContent(); | |||
return; | |||
} | } | ||
currentContent = selectedValue; | |||
showContent(selectedValue, selectedText); | |||
}); | |||
// | // نمایش محتوا | ||
function showContent(bookValue, bookText) { | |||
const contentUrl = `https://www.pediabible.com/index.php/${bookValue}?action=render`; | |||
const wikiUrl = `https://www.pediabible.com/index.php/${bookValue}`; | |||
const siteUrl = `https://www.pediabible.com/index.php/${bookValue}`; | |||
contentTitle.textContent = bookText; | |||
// نمایش loading | |||
contentFrame.style.display = 'none'; | |||
iframePlaceholder.style.display = 'flex'; | |||
iframePlaceholder.innerHTML = ` | |||
<div> | |||
<i class="fas fa-spinner fa-spin" style="font-size: 1.5rem; color: #3e6f73; margin-bottom: 10px;"></i> | |||
<p>در حال بارگذاری "${bookText}"...</p> | |||
</div> | |||
`; | |||
// نوار پیشرفت | |||
let progress = 0; | |||
const progressInterval = setInterval(() => { | |||
progress += Math.random() * 15; | |||
if (progress > 90) progress = 90; | |||
loadingBar.style.width = `${progress}%`; | |||
}, 200); | |||
// بارگذاری محتوا | |||
contentFrame.src = contentUrl; | |||
contentFrame.onload = function() { | |||
clearInterval(progressInterval); | |||
loadingBar.style.width = '100%'; | |||
setTimeout(() => { | |||
loadingBar.style.width = '0%'; | |||
}, 500); | |||
contentFrame.style.display = 'block'; | |||
iframePlaceholder.style.display = 'none'; | |||
applyZoom(); | |||
}; | |||
} | contentFrame.onerror = function() { | ||
clearInterval(progressInterval); | |||
loadingBar.style.width = '0%'; | |||
function | iframePlaceholder.style.display = 'flex'; | ||
iframePlaceholder.innerHTML = ` | |||
<div> | |||
<i class="fas fa-exclamation-triangle" style="font-size: 1.5rem; color: #dc3545; margin-bottom: 10px;"></i> | |||
<p>خطا در بارگذاری "${bookText}". لطفاً دوباره تلاش کنید.</p> | |||
<div | |||
<i class="fas fa- | |||
<p>در | |||
</div> | </div> | ||
`; | `; | ||
contentFrame.style.display = 'none'; | |||
}; | |||
// بهروزرسانی لینکها | |||
wikiLink.href = wikiUrl; | |||
wikiLink.style.display = 'flex'; | |||
siteLink.href = siteUrl; | |||
siteLink.style.display = 'flex'; | |||
viewLink.href = contentUrl; | |||
viewLink.style.display = 'flex'; | |||
} | |||
} | |||
// مشاهده مستقیم | |||
directView.addEventListener('click', function() { | |||
if (currentContent) { | |||
const directUrl = `https://www.pediabible.com/index.php/${currentContent}`; | |||
window.open(directUrl, '_blank', 'noopener,noreferrer'); | |||
} | } | ||
}); | |||
// کنترل بزرگنمایی | |||
function applyZoom() { | |||
contentFrame.style.zoom = `${currentZoom}%`; | |||
} | |||
zoomIn.addEventListener('click', function() { | |||
if (currentZoom < 150) { | |||
currentZoom += 10; | |||
applyZoom(); | |||
} | |||
}); | |||
zoomOut.addEventListener('click', function() { | |||
if (currentZoom > 50) { | |||
currentZoom -= 10; | |||
applyZoom(); | |||
} | } | ||
}); | |||
function resetContent() { | |||
currentContent = ''; | |||
contentTitle.textContent = 'هیچ محتوایی انتخاب نشده است'; | |||
contentFrame.style.display = 'none'; | |||
iframePlaceholder.style.display = 'flex'; | |||
iframePlaceholder.innerHTML = ` | |||
<div> | |||
<i class="fas fa-book-open" style="font-size: 1.5rem; color: #6c757d; margin-bottom: 10px;"></i> | |||
<p>لطفاً یک کتاب یا مقاله از لیست انتخاب کنید</p> | |||
</div> | |||
`; | |||
wikiLink.style.display = 'none'; | |||
siteLink.style.display = 'none'; | |||
viewLink.style.display = 'none'; | |||
contentFrame.src = 'about:blank'; | |||
loadingBar.style.width = '0%'; | |||
} | } | ||
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
نسخهٔ کنونی تا ۱۳ اکتبر ۲۰۲۵، ساعت ۲۲:۳۳
کتابخانه دانشنامه کتاب مقدس
مطالعه آنلاین کتابها و مقالات مسیحی دارای اجازه پخش در دانشنامه کتاب مقدس
کتابخانه جامع منابع مسیحی
کتابخانهٔ دانشنامهٔ کتاب مقدس مرجع کامل و تخصصی برای مطالعهٔ آنلاین کتابها و مقالات مسیحی است، همهٔ مطالب با کسب اجازه از ناشران یا نویسندگان منتشر شدهاند و حقوق آنها برای انتشارات دانشنامهٔ کتاب مقدس محفوظ است. در صورت نبود حق کپیرایت، انتشار با رعایت اصول امانت و احترام به منبع انجام گرفته است.
کتابها
انتشار همهٔ کتابها در دانشنامه با اجازهٔ رسمی نویسندگان یا ناشران انجام شده است، و برای برخی آثار، مجوز چاپ مجدد نیز دریافت گردیده است. تمامی حقوق برای انتشارات دانشنامهٔ کتاب مقدس محفوظ است. نویسندگان و ناشران مسیحی میتوانند برای همکاری و انتشار آثار خود با ما در ارتباط باشند.
مقالات
مقالات دانشنامه با اجازهٔ نویسندگان یا بر اساس منابع عمومی و بدون حق کپیرایت منتشر میشوند. در همهٔ موارد، اصول امانتداری و احترام به منبع اصلی رعایت شده است. پژوهشگران و نویسندگان مسیحی میتوانند برای انتشار مقالات خود با ما همکاری کنند
لطفاً یک کتاب یا مقاله از لیست انتخاب کنید