adambedford Posted February 10, 2010 Share Posted February 10, 2010 So I've got some CSS that uses the :hover function to display an additional div, however this is applied to the results of a query and the results are a result of a repeat region (obviously). The problem is that when I hover over the results, <li> in this case, the div overlay shows for all records, not just the one that is hovered over. I kind of get why this is happening (CSS happens once the repeat region has happened and so the :hover is applied to all of the <li>s) however I can't think of a way to overcome it. I'm sure there's a way somehow, even if it involves using javascript, but what is it? I'm not 100% sure this is a PHP problem so please move this is I'm way off the mark. Any ideas? Link to comment https://forums.phpfreaks.com/topic/191599-div-overlay-and-repeat-region/ Share on other sites More sharing options...
PHP Monkeh Posted February 10, 2010 Share Posted February 10, 2010 Provide some code so we can try and understand what it is you're referring to. Link to comment https://forums.phpfreaks.com/topic/191599-div-overlay-and-repeat-region/#findComment-1010020 Share on other sites More sharing options...
adambedford Posted February 10, 2010 Author Share Posted February 10, 2010 I was in the process of posting my code and explaining a little more when I realised what was wrong! Thank you because without going through the motions of posting my code on here I wouldn't have figured it out! Link to comment https://forums.phpfreaks.com/topic/191599-div-overlay-and-repeat-region/#findComment-1010085 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.