Topic: I want to use 2 separate tiltviewer galleries in a single HTML page

We use the tiltviewer pro version
I want to use 2 separate tiltviewer galleries in a single HTML page.

is it possible
my page is built up as a table
i want to have the first gallery in 1 cel and the other gallery in another cell of the same table on the same HTML page.

I only succeed in getting one of the 2 to work but not at same time

hope someone can help me
it is kinda urgent so if anyone can spare some time to help me out it woud be really great!

thanks in advance
Sharky

Re: I want to use 2 separate tiltviewer galleries in a single HTML page

Setting aside dimensions, here is an example (<body> section only) which will embed 2 TiltViewer galleries into 1 table on 1 HTML page.

<body>
    <table>
        <tr>
            <td id="flashcontent1"></td>
        </tr>
        <tr>
            <td id="flashcontent2"></td>
        </tr>
    </table>
    <script type="text/javascript">
        var fo1 = new SWFObject("TiltViewer.swf", "viewer1", "100%", "100%", "9.0.28", "#000000");            
        fo1.addVariable("useFlickr", "false");
        fo1.addVariable("xmlURL", "gallery1.xml");
        fo1.addVariable("maxJPGSize","640");
        fo1.addVariable("useReloadButton", "false");
        fo1.addVariable("columns", "3");
        fo1.addVariable("rows", "3");
        fo1.addParam("allowFullScreen","true");
        fo1.write("flashcontent1");            
    </script>    
    <script type="text/javascript">
        var fo2 = new SWFObject("TiltViewer.swf", "viewer2", "100%", "100%", "9.0.28", "#000000");            
        fo2.addVariable("useFlickr", "false");
        fo2.addVariable("xmlURL", "gallery2.xml");
        fo2.addVariable("maxJPGSize","640");
        fo2.addVariable("useReloadButton", "false");
        fo2.addVariable("columns", "3");
        fo2.addVariable("rows", "3");
        fo2.addParam("allowFullScreen","true");
        fo2.write("flashcontent2");            
    </script>    
</body>
Steven Speirs
SimpleViewer Support Team.

Re: I want to use 2 separate tiltviewer galleries in a single HTML page

Hi Steven

thanks a lot,

with your example I was able to solve the problem !

it works fine now,

Thanks for your very quick response.
if you are ever in the south of Holland, I will buy you a beer !!!! wink