Page 1 of 1
class styles stop working when upload to server
Posted: Sat Feb 03, 2007 12:38 am
by garry27
I've got a simple javascript table which uses styles that allows you to move rows up and down a table. It works fine if I load it locally but if I upload the files to a remote server and access them, the dynamic stuff stops working. here's the url address I'm testing it at:
http://www.nl-webspace.co.uk/~unn_p921847/s2/st/tbl2
Please somone take a look and advice me on how I can fix this.
Garry
Posted: Sat Feb 03, 2007 12:24 pm
by califdon
You don't seem to have your "common.css" file loaded in the same directory as your html page.
Posted: Sat Feb 03, 2007 3:13 pm
by garry27
the example i've referenced uses embedded styles, decalred in between style tags. the common.css file has nothing to do with the script. i've removed it anyway just to make sure. like i was saying, the page works when i open it through a browser locally but not over a remote connection.
Posted: Sat Feb 03, 2007 3:25 pm
by garry27
my mistake. what i meant to say was, i'v now removed the script element that calls the "common.css" file
Posted: Sat Feb 03, 2007 3:33 pm
by nickvd
Posted: Sat Feb 03, 2007 3:52 pm
by garry27
it's definitely there-in the same root directory. for some reason it won't open in IE but it does open in firefox.
Posted: Sat Feb 03, 2007 5:12 pm
by nickvd
It doesn't work in firefox, see the picture i linked to below...
The file cannot be found...
Don't just assume that you uploaded it. You didn't, or you did but the filename is different, or the path is incorrect.
Here's proof...
http://jefs.com/nick/Untitled-1.gif
Posted: Sat Feb 03, 2007 7:15 pm
by garry27
aye, it was the wrong file name on the server end.
sorry for that. my debugging skills aren't the greatest.
