test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Luna Garden Moderator
    #961879

    Hi,

    Please check if motool JS Library is called on your site, if not, try to call it.

    If Motool is called, then do as bellow: Try to replace $( to document.id( in above code

        function jaMagicSelect(controller, lid) {
            controller = document.id(controller);
            if(controller.hasClass('opened')) {
                controller.removeClass('opened');
                controller.addClass('closed');
                document.id(lid).setStyle('display', 'none');
            } else {
                controller.removeClass('closed');
                controller.addClass('opened');
                document.id(lid).setStyle('display', 'block');
            }
        }
        function jaMagicSelectClose(controller, lid) {
            controller = document.id(controller);
            controllerparent = document.id(lid).getParent().getElement('.select');
            if(controllerparent.hasClass('opened')) {
                controllerparent.removeClass('opened');
                controllerparent.addClass('closed');
            } else {
                controllerparent.removeClass('closed');
                controllerparent.addClass('opened');
            }
            document.id(lid).setStyle('display', 'none'); 
        }

    And change for other JS code if you still get the same error message on JA K2 Filter.

    attex Friend
    #961907

    Why i can’t see your reply-post?

    attex Friend
    #961970

    Thanks for your answer.
    Problem solved with mootools

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  attex 8 years, 3 months ago.

The topic ‘Problem with tags and magic select.’ is closed to new replies.