* siva7170 hello guys, i want one help from you. i mentioned my help on this attachment. But, one condition: the value must be same while scrolling of page.
2014-05-19 05:54
*
* testing.JPG · image/jpeg · 101.75KB
· (0)
* TechnoSparks * siva7170 I am really sorry but I cannot understand.
Do you want to set custom box position, or what? :/
2014-05-19 06:22 · (0)
* 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.
2014-05-19 07:23 · (0)
* TechnoSparks * siva7170 Okay then :) Goodluck with your project!
2014-05-19 07:41 · (1)
* siva7170 * TechnoSparks Thank you bro.
2014-05-19 08:55 · (0)

Online: Guests: 1