Hi There,
I need help badly on the div tags. I dont have much knowledge on div tags
I have a div tag in my code and it should be show when there is an inactivity. Its working fine, until today I found a bug.
When I scroll my browser to the end, the div is still shown at the upper part of the browser.
Unless i scroll up (as a programmer, I know that div will be showing up but ofcourse user will not know) I dont know whether the div is shown.
Whether the user scrolls up or down, he should be viewing the alert which I show him.
How can I solve this?
My Div tag code:
<div onload="blurAll();" id="userMessage" style="position: absolute; background-color:ButtonFace; z-index: 1; display: block; top: 307px; left: 304px;
visibility:hidden; border: 3px solid blue; width: 383px;">
<table style="width: 388px; height: auto; background-color:Blue;">
<thead align="left" title="Registration - Warning">
<tr>
<td style="color:White;">Registration - Warning
</td>
</tr>
</thead>
</table>
<table style="width: 388px; height: auto; background-color:ButtonFace;">
<tr> <td><img src="triangle.jpg"id="img" alt="warning" /></td>
<td>
You are inactive for sometime. Your session will expire in 5 min.<br />
Do you wish to extend?
</td>
</tr>
<tr><td></td><td align="center">
<asp:Button CssClass="groupButton" ID="btnStillHere" OnClientClick="doRefresh()" Text="OK" runat="server" Width="60px" />
<input type="button" class="groupButton" id="btnDoNothing" onclick="hideUserMessage()" value= "Cancel" runat="server" />
</td> </tr>
</table>
</div>
Thanks so much in advance.
Regards