SOLVED - js not working
Posted: Fri Nov 26, 2010 1:28 pm
Hi.
I have this simple script but I cant make it work. Get messajes like syntax error: unrecognized tag.
Works fine outside cmsms.
Its a very nice script.
anyone can help me?
thanks
/***************************************************************/
var account = {admin: false }, v = {
ver: "3.2.2",
core: "/swf/flowplayer-3.2.2.swf",
controls: "flowplayer.controls-3.2.1.swf",
air: "flowplayer.controls-air-3.2.1.swf",
tube: "flowplayer.controls-tube-3.2.1.swf",
content: "flowplayer.content-3.2.0.swf",
rtmp: "flowplayer.rtmp-3.2.1.swf",
slowmotion: "flowplayer.slowmotion-3.2.0.swf",
pseudostreaming: "flowplayer.pseudostreaming-3.2.2.swf"
};
#actionButtons {
text-align:center;
margin-top:30px;
}
// What is $(document).ready ? See: http://flowplayer.org/tools/documentati ... ment_ready
$(document).ready(function() {
// initialize scrollable together with the autoscroll plugin
var root = $("#scroller").scrollable({circular: true}).autoscroll({ autoplay: true });
// provide scrollable API for the action buttons
window.api = root.data("scrollable");
});
I have this simple script but I cant make it work. Get messajes like syntax error: unrecognized tag.
Works fine outside cmsms.
Its a very nice script.
anyone can help me?
thanks
/***************************************************************/
var account = {admin: false }, v = {
ver: "3.2.2",
core: "/swf/flowplayer-3.2.2.swf",
controls: "flowplayer.controls-3.2.1.swf",
air: "flowplayer.controls-air-3.2.1.swf",
tube: "flowplayer.controls-tube-3.2.1.swf",
content: "flowplayer.content-3.2.0.swf",
rtmp: "flowplayer.rtmp-3.2.1.swf",
slowmotion: "flowplayer.slowmotion-3.2.0.swf",
pseudostreaming: "flowplayer.pseudostreaming-3.2.2.swf"
};
#actionButtons {
text-align:center;
margin-top:30px;
}
// What is $(document).ready ? See: http://flowplayer.org/tools/documentati ... ment_ready
$(document).ready(function() {
// initialize scrollable together with the autoscroll plugin
var root = $("#scroller").scrollable({circular: true}).autoscroll({ autoplay: true });
// provide scrollable API for the action buttons
window.api = root.data("scrollable");
});