I've spent some time trying to figure out how to modify the jFlow
plugin so that I can load new pages via ajax and have them slide as
well without any luck. It would be great if someone could point me in
the right direction or to another plugin that might do something
similar already. I like this one because it's really lightweight.

jFlow: http://www.gimiti.com/kltan/wordpress/?p=46

This is the html required for it to work:

    <div id="controller" class="hidden">
        <span class="jFlowControl"></span>
        <span class="jFlowControl"></span>
        <span class="jFlowControl"></span>
    </div>

    <div id="slider">
        <div class="content">1</div>
        <div class="content">2</div>
         <div class="content">3</div>
   </div>

Then the plugin is called as:

                        jQuery("div#controller").jFlow({
                            slides: "#slides",
                            width: "400px",
                            height: "313px"
                        });

I know how to add a new span and a new div to the controller and
slider elements via ajax, but the plugin cannot be called again, an
addSlide function needs to be added so that new pages can be added
dynamically. Unfortunately I don't understand enough about what the
code is doing to create a new function that adds the new pages to the
slider.

Any pointers would be greatly appreciated.

Thanks.

Reply via email to