views:

123

answers:

1

Is it possible to get the window.scrollY property in Javascript on the Palm Pre? Doesn't seem to be but maybe there is a secret Palm-ish way?

I've tried:

var y = window.scrollY;
var y = jQuery(window).scrollTop();

Neither seem to work. Anyone know the answer?

A: 

Unfortunatly, Palm does not care a lot about javascript standards... No API documentation is available and as far as I remember controlling scroll on Palm handsets is not possible.

I can't get UAProf but more informations can be found here if you wan't.

OcuS
Yes I don't want to set the scrollY I want to read it. Should return -1 if it can't provide it, not 0 since 0 is a valid value.
Genericrich