Click here to Skip to main content
15,886,664 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
dear sir,



Can I keep a DIV always on the screen, but not always in a fixed position?
Posted

Try following:
Floating DIV jQuery Plugin

[UPDATED]
HERE
 
Share this answer
 
v2
Comments
Gnanavel Rng 26-Dec-11 0:23am    
Thanks. and how set the div or panel with in one particular div
you can use absolute position of div, that will rotate according to the screen :

XML
<div id="dvUpdateProgress" style="left: 44%; float: none;
                top: 27%; z-index: 1; position: fixed;">
                <table class="noborder">
                    <tr>
                        <td align="center">
                            Please Wait...
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <img src="../Images/loadingsmall.gif" alt="X" title="Please Wait" />
                        </td>
                    </tr>
                </table>
            </div>

for more in detail follow this :
How To Make Floating and Dimming a Div using JavaScript[^]
Hope this will help you.
Dont forget to mark as answer if it helps. :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900