LCAngela
Junior Member
Posts: 3
Registered: 5/17/2005
Member Is Offline
|
| posted on 5/18/2005 at 07:57 PM |
|
|
Recommendation: Anchors inside <span>
This is an easy tweak I've applied to my installation, and I'm sure others will find it useful as well. :)
Around line 485, change | Code: | | return "<a href="$link".($params ? "?$params" : '').""".($title ? " title="$title"" :
'')."$adds>".($font?"<span class="$font">":'').$str.($font?"</span>":"")."</a>"; | to | Code: | | return
($font?"<span class="$font">":'')."<a href="$link".($params ? "?$params" : '').""".($title ? " title="$title"" :
'')."$adds>".$str."</a>".($font?"</span>":""); |
This will give you more control over how links in your calendar style classes look. :)
For instance, I can define "Cbody" in my CSS file: | Code: | .Cbody { font: normal 7pt Verdana, sans-serif;
color: #000000; } | ...then tell it to display any links inside "Cbody" a certain way: | Code: | .Cbody a:link { color: #000000;
font-weight: bold;
text-decoration: underline; } | I decided to do this because the links on the rest of my site don't contrast enough with (or become
invisible altogether on) my calendar table cell backgrounds.
Hope someone finds this useful. :)
|
|
|
|