|
Index | Recent Threads | Register | |
Forums » List all forums » Forum: Webmaster's Corner » Thread: Help with different calendar views |
Total posts in this thread: 2 |
[Change thread status]
[Delete this Thread]
[Move this Thread] [Add To My Favorites] [Watch this Thread] [Post new Thread] |
Author |
|
codegreer
New Member
|
I have several questions that I haven't been able to find answers for by searching here or in the documentation. My calendar is here: http://localendar.com/public/actiongaguide 1. I want to embed a fully interactive embedded javascript calendar. I chose Month Pinboard as the style. There is no preview and the code it generates (below) does not work when I add it to my HTML. <SCRIPT src="//localendar.com/public/actiongaguide?style=M6&include=Y&dynamic=Y"></SCRIPT> I can embed the block views, but list views and pinboards don't preview and don't show up on my site either. Thoughts? 2. I really like the pinboard view, but users might not. Is there a way to let the site visitor change it to the block or list views? 3. On that same note, can site visitors change the from day to week to month as they choose? Thanks for any help! |
||
|
support
localendar Expert Joined: Aug 9, 2022 Posts: 6395 Status: Offline |
Hi codegreer, A few comments/answers.. I don't think the pinboard-style views are compatible with the "fully interactive javascript" style (I guess we should hide that option ) In any case, the preferred method is the responsive iframe, which will also let you do some of the other things you want anyway. There are a few ways to let visitors jump to completely different view styles. And they all involve a little custom HTML in your calendar's title or footer (or both) First, let's assume you've gone ahead and published a responsive month-view pinboard on your site with the following code: <script type="text/javascript" src="//localendar.com/js/PublishedResponsiveIframe.js"></script> If you add this sample HTML to your calendar's title, it will let a visitor change between a few view styles (you can customize this more to your specific needs) <div style='margin:10px;float:left;font-size:12px;'><a href='//localendar.com/public/actiongaguide?style=M6'>Month Pinboard</a> <a href='//localendar.com/public/actiongaguide?style=M0'>Month Block</a> <a href='//localendar.com/public/actiongaguide?style=W6'>Week Pinboard</a> <a href='//localendar.com/public/actiongaguide?style=D2'>Today+Soon</a></div> (Yes, that needs to be pasted as one single line - make sure you get the whole thing) Hope that helps! ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news ---------------------------------------- [Edit 1 times, last edit by support at Apr 2, 2017, 3:31:55 PM] |
||
|
[Show Thread Printable Version] [Post new Thread] |
Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us |