Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

A javascript slideshow works perfectly in FF 10.0 on my PC but fails when transferred to webspace, giving an "is not a function" error. The file is http://www.bcbm.co.uk/shares/Apperley/index2.htm. Any help welcome. It works on line in Safari

more options

It's a straightforward HTML page generated with Frontpage 4.0 and uses javascript from Javascript Kit (http://www.javascriptkit.com/script/script2/thumbslider.shtml) which works fine in the demo. My version also works fine when the file is opened by FF 10.0 from my PC, but not when loaded from webspace. The .js, .css and image files are all on line in both cases.

It's a straightforward HTML page generated with Frontpage 4.0 and uses javascript from Javascript Kit (http://www.javascriptkit.com/script/script2/thumbslider.shtml) which works fine in the demo. My version also works fine when the file is opened by FF 10.0 from my PC, but not when loaded from webspace. The .js, .css and image files are all on line in both cases.

Chosen solution

You missed out a forward slash in some links (http:/ instead of http://):

<script type="text/javascript" src="http:/www.bcbm.co.uk/js/thumbslide.js">
<link rel="stylesheet" type="text/css" href="http:/www.bcbm.co.uk/js/thumbslide.css" />
Read this answer in context 👍 0

All Replies (3)

more options

I got a file that worked by copying from the demo page and the only difference in the final files was that the non-working one had single slashes in the url references to the .js and .css files.

Why that was ignored when running from the file on my pc, I don't know. The "is not a function" error message appeared to be unrelated to this, but would result from not finding the .js file

more options

Chosen Solution

You missed out a forward slash in some links (http:/ instead of http://):

<script type="text/javascript" src="http:/www.bcbm.co.uk/js/thumbslide.js">
<link rel="stylesheet" type="text/css" href="http:/www.bcbm.co.uk/js/thumbslide.css" />

Modified by cor-el

more options

Thanks. I still don't know how it could work OK on my pc when using the duff url - but there is no longer a problem.