A bunch of changes to kick off remaking the website.
This commit is contained in:
@@ -23,16 +23,39 @@ $(document).ready(function($) {
|
||||
{cls: 'full', fadeIn: null, fadeOut: null}
|
||||
];
|
||||
layoutManager.viewMetadataDefaults = {classes: 'full'};
|
||||
// layoutManager.viewMetadata = {
|
||||
// weddings: {
|
||||
// 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'})"
|
||||
// }
|
||||
// };
|
||||
|
||||
layoutManager.viewMetadata = {
|
||||
weddings: {
|
||||
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')"
|
||||
// },
|
||||
farm: {
|
||||
load: "$('#submenu-home').removeClass('hidden')",
|
||||
unload: "$('#submenu-home').addClass('hidden')"
|
||||
},
|
||||
home: {
|
||||
load: "$('#head').addClass('tall')",
|
||||
unload: "$('#head').removeClass('tall')"
|
||||
//load: "$('#head, #links').css({display: 'none'})",
|
||||
//unload: "$('#head, #links').css({display: 'block'})"
|
||||
food: {
|
||||
load: "$('#submenu-food').removeClass('hidden')",
|
||||
unload: "$('#submenu-food').addClass('hidden')"
|
||||
},
|
||||
canned: {
|
||||
load: "$('#submenu-food').removeClass('hidden')",
|
||||
unload: "$('#submenu-food').addClass('hidden')"
|
||||
},
|
||||
produce: {
|
||||
load: "$('#submenu-food').removeClass('hidden')",
|
||||
unload: "$('#submenu-food').addClass('hidden')"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user