Recent Topics

1 Oct 06, 2003 11:08    

Hi,

how to make it so, calendar current day will show highlited?

Just it...

2 Oct 06, 2003 14:14

There are quite a few different CSS styles available to customize the calendar. Check them out.

3 Oct 06, 2003 15:09

fplanque wrote:

There are quite a few different CSS styles available to customize the calendar. Check them out.

Well, I guess it's not a css but php issue.

4 Oct 14, 2003 11:33

fplanque is right:


.bCalendarToday {
		font-weight:bold;
}

that will make the day become all fat and oily for you ;)

5 Oct 14, 2003 14:09

:roll: Sorry guys, sometimes, I'm blind.

6 Apr 21, 2004 06:47

But there's a problem when today has a pots. a this moment in the calendar the day of today hasn't got the class bCalendarToday but the class bCalendarLinkPost.
It would be a better idea that the day of today has an id bCalendarToday. to do that there are some changes to made in the _class_calendar.php

L142


		$this->todaycellstart = '<td id="bCalendarToday">';
                $this->todaycellstartpost = '<td id="bCalendarToday" class="bCalendarLinkPost">';

L337


if ($calendartoday){
					    echo $this->todaycellstartpost;
				        }else{
					    echo $this->linkpostcellstart;
				        }

The Line Number a referenced from the _class_calendar.php CVS revision 1.13

Doing this changes you could have in the css:
.bCalendarCell
.bCalendarLinkPost
#bCalendarToday

I think it would be a good idea to make this changes. For example, you could choose to have a background for the today's day and it appear evenn if there's a post

7 Apr 21, 2004 10:29

we should probably add another style bCalendarLinkPostToday that would handle this.

I'll implement this later.. :)

9 Apr 23, 2004 23:56

Using an ID to designate that it's today and a class to designate that it has posts makes the most sense, given the semantic meaning of "ID" and "CLASS" attributes. There will be many days with posts, but only one that's today.

Also, then you wouldn't have to unnecessarily multiply the CSS. If someone wants to specially mark up bCalendarLinkPostToday, they can use .bCalendarLinkPost#bCalendarToday { ... }

Just my $0.02.

Isaac

10 Apr 24, 2004 00:16

very good point, isaac.


Form is loading...