2 replies [Last post]
vladuz976
Offline
newbie
L.A.
Last seen: 15 years 6 weeks ago
L.A.
Timezone: GMT-8
Joined: 2006-02-15
Posts: 2
Points: 0

Hi i got this gallery template for my photography website.
it works fine in IE and firefox but in safari clicking the thumbnails doesn't make the big images stay. The main images only stay while I am holding the mouse on the links. can someone help me fix this?
the css validates and xhtml does, too except for some alt statements for the pics, but that should cause any problems.

Any help would be appreciated.

http://www.vladuz976.com/files/templates/scroller_gallery/

Thanks,

Eric

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 9 years 41 weeks ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

I suspect the anchor is not

I suspect the anchor is not retaining focus. I haven't come across this before, consequently I can't help with a work around. A reasonable starting point would be to try giving all the thumbnail anchors explicit tabindex values.

TheRabbit
Offline
newbie
Last seen: 14 years 52 weeks ago
Joined: 2007-07-09
Posts: 1
Points: 0

Hi, I came across the same

Hi, I came across the same problem, but the only work around that I have found is to include javascript code in order to force focus in safari.

function getfocus(id) {document.getElementById(id).focus()}

Then for each instance, you include
id="xxxxxx" onclick="getfocus(id)"

This works, but then it makes a weird outline, in order to get rid of it you need to add:
outline: none; to your css file

As of now I still have not found a work around in css.

If you come across anything, it would be most helpful.
haha.

One more thing, for your photo album, are the pictures taken directly from your camera, or did you compress them?
I just wanted to know what program you used to compress your pictures if you did.

Thanks