If you put these "pages" in a scrollable component, you can add more of them.
|
so i can add my shops to it jw
i do not own image it this interface
dose anyone know code for this interface
and dose anyone know how to add more pages jw
If you put these "pages" in a scrollable component, you can add more of them.
Are you wanting more components onto the page, or are you asking how to program the 'next' button to display more options over the current interface when clicked
you can re-send the interface and set the text components when u click the next page and handle with boolean or something what the other buttons do
You do it the exact same way any pagination is done in a basic front-end web scenario.
Yeah because you're the only person with a server that has teleportation and shop menu interfaces.. If you did not want to help then don't post. Instead you sit and try to show off your weak ass interface that you got help with from the help section that I could do myself in 5-10 mins server/client sided.
OT: If you still need help with this, let me know i'll help you out.
Really?! That's an unbelievable statement but I won't drift off-topic on you.
Anyhow it's really simple to perform this, simply re-use the fields. You could initialise an integer for a virtual *page* and each time the 'Next Page' component is clicked, simply add it to the initialised page integer.
Then you may use if/switch statements for each page # and adjust what each component Id would do for that specific page. That'd likely be the simplest way of performing this quickly for you.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |