Skip to content

Instantly share code, notes, and snippets.

View quangpro1610's full-sized avatar
🏠
Working from home

Hoang Quang quangpro1610

🏠
Working from home
View GitHub Profile
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://www.yourjavascript.com/560192341/magnifier.txt.js"></script>
<img class="magnify" magnifyby="3" style="width: 200px; height: 250px;" src="URL_IMAGE" alt="" border="0" />
<!--jCarousel basic stylesheet-->
<link rel="stylesheet" type="text/css" href="https://sorgalla.com/jcarousel/examples/basic/jcarousel.basic.css" />
<!--jQuery library-->
<script type="text/javascript" src="https://sorgalla.com/jcarousel/vendor/jquery/jquery.js"></script>
<!--jCarousel library-->
<script type="text/javascript" src="https://sorgalla.com/jcarousel/dist/jquery.jcarousel.min.js"></script>
<script type="text/javascript">
(function ($) {
$(function () {
$('.jcarousel').jcarousel();
$('.jcarousel-control-prev')
.on('jcarouselcontrol:active', function () {
$(this).removeClass('inactive');
})
.on('jcarouselcontrol:inactive', function () {
$(this).addClass('inactive');
<div class="jcarousel">
<ul>
<li><img src="https://sorgalla.com/jcarousel/examples/_shared/img/img1.jpg" alt="img1"></li>
<li><img src="https://sorgalla.com/jcarousel/examples/_shared/img/img2.jpg" alt="img2"></li>
<li><img src="https://sorgalla.com/jcarousel/examples/_shared/img/img3.jpg" alt="img3"></li>
<li><img src="https://sorgalla.com/jcarousel/examples/_shared/img/img4.jpg" alt="img4"></li>
<li><img src="https://sorgalla.com/jcarousel/examples/_shared/img/img5.jpg" alt="img5"></li>
<li><img src="https://sorgalla.com/jcarousel/examples/_shared/img/img6.jpg" alt="img6"></li>
</ul>
</div>
<script src="js/jquery.js"></script>
<script src="js/jquery.lightbox/js/jquery.lightbox.js"></script>
<link rel="stylesheet" type="text/css" href="js/jquery.lightbox/css/jquery.lightbox.css" />
<script type="text/javascript">
$(document).ready(function() {
$('.lightbox').lightBox();
});
</script>
<a class="lightbox" href="#"><img src="images/thumbnail.jpg" /></a>
<div class="accordian">
<ul>
<li>
<div class="image_title"> <a href="#">KungFu Panda</a> </div>
<a href="#"> <img src="./img/3yiC6Yq.jpg" /> </a>
</li>
<li>
<div class="image_title"> <a href="#">Toy Story 2</a> </div>
<a href="#"> <img src="./img/40Ly3VB.jpg" /> </a>
</li>
* {
margin: 0;
padding: 0;
}
body {
background: #ccc;
font-family: arial, verdana, tahoma;
}
.accordian {
width: 805px;