|
System
Requirements Server Operating System
- any
Client Browser - any graphic browser which support
Macromedia Flash
Shareware Restrictions
You can free use Jobdao Flash Calendar for non
commercial purpose.
If you use this software in commercial purpose, you are
profiting from, requires registration (payment) of the
software. For information on registering, Purchase your
registration key hereThe copyright line that appears
to generated charts will remove after you get the license
key.
How it work
Jobdao Flash Calendar based on the Macromedia Flash?
technology. To show a chart uses a Macromedia Flash Player.
There is no necessity to install the additional software on
a server. Macromedia Flash Player must be installed on the
client computers. The All popular browsers is support
Macromedia Flash?. Drawing of the chart is carried out in a
browser of the client, therefore the absorption of server is
minimal. From server to client transferred just two files:
- jcalendar.swf - main module
- XML Data File - generated by script (PHP, ASP, JSP,
Perl, etc.)
XML
Data File specification
The XML Data File contains the data for Flash Calendar building. The
XML Data
File can dynamically builded by script (PHP,
ASP, JSP, Perl, etc.), located on web-server. The structure
of a file reminds the table.
XML
Data File structure:
<calendar>
<settings>
<licensekey>0</licensekey>
<bgColor>0x000000</bgColor>
<backImage>jstarsrate/back1.jpg</backImage>
<dayNameColor>0xFFFFFF</dayNameColor>
<dayColor>0x0033CC</dayColor>
<currentMonthColor>0xFFFFFF</currentMonthColor>
<currentMonthFontSize>12</currentMonthFontSize>
<currentDayColor>0xFF9900</currentDayColor>
<weekColor>0x333300</weekColor>
<weekFontSize>11</weekFontSize>
<eventDateColor>0x6699CC</eventDateColor>
<dayNames startMonday="false">
<name long="Sunday">S</name>
<name long="Monday">M</name>
<name long="Tuesday">T</name>
<name long="Wednesday">W</name>
<name long="Thursday">T</name>
<name long="Friday">F</name>
<name long="Saturday">S</name>
</dayNames>
<monthNames>
<month short="Jan" name="January"/>
<month short="Feb" name="February"/>
<month short="Mar" name="March"/>
<month short="Apr" name="April"/>
<month short="May" name="May"/>
<month short="Jun" name="June"/>
<month short="Jul" name="July"/>
<month short="Aug" name="August"/>
<month short="Sep" name="September"/>
<month short="Oct" name="October"/>
<month short="Nov" name="November"/>
<month short="Dec" name="December"/>
</monthNames>
<returnCalendarMsg>Back</returnCalendarMsg>
</settings>
<events>
<event>
<date></date>
<tooltip><![CDATA[]]></tooltip>
<description><![CDATA[]]></description>
</event>
</events>
</calendar>
Where in setting:
licensekey - License Key
bgColor - Background color code.
backImage - Background Image
dayNameColor - Color of day name
dayColor - Color of day
currentMonthColor - Color of current month
currentMonthFontSize - Font size of current month
currentDayColor - Color of current day
weekColor - Color of week
weekFontSize - Font size of week
eventDateColor - Color of event date
dayNames - Name of day
monthNames - Name of month
Where in event:
date - date of event, format: yyyy-mm-dd
tooltip - Title of event, format like: <![CDATA[xxxx]]>
Description - description of event, format like: <![CDATA[xxxx]]>,
support simple HTML code.
See the sample and live
demos!
How to Publish Flash Calendar
Upload XML Data File Script, Vote Script and jcalendar.swf to your server.
To publish Flash Calendar on HTML page, please use following
HTML-code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="260" height="270" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="jcalendar.swf?datafile=data.xml"
/>
<param name="quality" value="High" />
<param name="bgcolor" value="#ffffff" />
<param name="wmode" value="transparent" />
<embed src="jcalendar.swf?datafile=data.xml" quality="High"
bgcolor="#ffffff" width="260" height="270" name="JCalendar"
align="middle" wmode="transparent" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
/>
</object>
| http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0 |
It is a url to Macromedia Flash installation file. If you
will use chart in the internal network (Intranet), You can
download swflash.cab file and locate it on your internal
server. Then change this url to your internal server.
Whereupon users will able install Macromedia Flash Player
from internal server.
It is a Flash Calendar size. You can change this
width size.
| jcalendar.swf?datafile=data.xml |
It is a main parameters:
jcalendar.swf - SWF file.
datafile - XML Data file. File or script name.
If you use script as data file, you can transfer it
parameters. For example:
| jcalendar.swf?datafile=http://localhost/getdata.asp?sid=1 |
URL to Data file:
datafile=http://localhost/getdata.asp?sid=1
http://localhost/getdata.asp - it is url to data file.
id parameter transferred to getdata.asp.
Step by Step
Step #1
Create a XML data file as described in XML Data file specification.
If you wish create dynamic data source, you must use
scripts. Script must return content as described in Data
file specification. (See also
Samples)
Step #2
Upload to your server jcalendar.swf file and Data File.
Step #3
Insert to your page a HTML code. See How to Publish Flash
Calendar.
|