I hope someone can help me in my query (designer by nature, <novice coder).
The page I am building will have roughly 30 buttons. Every button needs to show/hide a text box with the button’s description. On the same token, whilst one description is showing, the others cannot show to hide this one (or if they do, if I tap on one of the hidden ones they need to come to the top).
I’ve been searching on the internet and through the hype forums and cannot find a guide to do this.
if i understand correct - you can create a textfield. on buttonClick you can change the innerHTML of this textbox. so everytime only the text for the clicked button is shown. you can do this by using javascript or even timelines only
The code you provided has worked great, but I was wondering if you can help with a small tweak.
Instead of innerHtml show/hide how can I change this to show/hide a shape?
I was thinking of having a list of 20-25 items on the right of a large image and tapping on an item on the list will highlight it on the image to the left.
I wouldn't use this exact method to do what you ask
If you can offer more (or build a doc with the components) then it would be easier to see exactly what you need to do. What are the items on the list? and what does "highlight" mean in this context?
The plan is to have an image on the left half of the screen. A map.
On the right half I would have a list of buttons.
When the user taps on a button from the list, the corresponding location on the map is highlighted.
I was planning on having a hidden rectangle overlaid on those locations so when the user taps the button on the list, the rectangle will appear on top of the location highlighting it at 50% opacity.
Sorry it’s hard to describe things when a 1 yr old and 3yr old are fighting .
No Worries. Having more information means the code may or may not have to change and it would be more specific to whatever the problem that needs to be solved. And also whether or not you need code.