Guest Posted September 2, 2005 Share Posted September 2, 2005 Does anybody know how to do a mouse over effect in php. I have an image in cube cart that I would like to do a mouse over effect, but i can't figure it out. Quote Link to comment Share on other sites More sharing options...
markscarts Posted September 2, 2005 Share Posted September 2, 2005 You should be a little more specific: Where is the image, what is the image, what type of mouseover effect are you looking for? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 2, 2005 Share Posted September 2, 2005 A mouseover effect is NOT a PHP issue, it's a HTML, XHTML, or CSS issue. But yeah, we need to know what image you're talking about to tell you how to do what you want. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 2, 2005 Share Posted September 2, 2005 Sorry guys...... The image comes up in my in my categories.tpl box....it is a image button I want the original image to be replaced by another image on mouse over and then back to the original on mouse out. Hope this helps. SIR WILLIAM....I used your advice and was able to figure out how to pull up my category image as a button inside the categories.tpl box Quote Link to comment Share on other sites More sharing options...
markscarts Posted September 2, 2005 Share Posted September 2, 2005 OK, that's what I was wondering . . . if the image were pulled from the database by php and dynamically generated on the page, I wouldn't have an answer. If this is a button image in your skin's styleImage file, there may be a relatively easy answer. The only way I personally can produce a rollover is with a javascript. It is a simple javascript. You can probably learn about a script, by searching the web, that will do this for you. Then it's just a matter of getting the pieces in the right place in your files. Quote Link to comment Share on other sites More sharing options...
markscarts Posted September 2, 2005 Share Posted September 2, 2005 Simple Rollover Quote Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2005 Share Posted September 3, 2005 i did not think it would be easy........thanks for getting back to me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.