In Ubiquity, use CmdUtils.getWindow() to access the current tab's window object.
So: CmdUtils.getWindow().pageXOffset - Blair On 7/07/09 3:34 AM, Yann Lossouarn wrote: > Hello, > > I continue playing with jQuery & Ubiq, and have some difficulties to > find the way to read value of the pageXOffset and pageYOffset properties > that are usually accessible through window object. How can I read these > values when running inside Ubiquity ? > > Bye, > Yann > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ubiquity-firefox" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ubiquity-firefox?hl=en -~----------~----~----~----~------~----~------~--~---
