PageSourceSearch

https://mdpharmacourses.com/wp-content/plugins/forms-contact/js/front.js?ver=7.1.2

js mdpharmacourses.com collected 2026-10-06 13:16:19 UTC 2,719 bytes, 80 lines download raw bytes

1jQuery(document).ready(function () {
2    var x = (jQuery(document).find(".paj").length>1)? true : false;
3    if(x){
4        var parentPag = jQuery(document).find(".paj").parent();
5        var defValue=1,numPages= parentPag.children(".paj").length,pages=parentPag.children(".paj"),title=parentPag.children('h3'), current = 1;
6        function init(){
7            parentPag.html(jQuery(pages.hide()));
8            jQuery(pages).eq(0).show();
9            jQuery(pages).eq(0).before(title);
10            jQuery("#prev").css("visibility","hidden");
11            jQuery(".paginationUl").show();
12        }
13
14        function createPagination(){
15            for(var i=1;i<=numPages;i++){
16                var li = "<li value='"+i+"' class='item'> "+i+"</li>";
17                jQuery("#next").before(li);
18
19                if(i==1) {
20                    jQuery(".paginationUl li.item").css({
21                        "background-color":"#f44336",
22                        "color":"white"
23                    });
24                }
25            }
26        }
27
28        function validation(val) {
29            return val <= 0 || val > numPages ? false : true;
30        }
31
32        function setCurrent(val){
33            jQuery(pages).hide();
34            jQuery(".paginationUl li").css({
35                "background-color":"",
36                "color":""
37            });
38            current=val;
39            if(current!=1){
40                jQuery("#prev").css("visibility","visible");
41            }
42            else {
43                jQuery("#prev").css("visibility","hidden");
44            }
45            if(current!=numPages){
46                jQuery("#next").css("visibility","visible");
47            }
48            else {
49                jQuery("#next").css("visibility","hidden");
50            }
51
52            jQuery(".paginationUl li[value='"+current+"']").css({
53                "background-color":"#f44336",
54                "color":"white"
55            });
56            var counter = current;
57            var currentDiv = jQuery(pages.get(--counter));
58            currentDiv.fadeIn("slow");
59        }
60
61        init();
62        createPagination();
63
64        jQuery(document).on("click",".paginationUl li.item",function () {
65            var currentValue = this.value;
66            validation(currentValue);
67            setCurrent(currentValue);
68        });
69
70        jQuery(document).on("click","#prev,#next",function () {
71            var copyCurrent = current;
72            var currentValue = (this.id=="next")?++copyCurrent:--copyCurrent;
73            if(validation(currentValue)){
74                setCurrent(currentValue);
75            }
76
77        });
78    }
79    //Pagination
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.