Code in widget causes theme to break
-
I’ve added some code to a text widget, and it does work (giving a media player for my online radio station), but it breaks the theme and causes the footer to rise up.
It is probably easier to see this to know what I mean:
Is there something I can do to stop this happening?
This is the code used:
<div id="player"><a href="https://www.macromedia.com/go/getflashplayer">Stream</a> <script type="text/javascript" src="/player/swfobject.js"></script> <script type="text/javascript"> var s1 = new SWFObject("/player/player.swf","ply","350","35","9","#FFFFFF"); s1.addParam("allowfullscreen","false"); s1.addParam("allowscriptaccess","always"); s1.addParam("flashvars","file=https://orange.citrus3.com:8022/;stream.nsv&type=sound&volume=35&duration=-999999999999&autostart=true"); s1.write("player");</script>
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Code in widget causes theme to break’ is closed to new replies.