My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 29: Event URL open in new window
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Jun 2009


Sign in to add a comment
 
Reported by jstrong...@gmail.com, Jun 5, 2009
I would like to be able to have links open in a new window or tab.  I'm not
sure where I can add the functionality in.  

Jun 5, 2009
#1 jstrong...@gmail.com
Sorry I posted this a little to quickly I guess.  I couldn't see where to change the
Issue Type and Priority, sorry.  


I also found what I needed to do.  If anyone wants to do what I did, just find line
#733 and change it or comment it out and add "if (event.url) window.open(event.url);"


Cheers and thanks for the great plugin Adam.
Jun 5, 2009
Project Member #2 adamrs...@gmail.com
glad you got it to work. editing the fullcalendar source is not the best way,
however. it is best to do it as a triggered-event, the "eventClick" option in particular:

eventClick: function(event, element) {
   if (event.url) window.open(event.url, "windowname", "width=500,height=500");
   return false;
}
Status: Done
Sign in to add a comment

Powered by Google Project Hosting