PageSourceSearch

http://www.lasthaven.com/wp-content/themes/good-minimal/js/script.js

js lasthaven.com collected 2026-10-06 02:07:08 UTC 2,434 bytes, 80 lines download raw bytes

1jQuery(document).ready(function() {
2
3
4
5/*-----------------------------------------------------------------------------------*/
6/*	Overlay Animation
7/*-----------------------------------------------------------------------------------*/
8
9	function thumb_overlay() {
10		jQuery('.post-thumb a').hover( function() {
11			jQuery(this).find('.overlay').fadeIn(150);
12		}, function() {
13			jQuery(this).find('.overlay').fadeOut(150);
14		});
15		
16		$('a.tool_tip').animate({'opacity' : .5}).hover(function() {
17		$(this).animate({'opacity' : 1});
18		}, function() {
19			$(this).animate({'opacity' : .5});
20		});
21		
22	}
23	
24	thumb_overlay();
25
26/*-----------------------------------------------------------------------------------*/
27/*	Tipsy Tool Tip
28/*-----------------------------------------------------------------------------------*/
29
30	function tipsy_tooltip() {
31		$('a.tool_tip').tipsy({fade: true});
32	}
33	
34	tipsy_tooltip();
35	
36/*-----------------------------------------------------------------------------------*/
37/*	Calling the Method
38/*-----------------------------------------------------------------------------------*/
39
40		/*$('#slider').nivoSlider({
41		//effect:'fade' // Specify sets like: 'fold,fade,sliceDown'
42		effect:'fold', // Specify sets like: fold,fade,sliceDown
43		slices:20, // For slice animations
44		boxCols: 8, // For box animations
45		boxRows: 4, // For box animations
46		animSpeed:500, // Slide transition speed
47		pauseTime:2000, // How long each slide will show
48		startSlide:0, // Set starting Slide (0 index)
49
50		});*/
51	
52	/* portfolio switch*/
53	$("a.switch_thumb").toggle(function(){
54        $(this).addClass("swap");
55        $("ul.display").fadeOut("fast", function() {
56            $(this).fadeIn("fast").addClass("thumb_view");
57        });
58    }, function () {
59        $(this).removeClass("swap");
60        $("ul.display").fadeOut("fast", function() {
61            $(this).fadeIn("fast").removeClass("thumb_view");
62        });
63    }); 
64	
65	
66	/* image fade when hover*/
67	$('#portfolio a img').animate({'opacity' : 1}).hover(function() {
68		$(this).animate({'opacity' : .3});
69	}, function() {
70		jQuery(this).animate({'opacity' : 1});
71	});
72	
73	/*inFieldLabels*/
74	/*$("label").inFieldLabels();*/
75
76	/* PrettyPhoto */
77	$("#image-grid:first a[rel^='prettyPhoto']").prettyPhoto({animationSpeed:'slow',theme:'facebook',slideshow:2000, autoplay_slideshow: false});
78
79	
80});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.