Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Image Gallery Plugin (Square It)
#40
@Matthew - wrapping things within an <a> (other than plain text or img tags) is invalid in all forms of HTML prior to HTML5. So if your site uses for example XHTML 1.0, then it's not a good idea to use the construction you suggest. If the site uses HTML5, you can go right ahead. Wink However, the simpler solution is to use css to fake it - at least for "modern" browsers (i.e not IE):
Code:
ul#square-it-gallery li:hover {background:different-than-default; color:different-than-default; etc}

...

@Julian - thanks, found it (it was the thing I'd tried earlier that didn't work for the layout). Then realised I'd somehow got into my head that this would crop the thumbs, not just resize it. I swear, I don't know where that thought came from. But it explains my initial confusion. Anyway, problem solved and gallery works very well. Big ups.
There's nothing more foolish than a man chasing his hat.
Reply


Messages In This Thread
Simple Image Gallery Plugin (Square It) - by FredK - 2010-03-14, 21:31:45



Users browsing this thread: 3 Guest(s)