SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 35 of 35
  1. #26
    Reveller
    SitePoint Community Guest
    How could I make a link in the document loaded into the iframe, that would scroll the window to the right (some sort of a "next" link). I triend using top.location.href, but it doesn't work...

    Any suggestions?

  2. #27
    Anonymous
    SitePoint Community Guest
    Doesn't work.

  3. #28
    dmx
    SitePoint Community Guest
    Im curious if it would be possible to make this work from within a flash menu..

  4. #29
    Oliver Sanders
    SitePoint Community Guest
    Would it be possible to do the animation apon the page opening.

  5. #30
    Gizmo
    SitePoint Community Guest
    How about the link host.com/?page=test in opera? it goes back to scrolling like browser default. host.com/?page=test#top does not work.

  6. #31
    Fernando Morais - Brazil
    SitePoint Community Guest
    Hi!

    There is a way to scroll the page horizontaly?

  7. #32
    Kevin M
    SitePoint Community Guest
    I couldn't get the code to work... in Firefox it wouldn't even jump or scroll to my link and on ie it jumps.

  8. #33
    SitePoint Guru
    Join Date
    Sep 2006
    Posts
    731
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Kevin M View Post
    I couldn't get the code to work... in Firefox it wouldn't even jump or scroll to my link and on ie it jumps.
    Then it's probably just an error in your installation. URL?

    This won't be the problem, but anchors should not be empty, i.e.

    <a name='myAnchor'></a>

    otherwise Safari will not report their displacement properly. There should always be at least one non-whitespace character between the tags:

    <a name='myAnchor'>&nbsp;</a>

    I'm not certain that this is technically a bug, but I reported it recently.
    Last edited by Logic Ali; Dec 31, 2007 at 11:13.
    Tab-indentation is a crime against humanity.

  9. #34
    SitePoint Addict
    Join Date
    Oct 2009
    Location
    London, UK
    Posts
    382
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Great article... The code is way over my head by the effect is what I'm looking for and it works great on Opera and Firefox.

    One thing, is there anyway to slow the scroll as the window approaches the div? Rather than scrolling at a constant speed, I'd like the effect to behave more like the movement of a train 'pulling in' and 'out' of a station. Is that possible?

  10. #35
    SitePoint Member
    Join Date
    Sep 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How can I adapt this script to smoothscroll to website sections along the X axes and not the Y?

    The code is brilliant, and worked perfectly when scrolling down the page, but i want to scroll across instead.

    cheers


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
  •