Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    •  
      CommentAuthorjunqed
     

    When I write this

    <span onclick="<?=$scriptaculous_helper->visual_effect("slide", "categories")?>">Toggle</span>
    

    on page I see next

    <span onclick="Effect.toggle("categories",'slide');">Toggle</span>
    

    Is it write?

    • CommentAuthorsuthern
     

    Here's what I put:

    <?php echo $all_helper->toggle_id("altlink","p_transfers","blind","Transfers","a",0.2) ?>
    

    to get this:

    <a class="altlink" onclick="new Effect.toggle(document.getElementById('p_transfers'),'blind', { duration: 0.2} )">Transfers</a>