Solarpitch Posted July 30, 2012 Share Posted July 30, 2012 Hi Guys, I have a simple slider I've code with jQuery that moves through a list of <li> elements. I want the user to have a option to show smaller thumbs and in doing so the slider changes to 2 rows of <li>. I've attached an example of what I'm talking about. Not sure what the best way to approach this is, maybe more of a css question? When the user switches between the 2 views I want the next <li> in the large view, to be the element below in the small view. Any help would be great. Link to comment https://forums.phpfreaks.com/topic/266462-2-rows-of-elements-in-a-slider/ Share on other sites More sharing options...
Mahngiel Posted July 31, 2012 Share Posted July 31, 2012 From: <ul> <li>IMG<//li> ... </li>IMG</li> </ul> To: <ul> <li><ul> <li>IMG</li> <li>IMG</li> </ul></li> ... <li><ul> <li>IMG</li> <li>IMG</li> </ul></li> </ul> Boom. Link to comment https://forums.phpfreaks.com/topic/266462-2-rows-of-elements-in-a-slider/#findComment-1365588 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.