Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- jQuery(function ($){
- $(document).ready(function(){
- $(".fancybox-thumbs").fancybox({
- padding: 0,
- margin: 10,
- closeBtn : true,
- helpers :
- {
- title: {
- position: 'top',
- },
- thumbs:
- {
- width : 40,
- height : 40,
- }
- },
- beforeShow : function() {
- var alt = this.element.find('img').attr('alt');
- this.inner.find('img').attr('alt', alt);
- this.title = alt;
- },
- });
- });
- });
- </script>
Add Comment
Please, Sign In to add comment