I have one table that gets displayed every time a page is refreshed and another two tables below that. I have a + graphic in the first table that allows the user to expand and display the bottom two tables that are wrapped with <DIV> tags. I have an anchor tag wrapped around the image that calls a JS function that basically toggles the display off/on.
So far, the page works well with two exceptions:
1) I want to swap the + image for a - whenever the user clicks on it. Ideally I could build this into my ToggleDisplay function that hides the bottom two tables.
2) When you load or refresh the page, it automatically displays all 3 tables when in reality I want to show just the first one and then have the user determine if the extra tables should be displayed.
Any input is much appreciated.
So far, the page works well with two exceptions:
1) I want to swap the + image for a - whenever the user clicks on it. Ideally I could build this into my ToggleDisplay function that hides the bottom two tables.
2) When you load or refresh the page, it automatically displays all 3 tables when in reality I want to show just the first one and then have the user determine if the extra tables should be displayed.
Any input is much appreciated.