Jquery Scroll One pixel from where ever the user is on screen

mm996070

New Member
okay heres the scenario. I have a one page website with may sections using anchor links. Whe the user is on a secondary layout (page) and when they click on to go to a section on the main page again, for some reason the graphics dont load properly until a scroll happens. All I want to do is whenever the main layout is loaded, no matter which anchor it loads to, simply scroll the page up or down by 1 pixel.\[code\] $.scrollTo({ top: '+=100px', left: '+=0px' }, 800);\[/code\]I tried the above, but this code simply takes the user 100 pixels from the top. I don't want that to happen, i.e. not from the top but from where ever the user is on screen.
 
Back
Top