• I don’t know if can or will be able to help me. I am using your WP-dTree on my blog at myfiero.oceanmoon.com. But I am having an issue with the theme I am using and WP-dTree sciptaculous effects. The theme uses a .js file to control the viewing of post. Normally each post is presented with just the title and a click image and when you click the title or image the post opens. When sciptaculous effects are turned on it kills what the themes post list effect and just shows all the posts open.

    I’ve tried to change the load order in the theme, but then the WP-dTree gets killed. It seems to be a function in the java script, but I am NOT a java developer and the accordion.js file that came with the theme is not easy to read. I was wondering if you could take a look and see what I can do to fix this.

    I have attached a copy of the accordion.js file and here’s a snippet from the theme:

    <script type=”text/javascript” src=”<?php bloginfo(‘stylesheet_directory’);?>/accordion.js”></script>

    <script type=”text/javascript”>

    function sliderinit() {
    var ht = $S(‘htmlcode’);
    var jsSlider = new Fx.Slide(‘jscode’, {
    duration: 700,
    onComplete: function(){
    if (this.now[0] > 0) this.wrapper.setStyle(‘height’, ”);
    }
    });
    jsSlider.hide();
    htmlSlider.hide();
    $(‘showjs’).addEvent(‘click’, function(){jsSlider.toggle();});
    }
    function accordioninit(){
    var trig = $S(‘.trigger’);
    var box = $S(‘.cover’);
    var ac = new fx.Accordion(trig, box, {‘alwaysHide’ : true, ‘start’: ‘all-closed’});
    }
    Window.onDomReady(function(){
    accordioninit();
    sliderinit() ;
    });

    </script>

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘My theme is killing WP-dTree’ is closed to new replies.