katgal Posted August 17, 2006 Posted August 17, 2006 I am totally baffled. I was creating a site for a friend of mine. Got the main template all set up, and hosted it temporarily on my work site (dedicated server through another hosting company), http://www.calphys.org/assets/crosswords/bkb/bkb_index.htm. The page uses css, and has a javascript "style switcher" to let the user select their own color scheme. Everything works perfectly on my work site and on my local drive, but when I upload the files to my TCH hosted site (http://www.katgal.com/bkbdesigngroup/bkb_index.htm), tells me I have an error on the page and the style sheet switcher doesn't work. I uploaded the same files, nothing is different. Could it be possible that I need to change the settings in the control panel or install some behind the scenes feature for it to work on my TCH hosted site??? Quote
TCH-Don Posted August 17, 2006 Posted August 17, 2006 Welcome to the forum katgal To me the styleswitcher.js looks different on the two sites. On the tch site it is all on one line and does not seem to be complete. Quote
TCH-Bruce Posted August 18, 2006 Posted August 18, 2006 Welcome to the forum katgal Upload your .js file again in ASCII mode. It should work properly then. Quote
katgal Posted August 18, 2006 Author Posted August 18, 2006 Thank you gentlemen for your help, but neither suggestion solves the problem. When I open the js files, they're both identical. But just in case, I reuploaded (made my ftp software was set to ascii).... Still no luck. Quote
TCH-Bruce Posted August 18, 2006 Posted August 18, 2006 Problem solved!!! Yes, I would be interested in knowing how it was solved as well. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.