A logo is a special graphic displayed at a specific position on the Joomla! template. You can replace the ordinary image with Flash-animated logos by embedding it in that position. As we have seen earlier, Flash objects are embedded in Joomla! templates using the
<object> </object> XHTML element. For styling purposes, you may put this element under a
<div> element, as shown in the following code:
<div id="logo"> <object type="application/x-shockwave-flash" data="/templates/mx_joofree2/images/logo.swf" width="200" height="200"> <param name="movie" value="/templates/mx_joofree2/images/logo.swf"> </object> </div>
As you can see, the
<object> </object> tag can contain child elements. We pass parameters to the Flash objects using the ...