Scrollbar visibility

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
toiva Offline
Posting Freak
Posts: 822
Joined: Aug 2008
Reputation: 15
Post: #1
I've been trying to hide Confluence scrollbars until being focused. Problem now is that by allowing hidden focus it lets the scrollbar be focused even when the there's less than one page of items.

Easiest example to take a look at is list id 50 in ViewsFileMode.

Code:
<visible allowhiddenfocus="true">[Control.IsVisible(50) + !Skin.HasSetting(PassiveScrollbars)] | [Control.IsVisible(50) + Skin.HasSetting(PassiveScrollbars) + Control.HasFocus(60)]</visible>

I tried counting the number of items and pages with IntegerGreaterThan but does not help in this case. Any way around this?
find quote
`Black Online
Skilled Skinner
Posts: 2,070
Joined: Apr 2009
Reputation: 51
Location: Germany
Post: #2
<animation effect="fade" end="0" time="300" tween="sine" easing="inout" condition="!Control.HasFocus(id_of_scrollbar)">Conditional</animation>

[Image: xp1080-21.png]
find quote
toiva Offline
Posting Freak
Posts: 822
Joined: Aug 2008
Reputation: 15
Post: #3
The answer is pretty damn obvious when you see it in front of your eyes, thanks. Blush
find quote