Jump to content

Scroll posistion in a FRAME


bigfootplc

Recommended Posts

How Do I get scroll posistion for a specific frame on my site.I have a menu like tree structure that is redrawn every time I go down a level and scrolls back to the TOP :) I tried with followingvar Y= document.documentElement.scrollTop var Y = document.body.scrollTop var Y = self.pageYOffset but they always 0Hope somebody can help mee

Link to comment
Share on other sites

can you post your full code for that fuinction...is it executing when the page loads? Cuz if it is at the time of page load the scrollbars position is 0
Urfortunatly that is not posible but the script is loaded when the user preses a link, is there any way that I can check which frame that are "active"?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...