Forums

My theme is killing WP-dTree (4 posts)

  1. ChuckRock
    Member
    Posted 11 months ago #

    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>

  2. ulfben
    Member
    Posted 11 months ago #

    Sorry, I can't help you. And you need to post a link if you want anyone else to take a stab at it.

  3. ChuckRock
    Member
    Posted 11 months ago #

    WP-dTree is still a very nice addition to my blogs. I did have the website address it just was not a link.

    myfiero.oceanmoon.com

    Thanks
    Chuck

  4. Gyroscopic
    Member
    Posted 6 months ago #

    how did you resolve this?

Reply

You must log in to post.

About this Topic