Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #497580

    Hi

    This function is great

    add_action( ‘ava_after_main_menu’, ‘enfold_customization_header_widget_area’ );
    function enfold_customization_header_widget_area() {
    dynamic_sidebar( ‘header’ );
    }

    And I then create a widget called header.

    My only issue is the code gets placed within the header tags. But not within head tag… this causes issues for me as this code

    <style>
    #draggable { width: 150px; height: 150px; padding: 0.5em; }
    </style>
    <script>
    $(function() {
    $( “#draggable” ).draggable();
    });
    </script>

    Must be placed within the actual head tags of my page. I am following this example

    http://jqueryui.com/draggable/

    And attempting to recreate it on this test page
    http://217.199.187.198/beachhousetwo.co.uk/testdrag/

    #497636

    okay if you go to the test drag its actually been resolved as ive got the code in the head tags

    still how ever the jquery is failing is this an enfold issue?

    #497663

    Hey!

    Can you please try changing your code to following one

    <style>
    #draggable { width: 150px; height: 150px; padding: 0.5em; }
    </style>
    <script>
    jQuery(function() {
    jQuery( “#draggable” ).draggable();
    });
    </script>

    and check if that helps?

    Regards,
    Yigit

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.