Piecemaker Shadow
DogHam
✭
Hello!
I want to put the piecemaker2 script in my header. But I allways get the Bonk error.
< div id="Frame" >
< div id="wrapper" class="hfeed" >
{logo}
Money can’t buy happiness, but its sometimes better to cry in a Lamborghini
{capture assign="BannerDefault"}
{/capture}
{text code="Banner" default=$BannerDefault}
`
I need to put this in:
<script type="text/javascript" src="scripts/swfobject/swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; flashvars.cssSource = "piecemaker.css"; flashvars.xmlSource = "piecemaker.xml"; var params = {}; params.play = "true"; params.menu = "false"; params.scale = "showall"; params.wmode = "transparent"; params.allowfullscreen = "true"; params.allowscriptaccess = "always"; params.allownetworking = "all"; swfobject.embedSWF('piecemaker.swf', 'piecemaker', '1000', '600', '10', null, flashvars, params, null); </script>
How can I fix that?
Tagged:
0
Comments
if you are adding script to a tpl file you need to add it between this
{literal} script here{/literal}
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
doesn't work for me. But thank you for your tip.