File "nhung cau cach ngon dao duc.html"
Full path: E:/sites/Single15/tinmung2007/webroot/thien chua/Tenluayeudau/nhung ten lua yeu dau/nhung cau cach ngon dao duc.html
File size: 26.41 KiB (27047 bytes)
MIME-type:
Charset: utf-8
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" href="assets/images/favicon.png">
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta name="description" content="" />
<meta name="author" content="" />
<link
href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900"
rel="stylesheet"
/>
<title>tinmung.net-Trang Thiên Chúa</title>
<!--
Reflux Template
https://templatemo.com/tm-531-reflux
-->
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<!-- Additional CSS Files -->
<link rel="stylesheet" href="assets/css/fontawesome.css" />
<link rel="stylesheet" href="assets/css/templatemo-style.css" />
<link rel="stylesheet" href="assets/css/owl.css" />
<link rel="stylesheet" href="assets/css/lightbox.css" />
<style type="text/css">
<!--
p.MsoNormal {
margin-top:0in;
margin-right:0in;
margin-bottom:8.0pt;
margin-left:0in;
line-height:107%;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
}
-->
</style>
</head>
<body>
<div id="page-wraper">
<!-- Sidebar Menu -->
<div class="responsive-nav">
<i class="fa fa-bars" id="menu-toggle"></i>
<div id="menu" class="menu">
<i class="fa fa-times" id="menu-close"></i>
<div class="container">
<div><img src="../nhung ten lua yeu dau.jpg"></div>
<div class="author-content">
<h5><font color="#FFFFFF">NHỮNG TÊN LỬA YÊU DẤU</font></h5>
<span>Thánh Anphong</span>
</div>
<nav class="main-nav" role="navigation">
<li><a href="loi mo dau.html">Lời Mở Đầu</a></li>
<li><a href="tu truoc doi doi.html">Từ Trước Đời Đời</a></li>
<li><a href="ngoi hai ra doi.html">Ngôi Hai Ra Đời</a></li>
<li><a href="duc giesu chiu thuong kho.html">Đức Giêsu Chịu Thương Khó</a></li>
<li><a href="vi long men thuc bach toi.html">Vì Lòng Mến Thúc Bách Tôi</a></li>
<li><a href="chu giesu ngu trong bi tich thanh the.html">Chúa Giêsu Ngự Trong Thánh Thể</a></li>
<li><a href="nhung cau cach ngon dao duc.html">Những Câu Cách Ngôn Đạo Đức</a></li>
<li><a href="nhung loi than tho kinh men.html">Những Lời Than Thở Kính Mến</a></li>
<li><a href="kinh xin cho duoc long men.html">Kinh Xin Cho Được Lòng Mến</a></li>
</nav>
<div class="social-network">
<ul class="soial-icons">
<li>
<a href=""
><i class="fa fa-facebook"></i
></a>
</li>
<li>
<a href="#"><i class="fa fa-twitter"></i></a>
</li>
<li>
<a href="#"><i class="fa fa-linkedin"></i></a>
</li>
<li>
<a href="#"><i class="fa fa-dribbble"></i></a>
</li>
<li>
<a href="#"><i class="fa fa-rss"></i></a>
</li>
</ul>
</div>
<div class="copyright-text">
<p>Copyright tinmung.net</p>
</div>
</div>
</div>
</div>
<section class="section about-me" data-section="section1">
<div class="container">
<table width="100%" border="0">
<tbody>
<tr>
<td><p class="MsoNormal" style="text-align:justify;line-height:150%;"><strong><span style="line-height:150%; font-family:'Times New Roman',serif; font-size:18.0pt; color:#C00000; ">NHỮNG CÂU CÁCH NGÔN ÐẠO ÐỨC</span></strong></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="line-height:150%; font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">Những câu cách ngôn đạo đức mà mọi người Kitô hữu phải biết:</span><span style="line-height:150%; font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Ðược cả thế gian, mà mất linh hồn, nào ích gì?</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Hết mọi sự đều có cùng, chỉ cuộc sống đời đời là không có cùng.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Thà mất hết mọi sự còn hơn mất Ðức Chúa Trời.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Không có tội nào là sự dữ nhỏ, dù tội cực nhẹ cũng vậy.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Muốn đẹp lòng Chúa, cần phải bỏ mình đi.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Làm cốt để thoả ý riêng, tức là làm một cách vô ích.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Muốn được rỗi linh hồn, thì hằng phải sợ kẻo mình mất linh hồn.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Chết để làm đẹp lòng Chúa.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Chỉ có một sư dữ phải sợ: Ấy là tội.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Chỉ thánh ý Chúa là tốt và đó là điều ta hằng phải muốn.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Khi nào người ta chỉ ước ao Chúa thì hằng được bằng lòng mãi, dù có gặp những sự trái ý đến đâu cũng vậy.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Tôi phải tưởng tượng như ở thế gian này chỉ có Chúa và tôi.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Cả thế gian cũng không thể làm cho lòng ta thoả mãn, chỉ một mình Ðức Chúa Trời có thể làm cho lòng ta thoả mãn thôi.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Kính mến Chúa: Ðó là hạnh phúc; và làm tròn thánh ý Chúa: Ðó thật là kính mến.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Sự nguyện làm cho ta được hết mọi của cải, ơn phúc. Kẻ cầu nguyện thì được mọi sự ước ao.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Một ngày không nguyện ngắm, tức là một ngày bỏ hư qua.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Bà thánh Têrêsa dạy rằng: “Bỏ sự nguyện ngắm: Ấy là gieo mình xuống hoả ngục”.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Ðừng bỏ qua ngày nào mà chẳng đọc một vài trang sách dẫn đường nhân đức.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Lòng ham danh dự là chứng dịch dễ giết hại lòng đạo đức.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Muốn nên khiêm nhường thật trong lòng, chứ không phải chỉ khiêm nhừng ngoài môi, ngoài miệng thì bảo mình là đáng khinh dễ chưa đủ, còn phải muốn cho người ta khinh dễ mình nữa.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">Một người giáo hữu không biết chịu một chút nhục nhã vì Chúa, nào có giá trị gì?</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Khi người ta chửi rủa anh em, anh em hãy bảo rằng: Đó là câu truyện để mà cười.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Hãy tưởng tượng đến hoả ngục mà anh em đã đáng phải chịu, rồi ra anh em sẽ lấy mọi sự đau khổ đời này làm nhẹ nhàng.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Khi có lòng yêu mến đức khó khăn, thì người ta được đầy đủ mọi sự.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Về những sự đời này, thì ta hãy chọn lấy những sự kém nhất; còn những sự về Đức Chúa Trời, thì ta hãy chọn lấy những sự tốt nhất.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Kẻ hay vâng lời thì làm cho Đức Chúa Trời vui lòng.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Đức thương yêu thật ở tại hai điều này: Là làm sự lành cho kẻ làm hại ta và nhờ đấy mà chiếm lấy lòng họ.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Đến giờ chết thì những của cải và những danh vọng đời này có ích gì?</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Linh hồn được Chúa gọi để kính mến Người, thì được ơn trọng dường nào!</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Không có một sự ước ao tốt nào mà Chúa không thưởng.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Nếu không quy về Đức Chúa Trời thì không có lòng yêu mến nào là tốt cả, cho ngay rằng yêu mến những sự tốt lành cũng thế thôi.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Phải biết ơn, phải biết ơn, nhưng trước hết phải biết ơn Chúa.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Vậy phải dốc lòng đừng từ chối gì cùng Chúa, và bởi đó phải làm hết mọi sự đẹp lòng Chúa hơn cả.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Lời cầu nguyện tốt nhất cho kẻ ốm đau: Là xin vâng theo thánh ý Chúa.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Sự ăn ở lành thánh và những sự vui sướng xác thịt không thể đi đôi với nhau được.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Kẻ trông cậy vào mình thì chẳng làm được việc gì hết; còn kẻ trông cậy Chúa, thì làm được mọi sự.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Còn hạnh phúc nào linh hồn lấy làm to tát bằng biết mình được yêu quý?</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Hãy bỏ mọi sự đi vì Chúa, rồi tự khắc Chúa sẽ ban trót mình Người cho.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Chỉ có một con đường đem đến cõi thánh thiện; ấy là con đường đau khổ.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Chúa dùng những sự cay đắng chua chát, những chước cám dỗ mà thử những kẻ kính mến Người.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Cần phải thắng trận để được hết mọi sự.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Kẻ kính mến Chúa và trông cậy Người, thì không thể nào hư đi được.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Ta hãy xin Chúa ban cho ta được lòng nhệt thành kính mến Mẹ Người.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Nhìn vào Thánh Giá Đức Chúa Giêsu thì người ta có thể chịu đau khổ cách bình an dường nào!</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Ở đời này, kẻ có phúc nhất, tức là kẻ có lòng kính mến Chúa nhất.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Phàm cái gì người ta làm mà chẳng làm vì Chúa, đều nên hình khổ cho người ta .</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Không có một sự áy náy nào bởi Chúa mà ra, dù áy náy về những sự lành cũng vậy.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Miễn cứ đi, tất rồi sẽ đến.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;text-indent:-9.0pt;line-height:150%;"><span style="font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Kẻ nào chỉ ước ao được Chúa, thì được giàu có và bằng lòng luôn mãi; họ chẳng thiếu thốn gì hết, họ nhạo cười cả thế gian.</span><span style="font-family:'Times New Roman',serif; font-size:18.0pt; "> </span></p>
<span style="line-height:107%; font-family:'Times New Roman',serif; font-size:18.0pt; color:black; ">- Kẻ chẳng lấy Chúa làm đủ, thì chẳng cái gì có thể làm cho nó lấy làm đủ; được Chúa là làm đủ, là đủ; chẳng cần gì các sự khác nữa.</span> </td>
</tr>
</tbody>
</table>
</div>
<div class="left-image-post"> </div>
<div class="right-image-post"> </div>
</div>
</div>
<!-- Scripts -->
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/isotope.min.js"></script>
<script src="assets/js/owl-carousel.js"></script>
<script src="assets/js/lightbox.js"></script>
<script src="assets/js/custom.js"></script>
<script>
//according to loftblog tut
$(".main-menu li:first").addClass("active");
var showSection = function showSection(section, isAnimate) {
var direction = section.replace(/#/, ""),
reqSection = $(".section").filter(
'[data-section="' + direction + '"]'
),
reqSectionPos = reqSection.offset().top - 0;
if (isAnimate) {
$("body, html").animate(
{
scrollTop: reqSectionPos
},
800
);
} else {
$("body, html").scrollTop(reqSectionPos);
}
};
var checkSection = function checkSection() {
$(".section").each(function() {
var $this = $(this),
topEdge = $this.offset().top - 80,
bottomEdge = topEdge + $this.height(),
wScroll = $(window).scrollTop();
if (topEdge < wScroll && bottomEdge > wScroll) {
var currentId = $this.data("section"),
reqLink = $("a").filter("[href*=\\#" + currentId + "]");
reqLink
.closest("li")
.addClass("active")
.siblings()
.removeClass("active");
}
});
};
$(".main-menu").on("click", "a", function(e) {
e.preventDefault();
showSection($(this).attr("href"), true);
});
$(window).scroll(function() {
checkSection();
});
</script>
</body>
</html>