You may want to load the greybox window and then run a function triggered on a 
body onload.
 
i.e.
 
<body onload="scrollTo();">
 
function scrollTo() {
window.scroll(0,x);
}

or you could detect the vertical offset based on the location of an element on 
the page and then scroll to it.
 
var foo = document.getElementById(element).offsetTop
window.scroll(0,foo);

--- On Mon, 4/13/09, godmonkey <[email protected]> wrote:

From: godmonkey <[email protected]>
Subject: Re: Page hops when Greybox opens to an anchor
To: "GreyBox" <[email protected]>
Date: Monday, April 13, 2009, 1:43 PM

Anyone? Help? This shift isn't a deal-breaker but it's kind of
annoying and looks unprofessional. Would appreciate input. Thanks.




      
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GreyBox" 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/greybox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to