Code question

Hi guys, I am trying to add this code using custom page editor, but nothing shows up. Then I tried to import the code as HTML page, but issue persists. The code works fine if I test it online. Am I doing something wrong or is it normal? 
Thanks

this is the code:
<!-- start sw-rss-feed code --> 
<script type="text/javascript"> 
<!-- 
rssfeed_url = new Array(); 
rssfeed_frame_width="600"; 
rssfeed_frame_height="600"; 
rssfeed_scroll="off"; 
rssfeed_scroll_step="2"; 
rssfeed_scroll_bar="on"; 
rssfeed_target="_blank"; 
rssfeed_font_size="12"; 
rssfeed_font_face=""; 
rssfeed_border="on"; 
rssfeed_css_url=""; 
rssfeed_title="on"; 
rssfeed_title_name=""; 
rssfeed_title_bgcolor="#ff0000"; 
rssfeed_title_color="#000"; 
rssfeed_title_bgimage=""; 
rssfeed_footer="on"; 
rssfeed_footer_name="rss feed"; 
rssfeed_footer_bgcolor="#fff"; 
rssfeed_footer_color="#333"; 
rssfeed_footer_bgimage=""; 
rssfeed_item_title_length="50"; 
rssfeed_item_title_color="#99cc00"; 
rssfeed_item_bgcolor="#fff"; 
rssfeed_item_bgimage=""; 
rssfeed_item_border_bottom="on"; 
rssfeed_item_source_icon="off"; 
rssfeed_item_date="off"; 
rssfeed_item_description="on"; 
rssfeed_item_description_length="120"; 
rssfeed_item_description_color="#666"; 
rssfeed_item_description_link_color="#333"; 
rssfeed_item_description_tag="on"; 
rssfeed_no_items="0"; 
rssfeed_cache = "9ba0707d344fe8334cbd743bd5e7b259"; 
//--> 
</script> 
<script type="text/javascript" src="//feed.surfing-waves.com/js/rss-feed.js"></script> 
<!-- The link below helps keep this service FREE, and helps other people find the SW widget. Please be cool and keep it! Thanks. --> 
<div style="text-align:right; width:600px;"><a href="http://www.surfing-waves.com/feed.htm" target="_blank" style="color:#55a0ff;font-size:10px">feedwidget @<;/a> <a href="http://www.surfing-waves.com" target="_blank" style="color:#55a0ff;font-size:10px">Surfing Waves</a></div> 
<!-- end sw-rss-feed code -->

Comments

  • Make sure you paste it while the "source" button is selected. Then you need to build your app to actually see the JavaScript run in a browser.
Sign In or Register to comment.