我真的想在magento的单个cms页面上使用它。由于某种原因,它不会显示内容。我已经尝试了几个谷歌的答案没有任何成功。
Smartphone kopen链接到带脚本的页面
<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>
答案 0 :(得分:1)
编辑页面,在设计标签中添加
<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>
抱歉,现已测试并正常运行代码