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

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>

Richard

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

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

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