bleustreak12 Posted June 5, 2009 Share Posted June 5, 2009 i have a table with certain tds and whenever i hover my mouse over any of those tds the background image should change. Now this can be achieved in ie7 and firefox and other browsers except ie6 i have achieved this through simple td:hover in css but this does not seem to be supported in ie6 So i was hoping whether i could achieve this through php coding Anybody have any idea how i can achieve this? Quote Link to comment Share on other sites More sharing options...
jxrd Posted June 5, 2009 Share Posted June 5, 2009 PHP is server side. You'll have to use javascript for IE6. Quote Link to comment Share on other sites More sharing options...
Maq Posted June 5, 2009 Share Posted June 5, 2009 So i was hoping whether i could achieve this through php coding AFAIK, you cannot achieve this with PHP, it lives on the server. Moving to JS section. Quote Link to comment Share on other sites More sharing options...
bleustreak12 Posted June 5, 2009 Author Share Posted June 5, 2009 ok so how will i achieve this in javascript Quote Link to comment Share on other sites More sharing options...
jxrd Posted June 5, 2009 Share Posted June 5, 2009 Google onmouseover Quote Link to comment Share on other sites More sharing options...
bleustreak12 Posted June 5, 2009 Author Share Posted June 5, 2009 i have tried searching and using lots of the code i found for mousehover it still does not work Quote Link to comment Share on other sites More sharing options...
Maq Posted June 5, 2009 Share Posted June 5, 2009 i have tried searching and using lots of the code i found for mousehover it still does not work That was pretty quick... In about 9 minutes you read through some tutorials and tried multiple techniques? Can we see the closest one? Quote Link to comment Share on other sites More sharing options...
jxrd Posted June 6, 2009 Share Posted June 6, 2009 Lol yeah. Nice observation Maq. It's onmouseover, not hover. That's why I put onmouseover. Quote Link to comment Share on other sites More sharing options...
bleustreak12 Posted June 8, 2009 Author Share Posted June 8, 2009 has anybody seen it implemented somewhere Quote Link to comment Share on other sites More sharing options...
jxrd Posted June 8, 2009 Share Posted June 8, 2009 ffs http://www.w3schools.com/jsref/jsref_onmouseover.asp Quote Link to comment Share on other sites More sharing options...
Adam Posted June 8, 2009 Share Posted June 8, 2009 Just do the smart thing and put... "You are using an outdated browser, upgrade to a much better one like Firefox or Chrome" 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.