# Button navigation "left" / "right" similarly to swipe left / right?

**URL:** <https://discourse.nodered.org/t/button-navigation-left-right-similarly-to-swipe-left-right/49284>\
**Category:** Dashboard\
**Created:** [3 August 2021 20:27 UTC](https://discourse.nodered.org/t/button-navigation-left-right-similarly-to-swipe-left-right/49284 "2021-08-03T20:27:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![steirx](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steirx/32/56722_2.png) [@steirx](https://discourse.nodered.org/u/steirx)\
**Post date:** [3 August 2021 20:27 UTC](https://discourse.nodered.org/t/button-navigation-left-right-similarly-to-swipe-left-right/49284/1 "2021-08-03T20:27:09Z")

</div>

hi there,  
I need a tip on how to use buttons (e.g. in the toolbar) to navigate "left" or "right", similarly to what would happen on a touchscreen when swiping left and right.  
Is there a readily built function (e.g with the ui\_control node) or other code I can use?  
My homebrewed version is falling down on a number of fronts, including temporarily hidden tabs ...  
I had created the "\<" and "\>" buttons on both sides of the "home" button:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/d/cd7406007f996d4cf53186e0fb5b24ab331f11da.png)  
Any points would be highly appreciated!  
Thanks!

---

<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:** [3 August 2021 20:29 UTC](https://discourse.nodered.org/t/button-navigation-left-right-similarly-to-swipe-left-right/49284/2 "2021-08-03T20:29:50Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/3/330c6d9f9ead7af569116fe7a65fb9ef8d43eaad.png)

---

<div class="post-metadata">

**Author:** ![steirx](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steirx/32/56722_2.png) [@steirx](https://discourse.nodered.org/u/steirx)\
**Post date:** [3 August 2021 21:30 UTC](https://discourse.nodered.org/t/button-navigation-left-right-similarly-to-swipe-left-right/49284/3 "2021-08-03T21:30:28Z")

</div>

I did not see that! Can't believe it's that simple!  
Many thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 September 2021 21:30 UTC](https://discourse.nodered.org/t/button-navigation-left-right-similarly-to-swipe-left-right/49284/4 "2021-09-02T21:30:59Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
