FEATURE #1525: functional contact form template
This commit is contained in:
@@ -159,21 +159,27 @@
|
||||
$ (document).foundation ();
|
||||
});
|
||||
|
||||
function showResponsiveMenu() {
|
||||
var menuHolder = document.getElementById('responsive-menu');
|
||||
var menuHolder = document.getElementById('responsive-menu');
|
||||
|
||||
function showResponsiveMenu() {
|
||||
menuHolder.style.display="block";
|
||||
menuHolder.style.height = document.documentElement.clientHeight + 'px';
|
||||
menuHolder.style.height = window.innerHeight + 'px';
|
||||
menuHolder.style.height = '100%;';
|
||||
|
||||
}
|
||||
function hideResponsiveMenu() {
|
||||
var menuHolder = document.getElementById('responsive-menu');
|
||||
|
||||
function hideResponsiveMenu() {
|
||||
menuHolder.style.display="none";
|
||||
}
|
||||
|
||||
window.onresize = function() {
|
||||
if(window.innerWidth >= 1023) {
|
||||
menuHolder.style.display="block";
|
||||
menuHolder.style.height = "auto";
|
||||
} else {
|
||||
hideResponsiveMenu();
|
||||
}
|
||||
};
|
||||
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user