Created: 06 Aug 2013
By: Sike
Contact
Thank you for purchasing. And I appreciate if you can rate my item in the download section of codecanyon, thanks!
<link rel="stylesheet" href="css/reset.css"> <link rel="stylesheet" href="css/jquery.viewswitch.css">
<script src="js/jquery.min.js" type="text/javascript"></script> <script src="js/modernizr.custom.49511.js" type="text/javascript"></script> <script src="js/jquery.viewswitch.min.js" type="text/javascript"></script>
<div class="button-container"> <p class="grid"><a href="#" id="grid-btn" class="active">Grid</a></p> <p class="list"><a href="#" id="list-btn">List</a></p> </div> <div class="grid-container"> <div class="thumb-container"> <img src="imgs/thumbs/thumbnail1.png" alt="" class="grid-img"> <p class="short-desc"> ... </p> <p class="long-desc"> ... </p> </div> <div class="thumb-container"> ... </div> ... </div>
$('.wrapper').viewSwitch();
$('.wrapper').viewSwitch({
// pulse effect when user mouse over or not
hoverEffect : true,
// the container of the thumbnail
thumbContainer: '.thumb-container'
});
You only have to upload the minified files in the js folder. For example just upload the jquery.viewswitch.min.js. You can update the content in the index.html by your own ones.
Please don't upload the un-minify js files in the js folder under source folder. For example please don't upload the jquery.viewswitch.js. Thanks.
jQuery http://jquery.com
Lightbox http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/