How to insert the calendar into the website

How to insert the calendar into the website

Digital Hits: 78

The calendar in pages of the website can execute not only information function, but also to be an attractive part of design. If you have no ready component, then is not difficult to pick up in network attractive option with a necessary set of functionality at all.

Instruction

1. Use ready a flash calendar if you want to insert into websitethe pages beautifulan element with the minimum efforts. It is possible to download it, for example, here - http://www.flashscope.com/blog/free-flash-interactive-calendar-components. On the website FlashScope it is possible to take a ready flash component which does not need presetting or connection of any additional scripts. But if you have sufficient skills of work with fla-files and an action scripts, then here it is possible to download also initial codes of calendars and to independently change their design and functionality.

2. Select that version of the calendar which suits you more, download it in the computer if there is desire - edit. The ready file with the swf extension, load on the server of your website. It is the simplest to make it using the file manager in the panel of hosting provider or in a management system of the website. In this case except the browser nothing should be used. But it is possible to use also the special program - the FTP-client.

3. Prepare the HTML-code which should display the loaded flash component in pages of the website. The tag set minimum sufficient for this purpose can be written, for example, so: <object classid= ""clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"" of align= "" middle"" codebase= ""http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"" of width= "" 300" of" height= "" 300"">
<param name= "" movie"" value= "" flashCal.swf""/>
<embed wmode= "" opaque"" align= "" middle" of" src= "" flashCal.swf" of" quality= "" high" of" width= "" 300" of" height= "" 300" of" type= "" application/x-shockwave-flash" of" pluginspage= ""http://www.macromedia.com/go/getflashplayer"" of allowScriptAccess= "" sameDomain""/>
</object> twice specified the calendar sizes Here - you need to replace in both couples of width and height tags of number with 300 sizes of your calendar. Also in two places the file name (flashCal.swf) is specified - it should be changed for the name of the loaded swf-file too. If you placed it not in the same folder in which also the page is placed, then it is necessary to specify also path to this folder.

4. Insert the prepared HTML-code into the necessary page of the website. It is convenient to do it in the online editor of pages of a management system of the website. After you open the necessary page in such editor, switch him to a HTML-code editing mode, and insert into the right place the code a flash component. Then save the page, and on it the procedure of an insert of the calendar will be complete. If you do not use a management system of the website, then it is possible to edit the page in the normal text editor, having downloaded to itself in the computer, and then to save changes and to load the page back.

Author: «MirrorInfo» Dream Team

Print