View Single Post
  #3  
Old 03-26-2008, 11:38 PM
 
carreraecommerce carreraecommerce is offline
 

Newbie
  
Join Date: May 2006
Posts: 4
 

Default Re: siFR implementation problem

Hello thanks for the fast reply!!! How do i do this? this is my JS located on the customer/home.tpl


<script type="text/javascript">
//<![CDATA[
/* Replacement calls. Please see documentation for more information. */

if(typeof sIFR == "function"){

// This is the preferred "named argument" syntax
sIFR.replaceElement(named({sSelector:"h1", sFlashSrc:"aquarius.swf", sColor:"#000000", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#CCCCCC", nPaddingTop:20, nPaddingBottom:20, sFlashVars:"textalign=center&offsetTop=6"}));

// This is the older, ordered syntax
sIFR.replaceElement("h5#pullquote", "vandenkeere.swf", "#000000", "#000000", "#FFFFFF", "#FFFFFF", 0, 0, 0, 0);
sIFR.replaceElement("h2", "tradegothic.swf", "#000000", null, null, null, 0, 0, 0, 0);
sIFR.replaceElement("h4.subhead", "tradegothic.swf", "#660000", null, null, null, 0, 0, 0, 0);
sIFR.replaceElement(".title","tradegothic.swf","#0 00000", "#000000", "#DCDCDC", "#DCDCDC", 0, 0, 0, 0, null);
sIFR.replaceElement("h3.sidebox","tradegothic.swf" ,"#000000", "#000000", "#DCDCDC", "#DCDCDC", 0, 0, 0, 0, null);
sIFR.replaceElement("h3", "tradegothic.swf", "#000000", null, null, null, 0, 0, 0, 0, null);

};

//]]>
</script>
Reply With Quote