Topic: Trouble with index.html while viewer.swf is ok

Hello guys,

I don't understand something:

my viewer is ok

but the html page containing it is not

I'm usng Safari.

Thx for your help.

Re: Trouble with index.html while viewer.swf is ok

Have you tried this, from FAQ number 12

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="">
Get Macromedia Flash.</a> If you have Flash installed,
<a href="index.html?detectflash=false">click to view gallery</a>
<script type="text/javascript">         
var fo = new FlashObject("viewer.swf", "viewer",
"640", "480", "6", "#181818");             
fo.addParam("quality", "best");         


in order to better assist you, please provide a url, relevant code and details about your problem.

Re: Trouble with index.html while viewer.swf is ok

Thanks a lot mate, it works fine and validates Xhtml.