I have a folder with a complete site that someone emailed me. After I click on the index.htm file the site won't load completely on chrome from the local source. However, when I upload it to the web, chrome loads it fine. Can anyone help?
Is it using some javascript pulled directly from the web?
PHP pulling from a database ( doubt it ) if all you did was upload it?
I really have no idea why a static site would work remotely, but not locally?
I'm putting my thinking hat on.
Unfortunately Chrome does not load .html files on a local drive (as far as I am aware).
Have a search on on google and you will find plenty of discussions about this and some possible solutions, including some plugins - none of which have worked for me.
Let me know if you have better luck!
Actually I just tested my own theory to find it false. I think it might be best to ignore my advice.
I had a similar problem (and still do) with some content I created on a Windows machine and when viewing it through Chrome it did not load - but in other browsers it was fine. But on my Mac through Chrome it works fine...
Need to investigate and start my own thread now - sorry.
I would work through the file step by step. Make sure there is no server code in the file (even though the extension is HTML, there could still be some). Next, I would try deleting all JS on the page, and see if that helps. Then remove CSS references.
would it solve the problem if i just bought coda 2? i don't want to go back in and change a bunch of stuff just to change it back later.....
There are a lot of differences to running a file locally. It won't process any server side includes, paths may not resolve correctly, services won't exist, etc.
The short answer is to run a web server on your local machine and deploy the pages there. The long answer depends on what the pages are trying to do.
Try CSS and HTML code validation to find errors:
CSS
http://jigsaw.w3.org/css-validator/
HTML
http://validator.w3.org/
This might help, my thinking hat just broke.