Hi, I'm writing a website for uni and everything worked fine until yesterday when the JavaScript (embedded video opening in a new window from a link) on one of my pages just wouldn't work. The copy hosted on my webspace at uni works but the copy I have here at home suddenly doesn't do anything when the link's clicked.
I ran the file through a program called "JavaScript Code Improver" which outputted a file that worked fine, despite having identical code to the original. However, when I rename the new file to the same as the original, the script still works but none of the other pages of my site will link to it even though it has the right filename. Again, the links do nothing when clicked.
Any thoughts on how I can fix this?
Sorry if it's something trivial which I just can't see but I haven't been writing HTML for too long.
Thank you,
Karl
I ran the file through a program called "JavaScript Code Improver" which outputted a file that worked fine, despite having identical code to the original. However, when I rename the new file to the same as the original, the script still works but none of the other pages of my site will link to it even though it has the right filename. Again, the links do nothing when clicked.
Any thoughts on how I can fix this?
Sorry if it's something trivial which I just can't see but I haven't been writing HTML for too long.
Thank you,
Karl