Hi Guys,
Do anyone got successfully working on integrating an image slider>Piecemaker v2 ???
It uses a javascript to load a swf object, but the TinyMCE editor seems to parse it.
Thanks
Jeff
Hi Guys,
Do anyone got successfully working on integrating an image slider>Piecemaker v2 ???
It uses a javascript to load a swf object, but the TinyMCE editor seems to parse it.
Thanks
Jeff
Hi,
As far as I know, the only way to get any slider to work in Moodle is to add the necessary javascript and code into a customised theme. Similar to the way my Graphite theme works.
Mary
Hi Mary,
Thanks for the reply, can you point me where could I place those script?
Basically here's the HTML embed code that works:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>The Piecemaker by Modularweb</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<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>
</head>
<body>
<center>
<div id="piecemaker">
<p>Put your alternative Non Flash content here.</p>
</div>
</center>
</body>
</html>
Thanks,
Jeff
This solve my problem easily:
by embedding a label on Frontpage then editing it's HTML code to insert the iframe src=yourswf
<center><iframe name="piecemaker" align="middle" src="http://yourdomain.com/piecemaker.swf" scrolling="no" frameborder="no" height="#" width="#"> </iframe></center>
#=size of your swf