Hi all;
i want to insert a a div tag inside the javascript (in order to : xmlhttpreuest object status is not 4 then a messaga saying Loading..............) as well as I want to put that message center of the page but should not change if the scroll bar dragged.so I would be thankfull if anyone can give me a help '

i have inserted the div element with DOM functions but I want to keep it in a fix location with out moving when the browser scrollers are using

use onScroll function in body:
use onScroll like this:
<body onScroll="alert('scrolling');">
</body>

on this event reset the left and top property of div element.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.