PHP Classes

File: Modules/Article/Resources/views/categories/partials/scripts.blade.php

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   LaraCMS   Modules/Article/Resources/views/categories/partials/scripts.blade.php   Download  
File: Modules/Article/Resources/views/categories/partials/scripts.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: LaraCMS
Content management system based on Laravel
Author: By
Last change:
Date: 1 year ago
Size: 525 bytes
 

Contents

Class file image Download
<script src="{{ asset('public/assets/backend/js/color-picker/jscolor.js') }}"></script>
<script>

$(".parent_categories_select").select2({
    placeholder: "Select a Parent Category"
});

$("#enable_bg").click(function(){
    if($('#enable_bg').is(':checked')){
        $(".enable_bg_area").removeClass('display-hidden');
        $(".enable_bg_area").addClass('display-block');
    }else{
        $(".enable_bg_area").removeClass('display-block');
        $(".enable_bg_area").addClass('display-hidden');
    }
});
</script>