Posted By

bcalloway on 12/04/08


Tagged

javascript sifr


Versions (?)

sIFR


 / Published in: JavaScript
 

This is how to use siFR on a tag or class in Joomla

  1. <script type="text/javascript" charset="utf-8">
  2. if(typeof sIFR == "function"){
  3. sIFR.replaceElement(named({sSelector:"h1", sFlashSrc:"<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/swf/sifr.swf", sColor:"#404e1c", sWmode:"transparent"}));
  4. sIFR.replaceElement(named({sSelector:"h2.contentheading, #content h2, #content h3", sFlashSrc:"<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/swf/sifr.swf", sColor:"#404e1c", sWmode:"transparent"}));
  5. };
  6. </script>

Report this snippet  

You need to login to post a comment.