PageSourceSearch

https://www.softvalencia.org/wp-content/themes/wp-softvalencia/js/base.js

js softvalencia.org collected 2026-10-03 20:41:28 UTC 1,553 bytes, 67 lines download raw bytes

1jQuery.noConflict();
2(function($){
3    $(document).ready(function(){
4        if($("a.tab")) {
5            // When a link is clicked
6            $("a.tab").click(function () {
7
8                // switch all tabs off
9                $(".active").removeClass("active");
10
11                // switch this tab on
12                $(this).addClass("active");
13
14                // slide all elements with the class 'content' up
15                $(".content").slideUp();
16
17                // Now figure out what the 'title' attribute value is and find the element with that id.  Then slide that down.
18                var content_show = $(this).attr("title");
19                $("#"+content_show).slideDown();
20
21            });
22        }
23
24
25        $('#s5').cycle({
26            fx:    'fade',
27            pause:  1,
28            timeout: 6000
29        });
30
31    });
32
33    var num = 3;
34    var current = 1;
35    var actual = 0;
36
37    function slide()
38    {
39        if($("#slide"+current)) {
40            $("#slide" + current).hide();
41            current = (current >= num) ? 1 : current + 1;
42            $("#slide" + current).fadeIn(3000);
43        }
44
45    }
46
47    function desplega(nav)
48    {
49        var opcions=new Array("nav1","nav2","nav3","nav4","nav5","nav6","nav7");
50
51        for (y=0; y<7; y++)
52        {
53
54            if (opcions[y] != nav)
55                $("#" + opcions[y]).hide();
56        }
57
58
59        $("#" + nav).fadeIn(3000);
60
61    }
62
63    document.softvalencia = {};
64    document.softvalencia.slide = slide;
65    document.softvalencia.desplega = desplega;
66
67})(jQuery);

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.