ThemeShaper Forums » Thematic

[closed]

JQuery UI Accordion implementation

(3 posts)
  • Started 9 years ago by tdzl
  • Latest reply from tdzl
  • This topic is not resolved
  1. I attempted to setup the standard jQuery UI accordion found here.

    I added a function to add the jquery_ui .js file:

    function accordion() {
    echo "<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js?ver=1.7.2'></script>";
    ?>
    <?php
    }
    add_action('wp_head','accordion');

    Then, I had my child-theme stylesheet import the jquery_ui style sheet:

    @import url(css/ui-lightness/jquery-ui-1.8rc3.custom.css);

    Then attempted to use the standard code example in the link above, but no luck.

    I feel like there's something stupid I'm missing, any suggestions?

    My implementation (or lack thereof) can be found here:
    http://isys954.com/test/faq/

    Posted 9 years ago #
  2. Anyone? Sorry to be a pain, but this is driving me insane.

    I've called up my custom jquery-ui-1.7.2.custom.min.js (which includes the kitchen sink, just in case), I've called up my accordion.js, and I've I've imported the necessary .css styles.

    Can't figure out for the life of me what's going on here.

    Posted 9 years ago #
  3. Status update: I gave up on this temporarily, so the link to my testing site won't reflect my failed efforts. If anyone has any thoughts on this, please let me know. Thanks...

    Posted 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.