Hi,
I've recently designed a website using Laytheme under a .net domain, then swapped the domain with a .com once I finished to site so my client would have no downtime.
Furthermore, I did not want to use Laytheme's menu system so I've built a custom "menu" in the gridder and used it as a footer, then had someone write some custom CSS/JQuery to force the footer to act as a header, therefore acting as a menu. This was suggested by Marius (in his defense as a "dirty" solution...) and it works great on my machines (desktop/phone), but the menu seems to disappear on my client's Firefox browser.
Here is the code:
<script>
window.laytheme.on("newpage", function (layoutObj, type, obj) {
if (type == 'page') {
if (obj.slug == 'home' || obj.slug == 'contact' obj.slug == 'paintings' obj.slug == 'drawings' obj.slug == 'monoprints' obj.slug == 'about')
{
jQuery('#intro-region').before(jQuery('#footer-region'));
}
}
});
</script>
I've also tried the same code without the if (type == 'page') {...
Any idea what's happening? Thank you!