# Dashboard buttons easy colour state change?

**URL:** <https://discourse.nodered.org/t/dashboard-buttons-easy-colour-state-change/36645>\
**Category:** Dashboard\
**Created:** [27 November 2020 19:51 UTC](https://discourse.nodered.org/t/dashboard-buttons-easy-colour-state-change/36645 "2020-11-27T19:51:46Z")\
**Posts on this page:** 1\
**Showing post:** 49

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [1 December 2020 18:03 UTC](https://discourse.nodered.org/t/dashboard-buttons-easy-colour-state-change/36645/49 "2020-12-01T18:03:48Z")

</div>

Just make one ui\_template per tab (cant be in site head) _or abuse one if you have_  
Fill with that

```auto
<script>
$('button').click(function() {
  window.navigator.vibrate([80])
})
</script>

```

And all buttons will vibrate.

---

_[View the full topic](https://discourse.nodered.org/t/dashboard-buttons-easy-colour-state-change/36645)._
