- Joined
- Jul 6, 2005
- Posts
- 41,663
- Reaction score
- 14
- Points
- 0
- Location
- Home is where the heart is
- Website
- www.myspace.com
I am writing a website that may require the addition of a piece of javascript to stop right-clicking (I know, it doesn't deter the determined). Since there may potentially be several tens of pages, can I just keep the javascript in one file and have each webpage link to it, (rather like the way stylesheets work) than having to copy and paste it each time and then having to scroll past it every time I edit the webpage?
Thanks in advance.
Thanks in advance.























