localendar Forums Homepage


Print at Jul 30, 2025, 10:54:21 AM

Posted by support at Feb 18, 2015, 8:32:29 PM
Re: Auto return to top of Localendar
An interesting question. For the iFrame, if a visitor has scrolled down and then clicks on the nav menu, they would have to scroll up. The iframe is more or less isolated from the rest of the page, so it can't communicate with its "container" (this is considered a security feature of the web; you wouldn't want iFrame content manipulating the container page)

With the fully interactive calendar, including some javascript in your title or footer might make it possible to tell the browser to scroll back to the top. I am thinking something like this:

<script>window.scrollTo(0,0);</script>

----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news

Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us