siva7170
TechnoSparks Thanks bro for your helping mind. By the way, i found that solution.
<script>
$(window).load(function(){
var wsddl=$(".ws_css_header_dropdown_icon").offset().left;
var wsddl1=wsddl-$(window).scrollLeft();
var wsddt=$(".ws_css_header_dropdown_icon").offset().top;
var wsddt1=wsddt-$(window).scrollTop();
alert("L:"+wsddl1+" ; T:"+wsddt1);
});
</script>
Copy code
we have used css for positioning (margin) of the the specific element. But, I needed script to show the distance of both side(top, left) of specific element from the browser window. Because, currently i'm working on one project. So, i need it. now, i got it by simple calculations.
Anyway, thank you bro.