Search Result

Collapse
2 results in 0.0014 seconds.
Keywords
Members
Tags
scrollintoview javascript
  •  

  • xevi.matavacas@gmail.com
    Guest started a topic Alternative "scrollIntoView"

    Alternative "scrollIntoView"

    Hi friends,

    I found a problem while "scrolling into view" and to overcome this I
    made a function to simulate javascript's function. I would like to
    share it and here it is:

    function alternativeScro llIntoView(pare ntDiv,elementIn toDiv)
    {
    var principal =parentDiv;
    principal.scrol lTop = 0;
    var rects = principal.getCl ientRects()[0];
    var topFinal = rects.top;
    var bottomFinal...
    See more | Go to post

  • Jim Satterfield
    Guest started a topic scrollIntoView and Firefox

    scrollIntoView and Firefox

    I've looked and looked and can't find any solution or even mention of this
    problem so I'll see if I can find anyone through this group who might have
    an idea. I've inherited the job of webmaster for my company. After
    downloading Firefox 1.5 I started going through the site and found a section
    that didn't work in Firefox but works just fine in IE. Any ideas?

    Here's the code to define the function used:
    ...
    See more | Go to post
Working...