www.webdeveloper.com
Results 1 to 2 of 2

Thread: spry menu problem

  1. #1
    Join Date
    Apr 2011
    Posts
    8

    spry menu problem

    Hello to everyone,
    I had recently built up a website (http://www.olivagreca.com) and I have a problem with spry content presentation. In the following pages: http://www.olivagreca.com/Olive_Oil.html and http://www.olivagreca.com/Olives.html I have organized the text content with spry menus. I have set the css property of the content to auto in order the larger text to be “scrollable” with the help of scroll bars. The problem is that if someone is scrolling the text content of any tab and leave the “content scrolling” at the middle when she/he try to view the text content of other tab the scroll bar isn’t at the top (the place that I want to be), but it is at the place that it was at the preview scrolling-tab. How can I set the scroll bar at the top of content by default? Any help will be welcome.

  2. #2
    Join Date
    Apr 2009
    Posts
    96
    tried this?
    Code:
    document.getElementById("text").scrollTop = 0;

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles