Welcome Guest   | Login   
  Search  
  Index |  Recent Threads |  Register | 


Quick Go »
Thread Status: Normal
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
Previous Thread This topic has been viewed 219 times and has 2 replies Next Thread
beatakacy
New Member



Joined: Jun 19, 2013
Posts: 2
Status: Offline

Edit this Post   custom made arrows Reply to this Post
Reply with Quote
[Delete this Thread]

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. crying
[Jul 9, 2013, 5:53:59 PM] [50.67.168.7] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6395
Status: Offline
Edit this Post   Re: custom made arrows Reply to this Post
Reply with Quote
[Delete this Post]

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
[Jul 10, 2013, 5:58:00 PM] [24.189.166.34] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
beatakacy
New Member



Joined: Jun 19, 2013
Posts: 2
Status: Offline

Edit this Post   smile   Re: custom made arrows Reply to this Post
Reply with Quote
[Delete this Post]

smile Thank you so much custom arrows are in place :)
[Jul 12, 2013, 10:38:13 PM] [50.67.168.7] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
[Show Thread Printable Version] [Post new Thread]

Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us