Toggle is actually an update of the ShowHide plugin. I suggest users of ShowHide to change over to use Toggle.
I added some new features: Use of images instead of toggle link text: Your toggle can now not only be a text link or a button, but a clickable image link. Using different images for show= and hide= will toggle between these when clicking them. Toggle shortcut markup: [(toggle hide abc button)] is the same as using [(toggle id=abc init=hide button=1)] [(toggle abc def)] same as [(toggle id=abc id2=def)] Markup changes: Apart from changing markup from [(showhide ...)] to [(toggle ..)] I changed type=button to button=1 (or simply use 'button' as parameter) See http://www.boltwire.com/index.php?p=solutions.javascript.toggle Dan - I suggest to delete the Showhide page on boltwire and go with the Toggle page instead. I also have a special request: could you look at the toggle.php code section: if (is_array($args[''])) { ... } For evaluating keyless parameters i used array $args['']. I made it possible that such parameters can be in any order. Now i wonder how your proposed change of the args function will affect this. will it still be possible to make such an evaluation and not insist on a particualar order of parameters given? So users can write equally [(toggle hide abc button)] and [(toggle button abc hide)] ? Basically I use 'hide' show' and 'button' as special words, and any other would be an object id. Cheers, ~Hans --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" 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/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
