|
Index | Recent Threads | Register | |
Forums » List all forums » Forum: General Discussion » Thread: custom made arrows |
Total posts in this thread: 3 |
[Change thread status]
[Delete this Thread]
[Move this Thread] [Add To My Favorites] [Watch this Thread] [Post new Thread] |
Author |
|
beatakacy
New Member
|
Hi , I would like to use custom made arrows and I don't know where to change the code to point to my arrows hosted elsewhere. I use Iframe callendar embedded code in my site. |
||
|
support
localendar Expert Joined: Aug 9, 2022 Posts: 6395 Status: Offline |
No need to cry, it's not your fault. We currently don't support custom arrows from our calendar customization tab (under Options->Colors) but there is a hack you can use (I think this is FAQ material!) The month-arrow left and right arrows have a CSS class applied: mal-usr and mar-usr respectively (that stands for "month arrow left" and month arrow right") You can use this custom class and a little jQuery/javascript to override the source settings for these arrows. Where to put this code for an iframe-embedded calendar? in your localendar title or footer field under Options->General makes the most sense. Here's an example you can customize to point to your own images: <script>$(document).ready(function() {$('.mal-usr').attr('src', 'http://www.xxx.com/yourleftimage.gif');$('.mar-usr').attr('src', 'http://www.xxx.com/yourrightimage.gif');});</script> ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
||
|
beatakacy
New Member
|
Thank you so much custom arrows are in place :) |
||
|
[Show Thread Printable Version] [Post new Thread] |
Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us |