Skip to content

Instantly share code, notes, and snippets.

@scullygroup
Created January 2, 2009 14:40
Show Gist options
  • Save scullygroup/42543 to your computer and use it in GitHub Desktop.
Save scullygroup/42543 to your computer and use it in GitHub Desktop.
sIFR snippet
<script type="text/javascript" charset="utf-8">
if(typeof sIFR == "function"){
sIFR.replaceElement(named({sSelector:"h1", sFlashSrc:"<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/swf/sifr.swf", sColor:"#404e1c", sWmode:"transparent"}));
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"}));
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment