WordPress.org

Support

Support » Plugins and Hacks » Blubrry PowerPress Podcasting plugin » [Resolved] breaks jQuery UI Accordion

[Resolved] breaks jQuery UI Accordion

  • Hi,

    The recent version of powerpress breaks jquery accordion. Here is how I’m calling it – and it’s not working.

    <!-- jquery UI -->
      <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>  
    
      <!-- jquery Accordion -->
      <script>
      $(function() {
        $( "#sermon-accordion" ).accordion({
        	active: false,
        	collapsible: true,
        	header: ".accordion-header",
        	heightStyle: "content",
        	icons: { "header": "ui-icon-plusthick", "activeHeader": "ui-icon-minusthick" }
        	});
      });
      $(function() {
        $( "#series-accordion" ).accordion({
        	active: false,
        	collapsible: true,
        	header: ".accordion-header",
        	heightStyle: "content",
        	icons: { "header": "ui-icon-plusthick", "activeHeader": "ui-icon-minusthick" }
        	});
      });
      </script>

    http://wordpress.org/plugins/powerpress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • it throws an error: Uncaught TypeError: Object [object Object] has no method 'accordion

    Should have put that in the above post.

    Update – it seems that the jQuery accordion now must be in the header (rather than footer) of your document. Any ideas why this is?

    Plugin Author Angelo Mandato

    @amandato

    You are hard coding a specific version of jqueryui, 1.10.3. You should be including the version distributed in WordPress. My guess (because I helped someone else with this same problem last week on the blubrry forums) is that when you include it in the header, your version initially works because WordPress did not include the 10.1.2 version it is bundled with. Later in the page WordPress includes their version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] breaks jQuery UI Accordion’ is closed to new replies.
Skip to toolbar