Results 1 to 2 of 2

Thread: YOffset of a DIV

  1. #1
    Join Date
    Aug 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default YOffset of a DIV

    Hi,
    how can I catch the YOffset of a DIV?

    The DIV is called "right", I tried this way but with no luck:

    Code:
    var posY = document.getElementById("right");
    
    function style() {
    if(posY<=100) {
    second();
    }
    }
    any idea?

  2. #2
    Join Date
    Aug 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I found something very interesting and it works!

    Eric's weblog

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •