On/off button
Hi,
I really need help on this:
I am trying to create an on/off button for my chat,
So people can disable the chat because, honestly, the chat can be annoying.
So i thought to make an extra registration field,
So i can show or hide the chat using the if command
But how can i with a link change a command?
extra explanation:
I want to display "show chat / hide chat" at the top of my page (layout.tpl)
And if people press hidechat i want extrafield3 to turn into N
and if people press show chat, i want extrafield3 to turn into Y.
Is this possible without reload.
(if its possible but it requires a experienced scripter and you are able to do it, please pm me with a quote)
|