PDA

Click to See Complete Forum and Search --> : How to hide Objects


sashabinkie
Jan 29th, 2001, 11:30 AM
I have an asp program that fills div tags with information from an access database via an ado recordset. One object is hidden and reveals job info when the div is clicked I used:
*****
<div ID= "job<%=id%>" class = "job">
<%= proj %><br>
<%= jobno%><br>
<%= tele%><br><br>
<%= info%>
</div>
*****
how can I write the code to use the same absolute position on the page and hide object and then refresh with the new info from a different div tag???

Bill Crawley
Jan 31st, 2001, 07:33 AM
I've not tried this with ASP, but there's no reason why it shouldn't work. store the details in a property page.

Jan 31st, 2001, 08:12 AM
Bill thanks for the post I didn't know how to accomplish this so I just simply set the zIndex to imcrement every time one of the satelite div tags gets clicked. so the info is still there just buried by one more background and one more output. Probably real sloppy on memory and resource but how can you write code that will hide the previous display and then display the current job info???