Topic: Embed Autoviewer

For those of you like me who struggled to insert Autoviewer into an existing HTML page, I have now discovered how to do it.

You can edit the index.html file to your hearts content, just make sure you include the following code where you want the gallery to be:

<script type="text/javascript" src="flashobject.js"></script>
          <div style="background-color: rgb(24, 24, 24); text-align: center; margin-top: 45px; height: 659px;" 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>

<p style="margin-top: 0px; height: 0px;">
<script type="text/javascript">
var fo = new FlashObject("viewer.swf", "viewer", "100%", "100%", "8", "#181818"); fo.write("flashcontent"); </script></p>

Obviously adjust according the colours and size etc!

Good luck!

David Towers

Re: Embed Autoviewer

Here is a much tidier version:

<script type="text/javascript" src="flashobject.js"></script>
<div style="background-color: FFFFFF; margin-top: 0px; height: 659px;" id="flashcontent">SimpleViewer
requires Macromedia Flash.

    <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", "100%", "100%", "8", "#FFFFFF"); fo.write("flashcontent"); </script></p>
</div>

3

Re: Embed Autoviewer

On my website autoviewer I use inline frame to start Autoviewer. This way it opens nicely integrated into the webdesign.
I cannot post links here, but if you want to see how it looks: google 'Hans Hockx' and check my B&W photography site.