PDA

View Full Version : Resolved Chrome reports js file not found



theremotedr
02-27-2016, 04:32 PM
1) Script Title: Google search terms highlighter

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex10/googlehighlighter.htm

3) Describe problem: Chrome F12 shows Failed to load resource: the server responded with a status of 404 (Not Found)

Ive applied the script to each of my pages in the head section.
I have downloaded the script & put it into a folder named google and file called google.js

Here is a page for you to check if needed http://www.theremotedoctor.co.uk/karsuzuki.html?scrollto=selection

My question is,
Is the script correctly installed & is it working ?

jscheuer1
02-27-2016, 07:30 PM
This is an old script, so not sure how well it still works. That said, um - Chrome is correct, http://www.theremotedoctor.co.uk/google.js is a 404 not found. Did you not understand that you were supposed to download the google.js file from the demo page and upload it to the same folder as where the page that's using it resides?

theremotedr
02-27-2016, 07:54 PM
Ah right.
I downloaded the file BUT put it in the js folder with the others within my site folder.
What I should of done was just put the js file in my site folder with all my HTML files ?

jscheuer1
02-27-2016, 07:59 PM
Right, or set the path to it in the script tag.

theremotedr
02-28-2016, 09:39 AM
Now changed.
Thanks