menambahkan flash animation pada template joomla

Seringkali kita melihat atau membuat template joomla yang ada gambar-gambar geraknya. Gambar gerak yang dimaksud disini adalah flash animation. Untuk menambahkan gambar gerak atau flash di template joomla bisa dengan menambahkan script seperti dibawah ini pada tempat yang akan di tambahi. kalau di template joomla biasanya di index.php

Siapkan dreamweaver terlebih dulu atau program lainnya untuk mengedit file index.php, masukkan script seperti dibawah ini


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="267" height="54">
<param name="movie" value="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>gambarmu.swf" />
<param name="quality" value="high" />
<embed src=" <?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>gamabrmu.swf" quality="high" pluginspage= "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="267" height="54"></embed>
</object>

untuk source gambar tergantung pada letak file yang akan di ambil.

** Selamat belajar membuat template joomla **

Tags : , , ,

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

4 Comments

Leave Comment