Didn't know this!
In fact I can't get numbers to work anywhere in class or id names!
Didn't know this!
In fact I can't get numbers to work anywhere in class or id names!
Last edited by blues_driven; 4th Jan 2012 at 08:26 pm.
I don't tend to use numbers too regularly in my semantic names, mainly when working with a grid system that uses col1, col2, col3, etc. Where are you trying to use them that you can't get them to work?
It was for the years in my timeline on oldcomputers.net, was trying to highlight each group of li on hover of the year but couldn't get it working. They're all in the same list but I didn't want to change the markup and break the javascript so left it in the end.
Just checked it out - maybe could have made it a list of lists so each <li> inside the sliding <ul> could have contained a <ul> with the year and each of the computers. Either way, I really like the solution you came up with![]()
That would work except for the captions, would have to change the js. I'm happy with it though, it's not supposed to look flashy!
Bookmarks