OK, well I'm not sure which css image viewer you're using. Could you post a link to the Dynamic Drive Demo page for it?
That said, there are two or three such css viewers in the DD code library that are all fairly similar. As far as I know, these were all developed without worring about touch devices. They rely upon the the hover: and sometimes focus: pseudo classes of links. Since touch devices don't technically mouse over or mouse out, sometimes these are unreliable. These are somewhat analogous to the mouseover, mouseout and click events in javascript. It looks like what you're missing is acknowledgment of what would on a PC or Laptop be a mouse out.
You might be able to get that by tapping anywhere else on the page, or by tapping on a link that goes nowhere, something like:
HTML Code:
<a href="#">Close</a>
or:
HTML Code:
<a href="javascript:void(0);">Close</a>
If the gallery is using focus:, either of those (if placed outside the gallery links) could cause a blur event when tapped. But there's no guarantee.
If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.
And tell us which DD css gallery you're using (link to it).
Bookmarks