via PayPal / credit card
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
Im trying to add:
so.addVariable("showLogo", "false");
so.addVariable("dataFile", "mfs.xml");
but it still shows the logo and does not want to load the mfs.xml file.
my index.html looks like this:
<body>
<div id="monoSlideshow">
<p><strong>Please install Flash and turn on Javascript.</strong></p>
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("monoslideshow.swf", "SOmonoSlideshow", "498", "185", "7", "#B4B4B4");
so.write("monoSlideshow");
so.addVariable("showLogo", "false");
so.addVariable("dataFile", "mfs.xml");
so.write("mssHolder");
// ]]>
</script>
</body>
what am i doing wrong here?
Ruben
You have two placeholders, monoSlideshow and mssHolder, try using only the one in the div id, and put it on the bottom line. Dunno if that solves the problem, but it's a start.
i have tried the following, but still the same problem.:
<div id="monoSlideshow">
<p><strong>Please install Flash and turn on Javascript.</strong></p>
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("monoslideshow.swf", "SOmonoSlideshow", "498", "185", "7", "#B4B4B4");
so.write("monoSlideshow");
so.addVariable("showLogo", "false");
so.addVariable("dataFile", "mfs.xml");
// ]]>
</script>
Please add the variables before writing the the SWFObject, like so:
<code>
var so = new SWFObject("monoslideshow.swf", "SOmonoSlideshow", "498", "185", "7", "#B4B4B4");
so.addVariable("showLogo", "false");
so.addVariable("dataFile", "mfs.xml");
so.write("monoSlideshow");
</code>
Great !! thanks.
hi i just cant seem to get this step done...the site "slideshow" is working for me great...but i still cant get rid
of the logo in the beginning. please help anyone. thanx.heres the script
<?xml version="1.0" encoding="utf-8"?>
<script src="swfobject.js" type="text/javascript" ></script>
<body>
<div id="monoSlideshow">
<p><strong>Please install Flash and turn on Javascript.</strong></p>
</div>
<div> <slideshow>
<preferences
imageTransition = "rightToLeft"
imageTransitionTime = "1"
autoPlay = "false"
imageScaleMode = "downscaleToFill"
controlAlign = "bottomRight"
controlMarginX = "668"
controlMarginY = "75"
controlIconSize = "15"
controlIconSpacing = "20"
controlColor = "FFFFFF"
controlIconSpacing = "8"
controlIconColor = "9B9B9B"
controlIconRollOverColor = "D3D3D3"
controlShadowSize = "0"
showAlbumsButton = "false"
showThumbnailsButton = "false"
controlAutoHide = "false"
showPreviousButton = "true"
showPauseButton = "false"
showNextButton = "true"
showControls = "true"
/>
<album thumbnail="album/albumThumbnail.jpg" title="Example album" description="Example description" imagePath="album/images" thumbnailPath="album/thumbnails">
<img src="photo1.jpg" />
<img src="photo2.jpg" />
<img src="photo3.jpg" />
<img src="photo4.jpg" />
<img src="photo5.jpg" />
<img src="photo6.jpg" />
<img src="photo7.jpg" />
<img src="photo8.jpg" />
<img src="photo9.jpg" />
<img src="photo10.jpg" />
<img src="photo11.jpg" />
</slideshow>
</div>
<script type="text/javascript">
// <![ [
var so = new SWFObject("monoslideshow.swf", "SOmonoSlideshow", "498", "185", "7", "#B4B4B4");
so.addVariable("showLogo", "false");
so.addVariable("dataFile", "mfs.xml");
so.write("monoSlideshow");
// ]]>
</script>
</body>
You've totally mixed up the HTML with the XML. You need to have a HTML file to be displayed by the browser, it loads the .SWF, which loads the .XML
Read the manual and read it again.
thanx for the insight fuzzphoto...here's the real script (still not werkin...but closer i think)
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Monoslideshow Example page</title>
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body>
<div id="monoSlideshow">
<p><strong>Please install Flash and turn on Javascript.</strong></p>
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("monoslideshow.swf", "SOmonoSlideshow", "480", "360", "7", "#ffffff");
so.addVariable("showLogo", "false");
so.addVariable("dataFile", "index.xml");
so.write("monoSlideshow");
// ]]>
</script>
</body>
</html>
ok...this seems to be working in the index (html),the logo is gone ...though when i load the swf....the logo is still there.....any ideas folks ?
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Monoslideshow Example page</title>
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body>
<div id="mssHolder">
<p><strong>Please install Flash and turn on Javascript.</strong></p>
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("monoslideshow.swf", "mss", "480", "360", "7", "#ffffff");
so.addVariable("showLogo", "false");
so.addVariable("dataFile", "monoslideshow.xml");
so.write("mssHolder");
// ]]>
</script>
</body>
</html>
1 to 9 of 9