Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Recommendation: Anchors inside <span>
LCAngela
Junior Member

Posts: 3
Registered: 5/17/2005
Member Is Offline
posted on 5/18/2005 at 07:57 PM Reply With Quote
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. :)
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free/Trial Script Download Free Download
Product Documentation Documentation
Documentation page
Change Log
Support Forum Support Forum
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004