HOW TO show calendar in a small size?

Talk and info about common issues and learn how to do almost anything with ApPHP Calendar

Moderator: alexandrleonenko

administrator
Site Admin
Site Admin
Posts: 6010
Joined: Jan 7th, '09, 23:18
Contact:

HOW TO show calendar in a small size?

Postby administrator » Jul 30th, '12, 07:27

To make calendar is shown in a small size use following code:

Code: Select all

## *** create calendar object
$objCalendarSmall = new Calendar('small', 'cals_');   
## *** set CSS style: 'green'|'brown'|'blue' - default
$objCalendarSmall->SetCssStyle('blue');       
## *** set calendar width and height
$objCalendarSmall->SetCalendarDimensions('200px', '125px');
///$objCalendarSmall->SetMonthlySmallLinks('your_big_calendar_page.php');   

$objCalendarSmall->Show();


Working example is here:
http://www.apphp.com/php-calendar/examp ... _small.php

Return to “ApPHP Calendar {HOW TO}”