How to insert flash into a website cap

How to insert flash into a website cap

Recently on the different websites it is possible to notice quite beautiful and unusual design of the top part — in other words, caps. It is reached by use of popular Flash technology. This technology is not so simple for understanding of the regular user of the PC, however its study in the design purposes will help you as high-quality design always attracts new clients.

Instruction

1. Create the necessary animation picture of 150х900 in size rkh, corresponding to website width (the size can be any other), and the swf extension (we will call it, for example, header_art.swf), using the Sothink SWF Easy program. It is possible to download it here http://www.softforfree.com/programs/sothink_swf_easy-26785.html. Place the picture to the address images/stories/on a hosting of your website. Create as an alternative the freeze frame image (expansion of the picture jpg, png, gif) and place in the folder. Let to the image should look as follows: images/stories/header.jpg.

2. Insert in the index.php file into the block

3. Now on all pages of your website in a cap header_art.swf flash picture will be displayed. In case of shutdown of demonstration of animation in the browser of users the alternative picture (header.jpg) will be visible. After that start a flash module of Joomla and open an editing mode. Place the module with the picture in one of the positions provided for an output of modules in your template of the website.

4. In the line File Path (see module parameters) specify the folder with the picture (images/stories), further - the name of the picture (in Filename) with the swf (header_art.swf) extension. Do not forget to specify its sizes. Register the address of the created picture in additional parameters: ""img src= ""/images/stories/header.jpg " " height= "" 900"" of width= "" 150""/>"".

5. You can use the header function in the code and for display of different images in a website cap on different pages. It is possible to make it, having used the help of the module under the name "Own HTML" which is built in the Joomla system. You move the necessary graphics image to this gadget and display in the header function.

Author: «MirrorInfo» Dream Team


Print