Shakarhaba
03-07-2007, 05:40 PM
I'm facing a problem changing the link colors:
Result: http://www.goear.com/upload/calendar.php (See the "Default Calendar" bar).
Also I would like to ask how I can change the RED line that indicates "today" I want to change its color.
css code:
.linkUnderline{
color:white;
text-decoration:underline;
font-family:Trebuchet MS, Verdana, Arial;
font-size:11px;
}
.linkUnderline:link{
text-decoration:underline;
font-family:Trebuchet MS, Verdana, Arial;
font-size:11px;
color:white;
}
.linkUnderline:visited{
text-decoration:underline;
font-family:Trebuchet MS, Verdana, Arial;
font-size:11px;
color:white;
}
.linkUnderline:hover{
text-decoration:underline;
font-family:Trebuchet MS, Verdana, Arial;
font-size:11px;
color:white;
}
.linkUnderline:active{
text-decoration:underline;
font-family:Trebuchet MS, Verdana, Arial;
font-size:11px;
color:white;
}
html code:
<div style="height:25px; width:825px; background-image:url($stylevar[imgdir_misc]/title_t.png);">
<div style="float:left; width:285px; padding-left:8px; line-height:25px; font-family:Trebuchet MS, Verdana, Arial; font-weight:bold; font-size:11px; color:#FFF;">$calendarinfo[title]</div>
<div style="width:810px; padding-left:8px; line-height:25px; text-align:right; font-family:Trebuchet MS, Verdana, Arial; font-size:11px; color:#FFF;">
<table style="text-align:right; font-family:Trebuchet MS, Verdana, Arial; font-size:11px; color:#FFF;">
<tr>
<if condition="$show['popups']">
<td style="color:#FFF"><a class="linkUnderline" href="calendar.php?$session[sessionurl]c=$calendarinfo[calendarid]&month=$today[mon]&year=$today[year]">$vbphrase[show_today]</a></td>
<td id="cal_mode">
<if condition="$show['weeklyview']">
<a class="linkUnderline" href="$show[nojs_link]#goto_viewtype">$vbphrase[weekly_view]</a>
</if>
<if condition="$show['monthlyview']">
<a class="linkUnderline" href="$show[nojs_link]#goto_viewtype">$vbphrase[monthly_view]</a>
</if>
<if condition="$show['yearlyview']">
<a class="linkUnderline" href="$show[nojs_link]#goto_viewtype">$vbphrase[yearly_view]</a>
</if>
<script type="text/javascript"> vbmenu_register("cal_mode","noimage"); </script>
</td>
<td id="add_event"><a class="linkUnderline" href="#goto_newevent">$vbphrase[add_new_event]</a> <script type="text/javascript"> vbmenu_register("add_event","noimage"); </script></td>
</if>
</tr>
</table>
</div>
</div>
Result: http://www.goear.com/upload/calendar.php (See the "Default Calendar" bar).
Also I would like to ask how I can change the RED line that indicates "today" I want to change its color.
css code:
.linkUnderline{
color:white;
text-decoration:underline;
font-family:Trebuchet MS, Verdana, Arial;
font-size:11px;
}
.linkUnderline:link{
text-decoration:underline;
font-family:Trebuchet MS, Verdana, Arial;
font-size:11px;
color:white;
}
.linkUnderline:visited{
text-decoration:underline;
font-family:Trebuchet MS, Verdana, Arial;
font-size:11px;
color:white;
}
.linkUnderline:hover{
text-decoration:underline;
font-family:Trebuchet MS, Verdana, Arial;
font-size:11px;
color:white;
}
.linkUnderline:active{
text-decoration:underline;
font-family:Trebuchet MS, Verdana, Arial;
font-size:11px;
color:white;
}
html code:
<div style="height:25px; width:825px; background-image:url($stylevar[imgdir_misc]/title_t.png);">
<div style="float:left; width:285px; padding-left:8px; line-height:25px; font-family:Trebuchet MS, Verdana, Arial; font-weight:bold; font-size:11px; color:#FFF;">$calendarinfo[title]</div>
<div style="width:810px; padding-left:8px; line-height:25px; text-align:right; font-family:Trebuchet MS, Verdana, Arial; font-size:11px; color:#FFF;">
<table style="text-align:right; font-family:Trebuchet MS, Verdana, Arial; font-size:11px; color:#FFF;">
<tr>
<if condition="$show['popups']">
<td style="color:#FFF"><a class="linkUnderline" href="calendar.php?$session[sessionurl]c=$calendarinfo[calendarid]&month=$today[mon]&year=$today[year]">$vbphrase[show_today]</a></td>
<td id="cal_mode">
<if condition="$show['weeklyview']">
<a class="linkUnderline" href="$show[nojs_link]#goto_viewtype">$vbphrase[weekly_view]</a>
</if>
<if condition="$show['monthlyview']">
<a class="linkUnderline" href="$show[nojs_link]#goto_viewtype">$vbphrase[monthly_view]</a>
</if>
<if condition="$show['yearlyview']">
<a class="linkUnderline" href="$show[nojs_link]#goto_viewtype">$vbphrase[yearly_view]</a>
</if>
<script type="text/javascript"> vbmenu_register("cal_mode","noimage"); </script>
</td>
<td id="add_event"><a class="linkUnderline" href="#goto_newevent">$vbphrase[add_new_event]</a> <script type="text/javascript"> vbmenu_register("add_event","noimage"); </script></td>
</if>
</tr>
</table>
</div>
</div>