Calendar won't load in web page -...

User 2569839 Photo


Registered User
19 posts

Hello. I have uploaded all the correct files to the correct location, inserted the code in the page, and when i view the page, I get "Error, content did not load." I am using Microsoft Expression Web 4.02 SP2.

The calendar page is here:
http://hindsightsportfishing.com.mytemp … edule.html

Thanks in advance! Dave
User 103173 Photo


VP of Software Development
0 posts

You may have something wrong in the markup there David. If I go to http://hindsightsportfishing.com.mytemp … endar.html the calendar does load.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2147626 Photo


Ambassador
2,958 posts

Hi David.

Looks like you got the code in the <body> section just fine.

But I don't see the code in the <head> section.

If you look at the index.html file that is created when you create your calendar, you'll see that there is code in the body and head section.

Double check that you got all the code, and also that you have uploaded all the files including the .js files. This should fix your problem.

Depending on how many scripts run on your page, it may take a few seconds for the calendar to display. Once you have all the code and files in the proper place, it is not uncommon for you to see the statement 'Error, content did not load." for just a second or two before the calendar is displayed.

Let us know how it goes and if you need more help. :cool:
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 2147626 Photo


Ambassador
2,958 posts

So close, yet I'm still so slow! :D
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 2569839 Photo


Registered User
19 posts

Thanks for the response. Below is the code from the page. The correct code is in the head section, as well as in the body.

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

<!-- #BeginTemplate "main.dwt" -->

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />

<!-- #BeginEditable "doctitle" -->
<title>Hindsight Sportfishing Sailing Schedule</title>
<meta content="The 2013 Hindsight Sportfishing sailing schedule. Fishing daily out of Rock Harbor, Orleans, MA" name="description" />
<meta content="Hindsight Sportfishing, hindsight fishing schedule, Rock Harbor, Orleans, MA" name="keywords" />
<style type="text/css">
.auto-style4 {
border-style: none;
border-width: 0px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
color: #FFFFFF;
font-size: small;
}
</style>
<link media="screen" rel="stylesheet" href="calendar/stylesheets/colorbox.css" />
<link media="screen" rel="stylesheet" href="calendar/stylesheets/monthstyles.css" />
<script type="text/javascript" src="calendar/javascript/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="calendar/javascript/jquery.text-overflow.min.js"></script>
<script type="text/javascript" src="calendar/javascript/behavior.js"></script>

<!-- #EndEditable -->

<link rel="stylesheet" type="text/css" href="main.css" />
<style type="text/css">

#footer a:link, a:visited, a:active {
color: #C0C0C0;
text-decoration: underline;
font-size: x-small;
}
#footer a:hover {
color: #800000;
text-decoration: underline;
}
.auto-style4 {
border-width: 0px;
}
.auto-style5 {
margin: 3px;
}
</style>
</head>

<body style="background-color: #666666">
<!-- DO NOT MOVE! The following AllWebMenus linking code section must always be placed right AFTER the BODY tag-->
<!-- ******** BEGIN ALLWEBMENUS CODE FOR menu ******** -->
<script type="text/javascript">var MenuLinkedBy="AllWebMenus [4]",awmMenuName="menu",awmBN="906";</script><script charset="UTF-8" src="menu.js" type="text/javascript"></script><script type="text/javascript">awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR menu ******** -->

<div id="container">
<div id="header">
<img alt="" height="175" src="images/banner_13_2.jpg" width="900" /></div>

<div id="menu">
<span id="awmAnchor-menu"></span>
</div>
<div id="content">
<span class="h1">

<!-- #BeginEditable "Page%20Title" -->
<p>Hindsight Sportfishing Sailing Schedule</p>
<br></br>
<!-- #EndEditable --></span><!-- #BeginEditable "content" --> Below you will find the 2013 Hindsight
Sportfishing sailing schedule. The Hindsight leaves Rock Harbor, in Orleans,
MA on a daily basis. Rock Harbor is located on Cape Cod Bay, and is a tidal
harbor. This means that the schedule is based on the tides of Cape Cod Bay.
Please look at the schedule and pick a day and time that works for you.
Remeber to book early, especially if you are looking to go tuna fishing.<br />
<br />
Click on the 4 or 8 hour trip on the date you are looking for, and a
detailed description will appear.<br />
<br />
<!-- This is where the calendar HTML will be inserted -->
<div id="cc_webcalendar">
<p>Error, content did not load.</p>
</div>

<!-- this loads the calendar -->
<script type="text/javascript">
var maxdate=new Date("10/01/2014");
var mindate=new Date("05/01/2013");
loadTodaysCalendar(mindate,maxdate,"calendar");
</script>

<!-- #EndEditable --></div>
<div id="footer">
<em>Fish hard...fish with the best!</em><br />
Hindsight Sortfishing<br />
Fishing out of Rock Harbor, Orleans, Cape Cod, MA<br />
<br />
<img alt="" height="25" src="images/v_mc.jpg" width="83" class="auto-style4" /><a href="https://www.facebook.com/pages/Hindsight-Sportfishing/216595881686853" target="_blank"><img alt="The Hindsight on Facebook" class="auto-style4" height="25" src="images/facebook.jpg" width="90" /></a><br />
<br />
<span class="auto-style3">&copy; Hindsight Sportfishing 2013</span><br />
<span class="auto-style3">Site design and SEO by</span>
<a href="http://www.offshorepursuits.com">Offshore Pursuits LLC</a><br />
<span class="auto-style3"><a href="hindsight_sitemap.html">Sitemap</a></span><br />
</div>
</div>
</body>

<!-- #EndTemplate -->

</html>
User 2569839 Photo


Registered User
19 posts

I discovered the problem...The code that goes in the head section is different in the calendar.html page than is what is generated when you publish the calendar. There is an extra line of code. I put that in in the calendar shows. Thanks for the help! Dave
User 2147626 Photo


Ambassador
2,958 posts

Glad you got it. Enjoy! :D
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.