PageSourceSearch

https://www.alliancehomemtg.com/js/ini.js

js alliancehomemtg.com collected 2026-09-28 00:51:44 UTC 2,548 bytes, 73 lines download raw bytes

1
2/*------------------------------------------- iniICheck ------------------------------------------*/
3
4var colorSite = 'grey';
5
6function iniICheck() {
7    // if(colorSite=='silver'){
8    //     colorSite='grey';
9    // }
10    $('input[type=checkbox]').iCheck({
11        checkboxClass: 'icheckbox_square-'+colorSite,
12        increaseArea: '20%' // optional
13    });
14    $('input[type=radio]').iCheck({
15        radioClass: 'iradio_square-'+colorSite,
16        increaseArea: '20%' // optional
17    });
18    $('select').wrap( "<div class='select-option'></div>" );
19    $('select').before( "<span class='input-icon'><span class='icon-angle-down'></span></span>" );
20    $('select').removeClass( "form-control" );
21    $('label').click(function () {
22        var sibling=$(this).prev('.icheckbox_square-'+colorSite);
23        if($(sibling).hasClass('checked')){
24            $(sibling).find( "input" ).iCheck('uncheck');
25        }else{
26            $(sibling).find( "input" ).iCheck('check');
27        }
28
29    });
30    $('label').click(function () {
31        var sibling=$(this).prev('.iradio_square-'+colorSite);
32        $(sibling).find( "input" ).iCheck('check');
33    });
34    $('.twocol .row-wrap').has('hr').css('width','98%');
35    $('.three-col .row-wrap').has('hr').css('width','97%');
36
37
38    // $('label').each(function() {
39    //     if ($(this).isAfter(".icheckbox_square-"+colorSite)) {
40    //         $(this).css('margin-left', '10px');
41    //     }
42    //     else if ($(this).isAfter(".iradio_square-"+colorSite)) {
43    //         $(this).css('margin-left', '10px');
44    //     }
45    // });
46}
47/*------------------------------------------- configureFormsThree ------------------------------------------*/
48function configureFormsThree() {
49    var labelContent;
50    $('label.row-label').each(function(){
51        labelContent=$(this).text();
52        $(this).next().find('input,textarea').attr('placeholder',labelContent);
53        var select=$(this).next().find('select option:first-child');
54        if(select.html()=='- Select -' || select.html()=='-Select-'){
55            select.html(labelContent);
56            select.attr('value','');
57        }
58        if(!$(this).next().find('.icheckbox_square-'+colorSite+',.iradio_square-'+colorSite).length > 0){
59            //$(this).remove();
60			$(this).addClass("visuallyhidden");
61			//console.log(labelContent);
62        }
63
64    });
65}
66
67jQuery(document).ready(function($){
68    //iniICheck();
69    configureFormsThree();
70    if (!$(".seq-canvas .step2").length){
71        $(".seq-canvas .step1").addClass("seq-in");
72    }
73});

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.