View Full Version : 2 state rollover image script
08-09-2012, 01:34 AM
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
08-09-2012, 02:15 AM
08-09-2012, 03:02 AM
08-09-2012, 04:24 PM
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.