Thread:Project:Support desk/Creating complex set of functions that can clicked

I would like to know how the following can be done: => change of colour => change of status of a variable => reload of the page
 * click on a link or button

All through one click of a button or on a link. It would be convenient to have something like this.