I'm in the process of trying to add a twitter widget to my home page. It would be a small box that would link my twitter feed into my store's front page.
I have the code from twitter (posted below). I went to the topic for the front page of my store. Clicked over the the html editor <>, added the code, hit "update topic" and nothing showed up. Clicking back over to the html editor, showed that the code was gone. I tried this several more times. Putting plain text into the html editor worked just fine, but adding the following code, aspdnsf seems to be stripping it out. I called my web guy, emailed him the code and the same thing happened. He things it may be due to the widget being a script.
Anyone else have any ideas why this could be happening or any workarounds?
Code:
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 8,
interval: 6000,
width: 300,
height: 300,
theme: {
shell: {
background: '#555c1e',
color: '#ffffff'
},
tweets: {
background: '#15081a',
color: '#ffffff',
links: '#4aed05'
}
},
features: {
scrollbar: true,
loop: true,
live: true,
hashtags: true,
timestamp: false,
avatars: false,
behavior: 'default'
}
}).render().setUser('LaytonFruit').start();
</script>
ML 8.0/8.0