Forum Replies Created
-
AuthorPosts
-
October 19, 2017 at 6:42 pm in reply to: Full height for Google Maps API in full height section #866402
Hi Victoria,
Haha, indeed it is already quite huge. Now I achieved this by setting a fixed height of 750px on the containing div, while actually I would like the whole things to follow the height of the 100%-height color section.
Thanks,
IvanMagnificent, thanks Ismael.
As maybe a helpful reference to others, the total piece of code is as follows, allowing to disable given weekdays, make exceptions on those, and disable special dates (say, Christmas).
beforeShowDay: function(date) { var day = date.getDay(); if (date.getDate() == 14 && date.getMonth() == 1) { return [true, ""]; } function IsClosed(date) { var day = date.getDate(); var month = date.getMonth() + 1; return (day === 24 && month === 12) + (day === 25 && month === 12) + (day === 1 && month === 1) + (day === 2 && month === 1); } return [(day != 2 && !IsClosed(date))]; },
You are my javascript-hero, many thanks.
Enjoy the holidays :)
IvanHi Yigit,
Thanks a lot for your help. This blocks Dec. 26, but does not block Tuesdays. Is there a way to do both?
Thanks,
IvanMay 19, 2016 at 3:02 pm in reply to: Inserting a full width slider or Sub menu, breaks all content below it #635238How was this solved? I am running into a similar problem, with a full-width submenu below a full-width Google Map.
- This reply was modified 8 years, 6 months ago by lijndiensten.
Hi Elliott,
You’re totally right. I tested the order lazily, wihout carefully setting menu_order for all pages. Works like a charm.
Cheers,
Ivan
-
AuthorPosts