Have you subscribe article via RSS Feed? Subscribe Now..

Tuesday, August 26, 2008

install flash module in joomla with HTML & CSS valid.

There was some method embedding flash in joomla with writing script, however not all that code are valid.

I want to share valid code for embed flash that inserted in module. this is more flexible, because we can easily setting display of flash animation wherever we want on the page.

Below the script:

<object type="application/x-shockwave-flash" data="images/flash.swf" width="525" height="320">
<param name="movie" value="images/flash.swf" />
<img src="images/noflash.jpg" width="525" height="320" alt="banner" />

First step - be sure the function of WYSIWYG in Global configuration is off (Global configuration - Tab Site - Default WYSIWYG Editor - select No WYSIWYG), then create new modul in Site module - New.

Copy paste code below in window WYSIWYG editor on module that you has been created, change the following code:

* data="images/flash.swf
* value="images/flash.swf"
* img src="images/noflash.jpg"
* along with measure width and height

Script above can auto change flash header, if a browser can't or not support flash, and will display image noflash.jpg

have a nice try...


:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

Post a Comment