Well, I think he's saying that he's writing a bookmarklet that could in
theory be executed on whatever crappy page the user happens to be viewing.
Would have to do some hunting to see how to reliably get this info in quirks
mode.

On Tue, Jun 3, 2008 at 10:56 AM, blechler <[EMAIL PROTECTED]> wrote:

>
> Ensure that you are not in quirks mode!  This means put a doctype
> declaration into your document.  That one was pointed out to me
> previously.
>
> On Jun 3, 11:20 am, Daniel Magliola <[EMAIL PROTECTED]> wrote:
> > Hello everyone,
> >
> > I'm trying to get the height of the page where my script is running.
> > I'm not trying to get the dimensions of the viewport, but the page. If
> > the page is 1000px tall, and the viewport is 600px tall (thus, a
> > scrollbar shows), i want to get "1000" independently of the position
> > of the scroll.
>

-- 
Science answers questions; philosophy questions answers.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to