my question is simple. I just can"t remember how to implement it.
when you drag a window, the header TITLE displays a numeric value.
when you drag a window, it will change only if it is refreshed. How to keep it changing without refreshing it?
CSS:
div{
position: absolute;
top: 0;
left: 0;
width: 100px;
height: 100px;
}
HTML:
<title></title>
jquery:
var divs= $("div").offset().left;
if(divs > 100){
$(this).attr("title",divs);
}else{
$(this).attr("title",divs);
}