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

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

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

  • 3 antwoorde
  • 1 het hierdie probleem
  • 1 view
  • Laaste antwoord deur andrewcooley

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.

Gekose oplossing

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" />
Lees dié antwoord in konteks 👍 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

Gekose oplossing

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" />

Gewysig op deur 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.