Topic: Error message: AutoViewer requires JavaScript and the Flash Player

I uploaded my gallery. And now got this message.

Can anyone help me?

Tks in advance.

Last edited by Ptdesousa (2010-08-11 21:00:55)

Re: Error message: AutoViewer requires JavaScript and the Flash Player

Please check the AutoViewer FAQ, Question 1: http://www.simpleviewer.net/autoviewer/support/faq.html

Felix Turner
SimpleViewer Support Team.

Re: Error message: AutoViewer requires JavaScript and the Flash Player

Already followed this instructions, and nothing changed.

Any other suggestions?

Re: Error message: AutoViewer requires JavaScript and the Flash Player

What is the URL of the page you are having issues with?

Mike Richards
SimpleViewer Support Team.

Re: Error message: AutoViewer requires JavaScript and the Flash Player

The Url

It's my website.

Tks.

Last edited by Ptdesousa (2010-08-12 22:47:13)

Re: Error message: AutoViewer requires JavaScript and the Flash Player

It's possible that the JavaScript section of your page is causing the problem due to there being no line breaks in your page.
Use line feeds/carriage returns (ie hit 'Enter') to separate each line (at least in the JavaScript section).

Also, you should use a Doctype Declaration.  Put the following code at the very beginning of your page.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Last edited by Steven Speirs (2010-08-12 21:12:36)

Steven Speirs
SimpleViewer Support Team.

Re: Error message: AutoViewer requires JavaScript and the Flash Player

MonkeyBoy,

Could you please help me fix it? Giving me more especs intructions?


I'm new on this stuff, and just a photographer trying to put his photos online.

Looking forward to it.

Cheers,

Pt.

Re: Error message: AutoViewer requires JavaScript and the Flash Player

Sure.  Here's your AutoViewer.htm page with line breaks in the code and an appropriate Doctype Declaration.
http://www.box.net/shared/lafovm6ore
Upload this overwriting your existing AutoViewer.htm page and see if it helps.

Last edited by Steven Speirs (2010-08-12 21:06:52)

Steven Speirs
SimpleViewer Support Team.

Re: Error message: AutoViewer requires JavaScript and the Flash Player

Monkeyboy,

You're my hero. It works! Thank you.

Hope i can't make it work with the other galleries. If it doesn't bother you: Can you tell me which is the origin of the problem(I want to solve it)??

Tks again.

Pt.

Re: Error message: AutoViewer requires JavaScript and the Flash Player

The problem was that all your JavaScript lines were strung together with no line breaks.
If you open up your original file, you'll see this:

var fo = new SWFObject("autoviewer.swf", "autoviewer", "100%", "100%", "8", "#181818");        //Optional Configuration        //fo.addVariable("langOpenImage", "Open Image in New Window");        //fo.addVariable("langAbout", "About");        //fo.addVariable("xmlURL", "gallery.xml");        fo.write("flashcontent");    

In the tidied up version, it looks like:

var fo = new SWFObject("autoviewer.swf", "autoviewer", "100%", "100%", "8", "#181818");
//Optional Configuration
//fo.addVariable("langOpenImage", "Open Image in New Window");
//fo.addVariable("langAbout", "About");
//fo.addVariable("xmlURL", "gallery.xml");
fo.write("flashcontent");

... with each instruction on its own line.  There is a 'hidden' line break character (a carriage return and line feed on Windows or just a line feed on a Mac) at the end of each JavaScript line in the tidied version (created by hitting the 'Enter' key).
HTML tags aren't so fussy when it comes to line breaks in the code but JavaScript is.

Steven Speirs
SimpleViewer Support Team.