On Apr 4, 1:24 pm, kuldeep <kuldeep.rathor...@gmail.com> wrote:
> hi frds,
> I have div in my code with the help javascript i cover that portion
> black shaded background on loading. but if i scroll my page it wont
> get exect position. it come different place.so any one why this
> happening.


I have no experience with this, but I would give getScrollOffsets a

 window.scrollTo(0, 120);
 //-> { left: 0, top: 120 }

See http://www.prototypejs.org/api/document/viewport/getscrolloffsets.
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to