Export to GitHub

fullcalendar - issue #395

Don't use <a> tags for events with no URLs


Posted on Mar 13, 2010 by Happy Ox

When adding links to events, they should not be wrapped with an 'a' tag if there is no href. Right now it makes styling impossible as you can't tell which elements actually have links and which do not.

Comment #1

Posted on Mar 16, 2010 by Helpful Monkey

this might be a change i consider for 1.5, but it is possible to tell the difference with the :link pseudo-class: http://www.w3.org/TR/CSS2/selector.html#link-pseudo-classes

Comment #2

Posted on Mar 16, 2010 by Happy Ox

That's used for adding "a style to an unvisited link". Will it also work the same for visited links? At any rate, that solution might work ok, but it's certainly not desirable.

Comment #3

Posted on Mar 31, 2010 by Helpful Monkey

hey glenn, you can combine the :link and :visited pseudo classes to reference any with an href. however, i agree with your original point. i will incorporate this into 1.5, the release where i plan to break backward css compatibility.

Comment #4

Posted on Mar 31, 2010 by Quick Lion

<3 thank you!

Comment #5

Posted on Mar 21, 2011 by Helpful Monkey

this is fixed in 1.5

Comment #6

Posted on Aug 14, 2013 by Helpful Monkey

(No comment was entered for this change.)

Comment #7

Posted on Aug 14, 2013 by Helpful Monkey

(No comment was entered for this change.)

Status: Released

Labels:
Type-Defect