My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 628: ID for event divs
1 person starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 263
Owner:  ----
Closed:  Oct 2010


Sign in to add a comment
 
Reported by anuragun...@gmail.com, Sep 4, 2010
It would be great if each event div has a id same as event, that way user can easily change css on the fly e.g.

@@ -1613,7 +1613,7 @@
 			right = seg.isEnd ? dayContentRight(seg.end.getDay()-1) : maxLeft;
 		}
 		html +=
-			"<div class='" + className + event.className.join(' ') + "' style='position:absolute;z-index:8;left:"+left+"px'>" +
+			"<div id='"+event.id+"' class='" + className + event.className.join(' ') + "' style='position:absolute;z-index:8;left:"+left+"px'>" +
 				"<a" + (event.url ? " href='" + htmlEscape(event.url) + "'" : '') + ">" +
 					(!event.allDay && seg.isStart ?
 						"<span class='fc-event-time'>" +


Oct 7, 2010
Project Member #1 adamrs...@gmail.com
would rather have a method to do it. putting it in an html attribute would be a bad idea b/c what if events had same id (repeating events). also, what id's collide with elements elsewhere on the page?  issue 263  would be your best bet...
Status: Duplicate
Mergedinto: 263
Sign in to add a comment

Powered by Google Project Hosting