im looking for a php script that has mouse over and active image depending on what page you have, i cant seem to make images active like if in on the home page the home button nav is the active state and if on chat the chat is active state
For php to do mouseover you have to send and receive from the server, and javascript has to detect the mouseover. So why not do it with javascript all the way?
I'm presuming that by 'active' you mean a hyperlink. The only way that i can think of offhand is to use the onclick="window.open();" method, as opposed to wrapping it in an anchor tag. You can call the window.open method inside a function, and you can assign it without having it explicit in the img tag. You can reuse the current window too, the default for that method is a new window.