for some reason, i am still not able to render javascript as a component.
what i am doing is:
building a structure (a page)
dropping the script into the structure...
what i have found is that it is being rendered as web entities, rather
than straight text..
for example, when i add the structure [1], i get it rendered as [2]
[1] - the contents of the structure..
<script src="
http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 6000,
width: 'auto',
height: 300,
theme: {
shell: {
background: '#dddddd',
color: '#ffffff'
},
tweets: {
background: '#ffffff',
color: '#000000',
links: '#aaaaaa'
}
},
features: {
scrollbar: false,
loop: false,
live: true,
hashtags: true,
timestamp: true,
avatars: false,
behavior: 'all'
}
}).render().setUser('sergio_101').start();
</script>
[2] - how it is rendered:
<script src="
http://widgets.twimg.com/j/2/widget.js"></script>
<script> new TWTR.Widget({ version: 2, type:
’profile’, rpp: 4, interval: 6000, width:
’auto’, height: 300, theme: { shell: {
background: ’#dddddd’, color: ’#ffffff’
}, tweets: { background: ’#ffffff’,
color: ’#000000’, links: ’#aaaaaa’ }
}, features: { scrollbar: false, loop: false, live:
true, hashtags: true, timestamp: true, avatars: false,
behavior: ’all’ }
}).render().setUser(’sergio_101’).start(); </script>
--
----
peace,
sergio
photographer, journalist, visionary
http://www.CodingForHire.comhttp://www.coffee-black.comhttp://www.painlessfrugality.comhttp://www.twitter.com/sergio_101http://www.facebook.com/sergio101_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki