Slideshow not working in Windows FF

22 views
Skip to first unread message

charlieholder

unread,
Nov 5, 2009, 2:18:02 PM11/5/09
to Mootools Slideshow
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.4) Gecko/
20091016 Firefox/3.5.4 (.NET CLR 3.5.30729)

The slideshow is not displaying in FF only. When I use the Wed
Developer toolbar, it recognizes the div is there with all the correct
properties, just no images. Don't really know exactly what code to
show, so hopefully this is enough:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="slideshow/slideshow.css"
media="screen" />
<script type="text/javascript" src="slideshow/mootools.js"></script>
<script type="text/javascript" src="slideshow/slideshow.js"></script>
<script type="text/javascript">
//<![CDATA[
window.addEvent('domready', function(){
var data = { 'banner01.png': { caption: '' }, 'banner02.png':
{ caption: '' }, 'banner03.png': { caption: '' } };
var myShow = new Slideshow('show', data, {controller: false,
height: 259, hu: 'img/', thumbnails: false, width: 596});
});
//]]>
</script>
</head>
<body id="home">
<div id="content">
<div class="wrap">
<div id="main">
<div id="show" class="slideshow"><img src="img/banner01.png"
alt="" /></div>
</div>
</div>
</div>
</body>
</html>

If anyone has had this problem before, please help. I searched the
group for "broken firefox" and "slideshow not display firefox" with no
results. No link. It's all local.

Thanks.

charlieholder

unread,
Nov 5, 2009, 2:26:56 PM11/5/09
to Mootools Slideshow
I used the Error Console to find this when the page loads: I don't
know what it means:
Error: uncaught exception: [Exception... "Security error" code:
"1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" location:
"file:///W:/path/to/the/file/slideshow/mootools.js Line: 15"]

Line 15 of that file IS the file. It's the compacted entirety of the
file.

I made two changes to the original file:
1. updating the width/height of the div
2. removing the margin centering so that it would be left aligned

thewamphyri

unread,
Nov 5, 2009, 3:51:31 PM11/5/09
to Mootools Slideshow
Hello,

The first step would be to see if you have an error in Fx I would
think - I can't see an error in the coding you offered (it looks like
have been working on for the last few days anyhow) - so, see if this
one works in Fx, I have no problems with it in said browser:

http://www.warwicks.com.au/weap_fire_r.html

If it does work - perhaps compare the coding and work backwards? (It's
not entirely the same as yours - but should be close enough to de-bug
with).

I'm by no means an expert on the slideshow system - but I am aware of
how frustrating it is waiting for answers - so hopefully I have helped
some what!

Troy

Aeron Glemann

unread,
Nov 5, 2009, 4:28:54 PM11/5/09
to mootools-...@googlegroups.com
The security errors are probably because things are located on different domains.... similar to this:

http://code.google.com/p/slideshow/wiki/FAQ#Why_aren%27t_the_Slideshow_animations_working_correctly?

charlieholder

unread,
Nov 6, 2009, 12:31:17 PM11/6/09
to Mootools Slideshow
So, I'm not using an @import and my slideshow css is referenced with a
relative path (<link rel="stylesheet" type="text/css" href="slideshow/
slideshow.css"
media="screen" />). Is my link href not a relative path? I was like
100% sure it was. Or do I need to move the slideshow.css file to the
same folder as my index.html file?

On Nov 5, 4:28 pm, Aeron Glemann <aeron.glem...@gmail.com> wrote:
> The security errors are probably because things are located on different
> domains.... similar to this:
>
> http://code.google.com/p/slideshow/wiki/FAQ#Why_aren%27t_the_Slidesho...
> ?

charlieholder

unread,
Nov 6, 2009, 12:41:14 PM11/6/09
to Mootools Slideshow
Ok. I don't know if this is the solution to the problem, but when I
took the site live, the problem seemed to fix itself. Can anyone
comment on it not working in FF locally only? It is working fine and I
changed nothing from what I posted earlier, lol.

Aeron Glemann

unread,
Nov 6, 2009, 12:52:07 PM11/6/09
to mootools-...@googlegroups.com
Sometimes it's a problem with localhost, or 127.0.0.1 or your "hosts" file.... could be many things depending on your specific setup.

Christian Muise

unread,
Nov 19, 2009, 9:51:28 AM11/19/09
to Mootools Slideshow
I'm having this issue as well. Current version of FF (3.5 I think)
on a windows box throws that security error. It works fine when the
paths aren't relative to a higher directory: ie. it breaks when you
have something like hu: '../images'

This is a really annoying thing to deal with since you can't mess
around with the settings until you put them live. If there is a fix
that involves the "hosts" file, what would you suggest doing?

brut...@nps.edu

unread,
Jan 24, 2011, 12:51:47 PM1/24/11
to Christian Muise, aeron....@gmail.com, mootools-...@googlegroups.com

On Nov 19 2009, 6:51 am, Christian Muise <christian.mu...@gmail.com>
wrote:


>   I'm having this issue as well. Current version of FF (3.5 I think)
> on a windows box throws that security error. It works fine when the
> paths aren't relative to a higher directory: ie. it breaks when you
> have something like hu: '../images'
>
>   This is a really annoying thing to deal with since you can't mess
> around with the settings until you put them live. If there is a fix
> that involves the "hosts" file, what would you suggest doing?

i have the same problem in Firefox 3.6.13 (latest) that prevents
offline use.

the problem does not occur in IE, Safari, Chrome or Opera.

this seems like overzealous security by netscape on local system.
wondering if a netscape expert or group can address this?

Reply all
Reply to author
Forward
0 new messages