PageSourceSearch

https://ipmba.org/js/views/view.home.js

js ipmba.org collected 2026-10-01 14:41:16 UTC 1,401 bytes, 91 lines download raw bytes

1/*
2Name: 			View - Home
3Written by: 	Crivos - (http://www.crivos.com)
4Version: 		1.0
5*/
6
7var Home = {
8
9	initialized: false,
10
11	initialize: function() {
12
13		if (this.initialized) return;
14		this.initialized = true;
15
16		this.build();
17		this.events();
18
19	},
20
21	build: function() {
22
23		// Circle Slider
24		if($("#fcSlideshow").get(0)) {
25			$("#fcSlideshow").flipshow();
26			
27			setInterval( function() {
28				$("#fcSlideshow div.fc-right span:first").click();
29			}, 3000);
30			
31		}
32	
33		// Revolution Slider Initialize
34		if($("#revolutionSlider").get(0)) {
35			$("#revolutionSlider").revolution({
36				delay:9000,
37				startheight:500,
38				startwidth:960,
39
40				hideThumbs:10,
41
42				thumbWidth:100,
43				thumbHeight:50,
44				thumbAmount:5,
45
46				navigationType:"both",
47				navigationArrows:"verticalcentered",
48				navigationStyle:"round",
49
50				touchenabled:"on",
51				onHoverStop:"on",
52
53				navOffsetHorizontal:0,
54				navOffsetVertical:20,
55
56				stopAtSlide:-1,
57				stopAfterLoops:-1,
58
59				shadow:1,
60				fullWidth:"on"
61			});
62		}
63
64		// Nivo Slider
65		if($("#nivoSlider").get(0)) {
66			$("#nivoSlider").nivoSlider();
67		}
68	
69	},
70
71	events: function() {
72
73		this.moveCloud();
74
75	},
76
77	moveCloud: function() {
78
79		var $this = this;
80
81		$(".cloud").animate( {"top": "+=20px"}, 3000, "linear", function() {
82			$(".cloud").animate( {"top": "-=20px"}, 3000, "linear", function() {
83				$this.moveCloud();
84			});
85		});
86
87	}
88
89};
90
91Home.initialize();

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.