How to make the calendar for the website

How to make the calendar for the website

Very beautifully calendars on some web resources look. Sometimes they are very multifunction, sometimes simply a line from several words and numbers. If the calendar is necessary for your website too, then it is worth beginning with any simple option. Instruction 1. The simplest option is to use a ready flash component. Such calendar does not require setup, adding in pages of additional codes of scripts and styles. It is possible to take a ready flash calendar, for example, on website FlashScope. This website, together with the file for an insert in the page of the website, provides also its source code. If there are desire and some skills works about a flash editors, then, having the source code, you will be able to change design and functionality of the calendar. 2. Having picked up the calendar, and having prepared the executed swf-file, load it on the server of the website. It is possible to use for this purpose the file manager from structure of a management system of the website or from the control panel of your hosting company. And it is possible to load it under the FTP-protocol by means of the resident program - the FTP-client. 3. After that prepare the code for an insert a flash calendar in source codes of the page. The minimum set of HTML tags can look, for example, so: Use this HTML-code as a template for an insert of your calendar. In two places you need to change the sizes - width and height a flash object is set by attributes of width= "" 230 here"" and height= "" 280"". Find them in the code and replace numbers with corresponding to the sizes of your calendar. It is similarly necessary to change in two places and a file name – attributes of value= "" calendar.swf"" and src= "" calendar.swf are specified here"". Find them and replace calendar.swf with the name of your file. 4. It was necessary to insert the prepared code into the HTML-source code. Having downloaded the page website to itself in the computer, open it in the normal text editor. And it is possible to use the editor of pages of a management system of the website for change of the code directly in the browser online. In this case, having opened the page, it is necessary to switch the editor to a HTML-code editing mode. In the code of the page you need to find the place in which you want to see a flash calendar, to copy and insert the prepared HTML-code. Then save the page with the made changes. If it was edited at you in the computer - load back on the server.

Author: «MirrorInfo» Dream Team


Print