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.
You are not logged in. Please login or register.
SimpleViewer Forum → AutoViewer → 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.
Please check the AutoViewer FAQ, Question 1: http://www.simpleviewer.net/autoviewer/support/faq.html
Already followed this instructions, and nothing changed.
Any other suggestions?
What is the URL of the page you are having issues with?
The Url
It's my website.
Tks.
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">
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.
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.
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.
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.
SimpleViewer Forum → AutoViewer → Error message: AutoViewer requires JavaScript and the Flash Player
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.