Topic: how to insert simplerviewer into my html page

I am trying to insert the simpleviewer into my website.

I insert all the code like it tells me in the FAQs question 11,

and I try to preview my gallery in a browser -
All that appears in the "SimpleViewer requires JavaScript and the Flash Player..." AND I HAVE FLASH

When I double click the index file offline it opens in a browser and it works perfectly.
How do I insert simpleviewer into my HTML page????

Re: how to insert simplerviewer into my html page

Please post you URL.

Mike Richards
SimpleViewer Support Team.

Re: how to insert simplerviewer into my html page

hi,
i have the same problem. Can me anyone tell whats the reason for this mistake. Sorry for my bad english.

I have my side uploaded under: http://www.foto-angerer.de/Test//Test/referenzen.html
The index.html generatet from simpleviewer works. I loaded this in the same direktory: http://www.foto-angerer.de/Test//Test/index.html.

Last edited by Lae (2009-09-03 01:53:09)

Re: how to insert simplerviewer into my html page

remove the ../ from before swfobject.js

<script type="text/javascript" src="../swfobject.js"></script>

Mike Richards
SimpleViewer Support Team.

Re: how to insert simplerviewer into my html page

thanks for your help. It works now. I´m not a expert in html :-( thank you very much for helping. I bought the Pro-Version.

Lae

Re: how to insert simplerviewer into my html page

Hi. I have the same problem but the / before object in the script was not there. Would appreciate some feedback. Heres the link

http://www.electric-rhyme.com/eve/Natur.html

Thanks a bunch. Been sitting with it for hours but cant seem to get it to work. Works offline thou.

BTW. I made it in webpage maker.. And made an iFrame which forwards to this address:

http://www.electric-rhyme.com/eve/Natur/Natur.html

As you can see, this works, but not in the iFrame for some reason.

Last edited by whackoz (2009-09-28 12:08:09)

Re: how to insert simplerviewer into my html page

whackoz

change <script type="text/javascript" src="Natur/swfobject.js"></script> to <script type="text/javascript" src="swfobject.js"></script>

also your xml is missing an </image> tag on line 14.

http://www.electric-rhyme.com/eve/Natur/gallery.xml


XML Parsing Error: mismatched tag. Expected: </image>.
Location: http://www.electric-rhyme.com/eve/Natur/gallery.xml
Line Number 15, Column 3:</simpleviewergallery>
--^

Mike Richards
SimpleViewer Support Team.

Re: how to insert simplerviewer into my html page

I'm also having this issue and I've tried all the troubleshooting stuff.  I'm assuming it's in my html or in the way I uploaded my folder (I'm not the most skilled of programmers)?  Could someone please take a look?

http://www.thephage.com

Thanks!

Re: how to insert simplerviewer into my html page

<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent"><b><b>SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></b></b></div><script type="text/javascript">var fo = new SWFObject("viewer.swf", "viewer", "800", "600", "8", "#181818");fo.write("flashcontent");    </script>

should be:

<script type="text/javascript" src="simpleviewer/swfobject.js"></script>
<div id="flashcontent"><b><b>SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></b></b></div><script type="text/javascript">var fo = new SWFObject("simpleviewer/viewer.swf", "viewer", "800", "600", "8", "#181818");fo.addVariable("xmlDataPath", "simpleviewer/gallery.xml");fo.write("flashcontent");    </script>
Mike Richards
SimpleViewer Support Team.

Re: how to insert simplerviewer into my html page

Thanks Mike,

It shows up now but I can't get the images in there.  I just get white x's.  I've tried changing the image and thumb paths to no avail.  I looked around on the message board and can't find an answer.  Would you be able to take a look again and see what I need to change?  I've tried leaving the paths blank as well as putting images/ and thumbs/ as well as longer pathways.