I've browsed the forums and can't find quite the answer I need. It will probably be quite simple, but here goes:
I need to include the MIVA product variable in my JavaScript code. How do I do that? This doesn't work:
<script type="text/javascript">
var so = new SWFObject("../mp3s/flash_player/player.swf", "mymovie", "520", "350", "7", "#FFFFFF");
so.addVariable("autoPlay","no")
so.addVariable("playlistPath","../mp3s/&mvt:product:code;.xml")
so.addVariable("playerSkin","1")
so.write("flashPlayer");
</script>
I have the ToolKit module, but can't seem to figure out how to perhaps write an expression to assign the product MIVA variable to a JavaScript variable. When I hard code the product variable, it does work (by the way).
I've read all the previous posts on this topic twice (that I could find) ... please help me. :)
Thanks!
I need to include the MIVA product variable in my JavaScript code. How do I do that? This doesn't work:
<script type="text/javascript">
var so = new SWFObject("../mp3s/flash_player/player.swf", "mymovie", "520", "350", "7", "#FFFFFF");
so.addVariable("autoPlay","no")
so.addVariable("playlistPath","../mp3s/&mvt:product:code;.xml")
so.addVariable("playerSkin","1")
so.write("flashPlayer");
</script>
I have the ToolKit module, but can't seem to figure out how to perhaps write an expression to assign the product MIVA variable to a JavaScript variable. When I hard code the product variable, it does work (by the way).
I've read all the previous posts on this topic twice (that I could find) ... please help me. :)
Thanks!
Comment