LifeInBinary Posted March 5, 2007 Share Posted March 5, 2007 I have a couple of scripts, such as disable right-click and disable text select - that I am putting in every page on a website. I am using an external style sheet. Couldn't I just put all of the JavaScript in an external .js file and call it from the CSS file? How would I do that?Assume the .js file name is security.js - could someone post code on how I would link to this in the CSS file?Thanks a bunch,LifeInBinary. Link to comment Share on other sites More sharing options...
jlhaslip Posted March 5, 2007 Share Posted March 5, 2007 Can't imagine that is possible. The javascript would need to be called from the html file, I believe. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now