Hi all,

Just a small bug that I noticed:

Under Site Configuration -> Lightbox2 -> General -> Advanced Settings -> Animation Settings, I tried to set the "Resize duration" and "Caption slide down duration" to zero.

The instructions indicate that one can "Enter a value between 0 and 10.", however this still failed validation with the message: "You must enter a duration between 0 and 10 seconds.", so I had to set them to a small value (0.1) instead, which it accepted.

(Problem occurred on both FF 3.5.3 and Safari 4.0.3 on OS X)

Comments

stella’s picture

Category: bug » support
Status: Active » Fixed

The instructions say "Enter a value between 0 and 10". This means 0 and 10 are invalid. If you want you could enter 0.0001.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

JayKayAu’s picture

Hmm,

I see your point, and it is *strictly* correct.

However, I'd argue that saying "between 0 and 10" is probably ambiguous for most people, and deserves a little clarification. Perhaps you could add the parenthetical "(not inclusive)" to clear it up completely?

As an aside, why can't there be a value of exactly zero? Surely this is reasonable if you don't want any animation at all?

jyee’s picture

Status: Closed (fixed) » Closed (works as designed)

Thanks for the .0001 tip.

Also, if you're being strict about wording, then you ought to be strict about issue status. This issue was never "fixed", but instead "works as designed".