Hi guys,
I am relatively new to web design and need some help!
I have a page called index.asp which contains a left hand navigation bar and a series of layers that stack onto each other (i.e. share the same co-ordinates). The navigation bar contains the following hyperlinks;
Add User
Delete User
Edit User
Depending on which link the user clicks depends on the layer shown in the centre of the page. For example, if the user clicks on Add User then a layer called addUser will be shown containing a form where the user will be required to add their details. The action property of the form calls another page called add_user.asp which adds the new user to the recordset and database. add_user.asp then redirects the user (response.redirect “index.asp”) back to index.asp with the addUser layer visible so that another user can be added. This is easy enough if I set the z-order of the layers to the following;
addUser = 1
editUser = 2
deleteUser = 3
However, by doing this the addUser layer will be shown each time index.asp is loaded which is not desirable!
For example, if I clicked the hyperlink ‘Delete User’ from the navigation bar the deleteUser layer would be displayed in the centre of the page which contains a table listing all the users. The user names are hyperlinked to another page called delete_user.asp which makes the necessary changes to the recordset and redirects the user back to index.asp. Here is where i am stuck – ideally the user would be redirected with the deleteUser layer displayed, but the z-order is such that the addUser layer will always be displayed when index.asp loads.
Is there a way I could redirect the user to index.asp and specify the z-order (or visibility) of the layers??
Sorry for the essay!!!