Best Online Calendar


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:

How to fix the Upcoming Events list to remember scroll position on refresh of Internet Explorer browser

Article ID: 57
Last updated: 18 Feb, 2013

Internet Explorer has a known bug that causes the Upcoming Event list to scroll back to the top of the list when the web page is refreshed.  You can insert the following javascript into your web page containing the Upcoming Event list to remedy this problem.

Place the following script at the bottom of your web page containing the Upcoming Events list:

window.onload = function(){
 document.getElementById("cwucelist").onscroll = SetDivPosition;
 var strCook = document.cookie;
  var intStart = strCook.indexOf("!~");
  var intEnd = strCook.indexOf("~!");
        var strVerticalScrollValue = strCook.substring(intStart+2,intEnd);
        document.getElementById("cwucelist").scrollTop = strVerticalScrollValue;
  var intStart = strCook.indexOf("!#");
  var intEnd = strCook.indexOf("#!");
        var strHorizontalScrollValue = strCook.substring(intStart+2,intEnd);
  document.getElementById("cwucelist").scrollLeft = strHorizontalScrollValue;
function SetDivPosition(){
        var intY = document.getElementById("cwucelist").scrollTop;
        var intX = document.getElementById("cwucelist").scrollLeft;
        document.cookie = "yPos=!~" + intY + "~!";
        document.cookie = "xPos=!#" + intX + "#!";

Others in this category
document How do I embed the calendar into a web page?
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 private calendar
document Can search engines like Google find my calendar?
document How to link back to a website?
document Share a calendar link that displays a specific category or 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 Add an Upcoming Events List into my WordPress Blog?
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 Fix Upcoming Events List Causing Webpage To Scroll Down
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 Blog
document Link a 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
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 Mini Calendar: Add Color to Days With Events
document Add CalendarWiz to Your Wild Apricot Website
document Add CalendarWiz to GoDaddy Website