Topic: Trouble with index.html while viewer.swf is ok
Hello guys,
I don't understand something:
but the html page containing it is not
I'm usng Safari.
Thx for your help.
You are not logged in. Please login or register.
SimpleViewer Forum → SimpleViewer v1 → Trouble with index.html while viewer.swf is ok
Hello guys,
I don't understand something:
but the html page containing it is not
I'm usng Safari.
Thx for your help.
Have you tried this, from FAQ number 12
quote
Copy the contents of your SimpleViewer gallery folder into the folder that contains your HTML page. Now edit your HTML page in a text editor. Add this code into the <head> tag:
<script type="text/javascript" src="flashobject.js"></script>
Add the following code in your HTML where you want SimpleViewer to appear. To set the size of SimpleViewer, replace "640", "480" with your required width and height
<div id="flashcontent">
SimpleViewer requires Macromedia Flash.
<a href="http://www.macromedia.com/go/getflashplayer/">
Get Macromedia Flash.</a> If you have Flash installed,
<a href="index.html?detectflash=false">click to view gallery</a>
</div>
<script type="text/javascript">
var fo = new FlashObject("viewer.swf", "viewer",
"640", "480", "6", "#181818");
fo.addParam("quality", "best");
fo.write("flashcontent");
</script>
Thanks a lot mate, it works fine and validates Xhtml.
cheers.
SimpleViewer Forum → SimpleViewer v1 → Trouble with index.html while viewer.swf is ok
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.