sphere (Horizontal)"

From Documentation
m (Created page with '{{ZKStyleGuidePageHeader}} __TOC__ This is the '''sphere (Horizontal)''' mold for '''Slider'''. =Source= <br /> {{CSSSource | url= | control= |}} =Structure= =Events= <br …')
 
 
(4 intermediate revisions by one other user not shown)
Line 6: Line 6:
  
 
=Source=
 
=Source=
<br />
 
 
{{CSSSource
 
{{CSSSource
| url=
+
| url=zul/src/archive/web/js/zul/inp/css/slider.css.dsp
| control=
+
| control=Slider
 
|}}
 
|}}
  
 
=Structure=
 
=Structure=
 +
[[Image:Slider-sphere-hor1.jpg]]
  
 +
[[Image:Slider-sphere-hor2.jpg]]
 +
 +
=Events=
 +
{{Template:Style Guide Event
 +
|.z-slider-sphere-hor
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|V
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|display=none
 +
}} 
  
  
=Events=
 
<br />
 
 
{{Template:Style Guide Event
 
{{Template:Style Guide Event
| &nbsp;
+
|.z-slider-sphere-hor-btn
|-&nbsp;
+
|-over
|-&nbsp;
+
|-drag
|-&nbsp;
+
|
|-&nbsp;
+
|
|-&nbsp;
+
|
|!
+
|V
|!
+
|V
|!
+
|V
|!
+
|
|!
+
|
|!
+
|
 
}}
 
}}
  
 
=CSS Specification=
 
=CSS Specification=
<br />
 
 
{{Template:ZK Style Guide CSS}}
 
{{Template:ZK Style Guide CSS}}
 +
|-
 +
|.z-slider-sphere-hor
 +
|The scroll bar
 +
|background:transparent no-repeat scroll 0 top;
 +
background-image:url(${c:encodeURL('~./zul/img/slider/slider-bg.png')});
 +
 +
font-size:0;
 +
height:22px;
 +
line-height:0;
 +
margin-right:7px;
 +
zoom:1;
 +
|-
 +
|.z-slider-sphere-hor-center
 +
|The left of scroll bar
 +
|background:transparent no-repeat scroll right -22px;
 +
background-image:url(${c:encodeURL('~./zul/img/slider/slider-bg.png')});
  
 +
font-size:0;
 +
height:22px;
 +
line-height:0;
 +
margin-right:-7px;
 +
position:relative;
 +
zoom:1;
 +
|-
 +
|.z-slider-sphere-hor-btn
 +
|The scroll button
 +
|width: 14px; height: 15px; position: absolute; left: 0; top: 3px;
 +
background-color : transparent;
 +
background-repeat : no-repeat;
 +
background-position : 0 0;
 +
background-image : url(${c: encodeURL('~./zul/img/slider/slider-circle.png')});
 +
|}
  
 
{{ZKStyleGuidePageFooter}}
 
{{ZKStyleGuidePageFooter}}

Latest revision as of 08:52, 13 September 2010



This is the sphere (Horizontal) mold for Slider.

Source

The CSS source for Slider from GitHub


Structure

Slider-sphere-hor1.jpg

Slider-sphere-hor2.jpg

Events

CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-slider-sphere-hor
Supported: V

Note: An exclamation mark(!) means that the action effect is done by CSS background , not CSS background-position


CSS\Action Normal (Open) Hover Click, Select, and Drag. Focus Focus and Hover Disable
Naming: .z-slider-sphere-hor-btn -over -drag
Supported: V V V

Note: An exclamation mark(!) means that the action effect is done by CSS background , not CSS background-position

CSS Specification

Class Name Description Default Values
.z-slider-sphere-hor The scroll bar background:transparent no-repeat scroll 0 top;

background-image:url(${c:encodeURL('~./zul/img/slider/slider-bg.png')});

font-size:0; height:22px; line-height:0; margin-right:7px; zoom:1;

.z-slider-sphere-hor-center The left of scroll bar background:transparent no-repeat scroll right -22px;

background-image:url(${c:encodeURL('~./zul/img/slider/slider-bg.png')});

font-size:0; height:22px; line-height:0; margin-right:-7px; position:relative; zoom:1;

.z-slider-sphere-hor-btn The scroll button width: 14px; height: 15px; position: absolute; left: 0; top: 3px;

background-color : transparent; background-repeat : no-repeat; background-position : 0 0; background-image : url(${c: encodeURL('~./zul/img/slider/slider-circle.png')});



Last Update : 2010/09/13

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.