Announcement

  •  » Extensions
  •  » Trouble with ul.thumnail value/funcion

#1 2005-12-23 00:16:29

Stilleto
Member
2005-12-22
12

Trouble with ul.thumnail value/funcion

Hello
In content.css are this line
#content UL.thumbnails SPAN.wrap2 {
  border: 1px solid #ff0000;    /* thumbnails border color and style */
  -moz-border-radius: 4px;    /* round corners with Geko */
  border-radius: 4px 4px;    /* round corners with CSS3 compliant browsers */
}
#content UL.thumbnails SPAN.wrap2:hover {
  border-color: yellow;        /* thumbnails border color when mouse cursor is over it */

If i understand it correctly, second of them should change border color of the thumbnail image ((sub)category screen), when the mouse is over the picture. Is it really works? I dont see any diffrence when the cursor is over the image, and elsewhere. Or Maybe IE and Opera dont recognize this value? What and where must i change something, that this function works correctly? Anybody have idea?

Offline

 

#2 2005-12-23 08:49:29

tlegras
Member
2005-02-02
177

Re: Trouble with ul.thumnail value/funcion

Stilleto wrote:

If i understand it correctly, second of them should change border color of the thumbnail image ((sub)category screen), when the mouse is over the picture. Is it really works? I dont see any diffrence when the cursor is over the image, and elsewhere. Or Maybe IE and Opera dont recognize this value? What and where must i change something, that this function works correctly? Anybody have idea?

css "hover" is not supported by IE but works fine in Firefox/mozilla. See for instance http://www.quirksmode.org/css/contents.html for compatibility
for same effect in IE you will need javascript hack to simulate this.
get firefox.

Thierry.

Offline

 

#3 2005-12-23 09:15:30

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: Trouble with ul.thumnail value/funcion

tlegras wrote:

css "hover" is not supported by IE

What? Who said that?
"hover" works perfectly with IE and FF.
I've never heard about that before.


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#4 2005-12-23 12:32:54

Stilleto
Member
2005-12-22
12

Re: Trouble with ul.thumnail value/funcion

So maybe somebody tell me, why opera and IE doesnt support this function in standard theme (yoga, yoga dark) and my theme, where i changed border and border hover value to red and yellow or any another color.
PWG1.5.1, Apache 2.0.54, PHP 5.0.5., MySQL 5.0.13RC Everything go on WinXP Prof SP2
Maybe this is fault newest program's version?

Offline

 

#5 2005-12-23 17:16:04

tlegras
Member
2005-02-02
177

Re: Trouble with ul.thumnail value/funcion

VDigital wrote:

tlegras wrote:

css "hover" is not supported by IE

What? Who said that?
"hover" works perfectly with IE and FF.
I've never heard about that before.

i should have said is partially supported by IE. hover only works in IE with links.
check the link i gave. it provides a demo which works with firefox but not with IE.

So i don't think SPAN.wrap2:hover can ever work with IE6. Does it?

Thierry.

Offline

 

#6 2005-12-23 19:45:01

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: Trouble with ul.thumnail value/funcion

FYI.

The dynamic pseudo-classes: :hover, :active, and :focus
This is a direct link to W3C Reference.
There is no restriction explained on hover.
Given examples are only links.
SPAN.wrap2:hover isn't supported currentlly by IE official releases.
But we know perfectly write css without using this syntax, as yoDan explain in a French topic about new concept of thumbnails' pages.

What do you think about SPAN.wrap2:active or SPAN.wrap2:focus? Do they work with other browsers?


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#7 2005-12-23 23:00:02

Stilleto
Member
2005-12-22
12

Re: Trouble with ul.thumnail value/funcion

functions action and focus dont work. But i found something else when use standard function 'hover'. Please look here..
http://lexx.eu.org/~stilleto/fotki/2.jpg
Its only works on first image (Opera - yes, IE - no) , and results are as you can see here.

Now the best.. everything looks good in Firefox. Damn, its confusing :(
Do not know what too say...

Offline

 

#8 2005-12-23 23:51:09

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: Trouble with ul.thumnail value/funcion

Stilleto, you're absolutely right.
The problem is how we read W3C Reference.
FF takes always takes the largest sense, and it works.
Other browsers try to do at the minimum of investments, and the result is less functionnal.

For your information, the team and our friends work hard to find the best way to show thumbnails...
Here below, there is two links to current samples done by yoDan, it is our current synthesis of what we are able to do.


Tell us what do you think about our code.


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#9 2005-12-27 00:39:29

Stilleto
Member
2005-12-22
12

Re: Trouble with ul.thumnail value/funcion

Nice :)
But for now i surrender.. I will wait when somebody makes 'repair' in next version of PHP :) or maybe somebody repairs Opera and IE (LOL);]
Dont have time for it.. I disabled this function :)
Merry christmas for all.. of Happy New Year.. now :]

Offline

 
  •  » Extensions
  •  » Trouble with ul.thumnail value/funcion

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact