Cut down the website to bare minimum. Meat & Eggs currently just points to eggs. Need to decide how that should play out.

This commit is contained in:
Wynne Crisman
2020-05-07 15:09:06 -07:00
parent 6e6cbbbcc7
commit 998209817f
18 changed files with 2265 additions and 867 deletions

View File

@@ -18,7 +18,7 @@ $(document).ready(function($) {
var layoutManager = new LayoutManager(contentDiv);
//layoutManager.defaultUrl = '!/holidays';
layoutManager.defaultUrl = '!/farm';
layoutManager.defaultUrl = '!/home';
layoutManager.pageClassFades = [
{cls: 'full', fadeIn: null, fadeOut: null}
];
@@ -28,6 +28,12 @@ $(document).ready(function($) {
load: "element.data('scroller', new ItemScroller($('div.scrollViewport'), 142, scrollerScrollTime, scrollerInitialDelay, scrollerTransitionTime, false));",
unload:"element.data('scroller').release(); element.data('scroller', undefined);"
},
home: {
load: "$('#head').addClass('tall')",
unload: "$('#head').removeClass('tall')"
//load: "$('#head, #links').css({display: 'none'})",
//unload: "$('#head, #links').css({display: 'block'})"
}
};
//Associate a function with the history jquery addon that will load the url content after the history is updated.