[Pmwiki-users] If clicked condition

Hans Bracker design
Tue Jan 18 09:15:36 CST 2005


i am musing over the display of nested menus, and i was wondering if
it is possible to create a condition for the if directive which is
true if the link is clicked.
Markup like (:if clicked SomethingHappens:)
This is easy enough in javascript, but how would a link on  a page
know that it belongs to an ifclicked class for instance? or do i have
to hardcode a link into the template which can trigger an 'onclick'
event? Maybe i am looking for an action=javascript handler, maybe i am
just confusing server side and client side scripting, maybe i am
getting deranged...

any ideas?

thanks
 Hans                          




More information about the pmwiki-users mailing list