ok need help. i looked into this but i can't figure it out. i am trying
to do a simple slide up/down with the same button. i don't know where
or what to do with this code.

var folded = new Object();
function slide(el)
{
    if(folded[el] == 1) {
        Effect.SlideUp(el);
        folded[el] = 0;
    } else {
        Effect.SlideDown(el);
        folded[el] = 1;
    }
}

 i don't like the fact that it doesn't go up when i want it to. do i
have to delete something too. i have the basic script files.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to