adding custom js to magento cms page -


i use on single cms page in magento. reason not show content. allready tried several google answers without succes.

smartphone kopen link page script

<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"></script> <script type="text/javascript">// <![cdata[ mediaid=191156;subid='';entry=25;provider='0';duration=0;renewal=0;daisycontelecomfilterview=1;col='1111111';programs='all';header='ffffff';background_price='e2f0fb';border='ececec';button_text='bekijken';button_color='ff8300';button_hover='ff9e3d';button_textcolor='ffffff';font='arial';slider='3694c7';minmob='0';maxmob='1000';minmin='100';maxmin='3000';minint='200';maxint='6000';minab='0';maxab='100';mobiles='all'; // ]]></script> <script type="text/javascript" src="http://developers.affiliateprogramma.eu/mobielvergelijker/general.js"></script> <script type="text/javascript" src="http://developers.affiliateprogramma.eu/mobielvergelijker/jquery.nouislider.min.js"></script> 

edit page, in design tab add

<reference name="head">     <action method="addjs">         <script>http://code.jquery.com/jquery-1.8.3.min.js</script>     </action>     <block type="core/text" name="custom.js" >         <action method="settext">             <text>// <![cdata[mediaid=191156;subid='';entry=25;provider='0';duration=0;renewal=0;daisycontelecomfilterview=1;col='1111111';programs='all';header='ffffff';background_price='e2f0fb';border='ececec';button_text='bekijken';button_color='ff8300';button_hover='ff9e3d';button_textcolor='ffffff';font='arial';slider='3694c7';minmob='0';maxmob='1000';minmin='100';maxmin='3000';minint='200';maxint='6000';minab='0';maxab='100';mobiles='all'; // ]]></text>         </action>     </block>     <action method="addjs">         <script>http://developers.affiliateprogramma.eu/mobielvergelijker/general.js</script>     </action>     <action method="addjs">         <script>http://developers.affiliateprogramma.eu/mobielvergelijker/jquery.nouislider.min.js</script>     </action> </reference> 

sorry, tested adn working code


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -