글쓰기 오류

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
글쓰기 오류

QA

글쓰기 오류

본문

글쓰기할 때 올바른 방법으로 이용해달라고 해서

원인을 찾아보니 

head.php에 적용한 사제 메뉴가 문제가 있네요.

최근의 5.5.12버전이구요 제이쿼리는 1.12.4이더군요,

 

head.php없이 베이직스킨에서 글쓰면 잘 써지구요

결국은 메뉴에 적용한 아래 제이쿼리 코드가 문제가 되고 있습니다, 


    <script>
        jQuery(document).ready(function () {
            jQuery('#menu-1').megaMenu({
                trigger: 'click'
            });
        });
    </script>

 


(function($){
    // default settings
    var defaultSettings = {
        // DESKTOP MODE SETTINGS
        logo_align          : 'left',    // align the logo left or right. options (left) or (right)
        links_align         : 'left',    // align the links left or right. options (left) or (right)
        socialBar_align     : 'left',    // align the socialBar left or right. options (left) or (right)
        searchBar_align     : 'right',   // align the search bar left or right. options (left) or (right)
        trigger             : 'click',   // show drop down using click or hover. options (hover) or (click)
        effect              : 'scale',    // drop down effects. options (fade), (scale), (expand-top), (expand-bottom), (expand-left), (expand-right)
        effect_speed        : 400,       // drop down show speed in milliseconds
        sibling             : true,      // hide the others showing drop downs if this option true. this option works on if the trigger option is "click". options (true) or (false)
        outside_click_close : true,      // hide the showing drop downs when user click outside the menu. this option works if the trigger option is "click". options (true) or (false)
        top_fixed           : false,     // fixed the menu top of the screen. options (true) or (false)
        sticky_header       : true,     // menu fixed on top when scroll down down. options (true) or (false)
        sticky_header_height: 200,       // sticky header height top of the screen. activate sticky header when meet the height. option change the height in px value.
        menu_position       : 'horizontal',    // change the menu position. options (horizontal), (vertical-left) or (vertical-right)
        full_width          : true,            // make menu full width. options (true) or (false)
        // MOBILE MODE SETTINGS
        mobile_settings     : {
            collapse            : false, // collapse the menu on click. options (true) or (false)
            sibling             : true,  // hide the others showing drop downs when click on current drop down. options (true) or (false)
            scrollBar           : true,  // enable the scroll bar. options (true) or (false)
            scrollBar_height    : 400,   // scroll bar height in px value. this option works if the scrollBar option true.
            top_fixed           : false, // fixed menu top of the screen. options (true) or (false)
            sticky_header       : false, // menu fixed on top when scroll down down. options (true) or (false)
            sticky_header_height: 200    // sticky header height top of the screen. activate sticky header when meet the height. option change the height in px value.
        }
    };
    // extend function
    $.fn.megaMenu = function (settings) {
        settings = $.extend({}, defaultSettings, settings || {});
        return this.each(function () {
            // variables
            var $this = $(this),
                $ul = 'ul',
                $li = 'li',
                $a = 'a',
                mobile_trigger_button = '.menu-mobile-collapse-trigger',
                mobile_dropDown_trigger = '.mobileTriggerButton',
                desktop_dropDown_trigger = '.desktopTriggerButton',
                activeClass = 'active',
                activeTrigger = 'activeTrigger',
                activeTriggerMobile = 'activeTriggerMobile',
                dropDown = '.drop-down-multilevel, .drop-down, .drop-down-tab-bar',
                desktopTopFixed = 'desktopTopFixed',
                mobileTopFixed = 'mobileTopFixed',
                fullWidth = 'menuFullWidth',
                contact_form = $this.find('.menu-contact-form'),
                contact_form_notification = contact_form.find('.nav_form_notification'),
                Canvas;
            // Main Object box-shadow: 0 0 20px rgba(0,0,0,.3);
            // call functions

        });
    };
    /*global $, jQuery, document*/
})(jQuery);

 

이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
전체 59,953
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT