holmedwa04 Posted September 22, 2006 Share Posted September 22, 2006 Hi,Im just wondering whether there is any sort of HTML code out there that makes an image change to another image when it is hovered over?Or even better still, is there any CSS code? Because I already have a stylesheet and have laready set a hover color for text. Link to comment Share on other sites More sharing options...
Err Posted September 23, 2006 Share Posted September 23, 2006 http://www.dynamicdrive.com/dynamicindex15/index.htmlThere you go, that might be of some intrest to you. Link to comment Share on other sites More sharing options...
holmedwa04 Posted September 23, 2006 Author Share Posted September 23, 2006 Thanks I have found one that I like, but is it possible to add the Java Script to a JS file, and link to it, because it makes my code look messy. Link to comment Share on other sites More sharing options...
Atom-G Posted September 23, 2006 Share Posted September 23, 2006 This is how you add the JS file if you don't want to put it all the source IN your html file. It's like an include: <html><head><script src="/thejsfile.js" type="text/javascript"></script></head><body></body></html> Link to comment Share on other sites More sharing options...
holmedwa04 Posted September 24, 2006 Author Share Posted September 24, 2006 Thanks, thats better now. 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