Best Online Calendar

Support

Knowledge Base

Browse knowledge base categories or search with keyword related to your question.

Email Support

Can't find your answer?

Contact Support or Contact Sales
Search:     Advanced search
Browse by category:

Fix Upcoming Events List Causing Webpage To Scroll Down

Article ID: 73
Last updated: 04 Nov, 2013

Internet Explorer version 7 has several bugs that cause the webpage containing Upcoming Events List javascript code to scroll down to the top of the Upcoming Events List if the Upcoming Events List is below the browser window when the page opens.  There are two methods to fix this problem:

Method 1

To fix the problem, change the DOCTYPE  declaration at the top of the webpage to be:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

DOCTYPES known to cause the problem are:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Method 2

Insert the following code at the very bottom of your web page:

<!--[if IE 7]>
<script type="text/javascript">
self.scrollTo(0, 0);
</script>
<![ENDIF]-->

This will reset the scroll of the page to the top. This will only affect Internet Explorer version 7. All other browsers and versions will ignore this as an HTML comment.

 

Others in this category
document How do I embed the calendar into a web page using an iframe?
document How to hide the calendar login button
document Can I embed my calendar into a PowerPoint presentation?
document How to create a desktop shortcut to your calendar?
document Do I need a website in order to use CalendarWiz?
document Create a link that automatically logs into the calendar
document Can search engines like Google find my calendar?
document How to link back to a website?
document Create a direct link that displays a single category or specific combination of categories.
document Add a Mini Calendar to a Web Page
document How to open your calendar automatically when you start your computer?
document RSS Feeds - Offer Automatic Delivery of Calendar Events
document How do I put a link to my calendar in a Microsoft Word document
document Browser RSS icon not showing for framed calendar
document Add an Upcoming Events List into my WordPress Blog?
document How to fix the Upcoming Events list to remember scroll position on refresh of Internet Explorer browser
document Track Visits to Your CalendarWiz Calendar with Google Analytics
document Create more than one Upcoming Events List for a website
document Add a Mini Calendar Plugin to a WordPress Blog
document Create Code to Integrate Your Calendar Into Your Website:
document Link to an email address in your event description:
document Add an Upcoming Events List to your Wix Website
document Add a Mini Calendar or Search Plugin to your Wix Website
document Add CalendarWiz to your Wix Website
document Feed CalendarWiz Events into your WordPress.com Blog
document Link a Wordpress.com Blog to a Full Calendar:
document Add CalendarWiz To Your 1and1 Website - It's Simple!
document Add the Full CalendarWiz Calendar to a 1&1 Webpage
document Is CalendarWiz compatible with Constant Contact?
document Embed CalendarWiz Upcoming Events list into SquareSpace
document Embed Calendar into Websitebuilder.com
document Embed Your Calendar into SquareSpace
document Embed Your Calendar into Weebly
document Embed Your CalendarWiz into WordPress
document Add Your Church Calendar to CloverSites Website
document Responsive Calendar & Upcoming Events List
document Embed CalendarWiz into eCatholic Website
document Embed Your Calendar into Wix
document Squarespace for category specific full calendar
document Mini Calendar: Add Color to Days With Events
document Add CalendarWiz to Your Wild Apricot Website