ESP32 Web Server Paging PROBLEM
Posted: Tue Jun 27, 2023 12:59 am
I have a ESP32 running a Web Server controlled by an IPAD.
On the IPAD I have a list of 500 hyperlinks in a column
example item name 1 is associated with 192.168.1.100/1
item name 2 is associated with 192.168.1.100/2 etc.
Each page displays 50 item names. When I select an item name the server refreshes the list
starting with item name 1.
Is there a way that if I select item name 225 that when the server refreshes the page
it jumps to page 5, not to the beginning of the list?
It's easy to calculate the page by using the ip address returned back to the server 192.168.1.100/????, but how do I get the server program to automatically scroll down to page 5.
I'm looking for a simple solution without having to completely rewrite my code.
On the IPAD I have a list of 500 hyperlinks in a column
example item name 1 is associated with 192.168.1.100/1
item name 2 is associated with 192.168.1.100/2 etc.
Each page displays 50 item names. When I select an item name the server refreshes the list
starting with item name 1.
Is there a way that if I select item name 225 that when the server refreshes the page
it jumps to page 5, not to the beginning of the list?
It's easy to calculate the page by using the ip address returned back to the server 192.168.1.100/????, but how do I get the server program to automatically scroll down to page 5.
I'm looking for a simple solution without having to completely rewrite my code.