Changeset 2287
- Timestamp:
- 06/22/12 10:52:34 (11 months ago)
- Location:
- branches/jw6/doc
- Files:
-
- 4 added
- 1 edited
-
assets/skinning-item.jpg (added)
-
assets/skinning-menus.jpg (added)
-
assets/skinning-playlist.jpg (added)
-
assets/skinning-tooltip.jpg (added)
-
skin-reference.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/jw6/doc/skin-reference.html
r2272 r2287 145 145 <h3>Controlbar timeSlider</h3> 146 146 147 <p>The timeSlider is a special case. It is stretched horizontally to fill the controlbar, and it consists of multiple layers of elements. Here's a n overview, with the entire list following below:</p>147 <p>The timeSlider is a special case. It is stretched horizontally to fill the controlbar, and it consists of multiple layers of elements. Here's a diagram, followed by the list of elements:</p> 148 148 149 149 <p><img src="assets/skinning-timeslider.jpg" alt="A diagram of JW Player controlbar timeslider elements" /></p> … … 276 276 <h2>Playlist</h2> 277 277 278 <p>The playlist sidebar is displayed below or to the right of the display area. It consists of a list of items and dividers. A scrollbar slider is displayed if the entire playlist does not fit the sidebar:</p> 279 280 <p><img src="assets/skinning-playlist.jpg" alt="A diagram of JW Player playlist elements" /></p> 281 282 <p>The height of a sidebar item is determined by the height of the <em>item</em> element. It contains an <em>itemImage</em> element and <em>title</em>, <em>description</em> and <em>duration</em> texts. The <em>itemImage</em> element is placed at the left, with equal top, left and bottom margins. Next, the texts are placed to the right of the image, with 10px horizontal padding.</p> 283 284 <p><img src="assets/skinning-item.jpg" alt="A diagram of JW Player playlist item elements" /></p> 285 286 <p>When the <a href="playlists.html">Sidebar layout option </a> is set to <em>basic</em>, the itemImage and description are hidden and the sidebar items are narrowed to a fixed height of 30px.</p> 287 288 <h3>Playlist Settings</h3> 289 290 <dl><dt>activecolor (999999)</dt><dd> 291 The color for the item texts when that item is the currently active item. 292 </dd><dt>backgroundcolor (000000)</dt><dd> 293 The playlist background color. Displayed below any transparante item / slider elements. 294 </dd><dt>fontcolor (cccccc)</dt><dd> 295 The standard color for the item texts. 296 </dd><dt>overcolor (ffffff)</dt><dd> 297 The color for the (active or inactive) item texts when the mouse is hovering over that item. 298 </dd><dt>fontsize (11)</dt><dd> 299 Font size of the item texts. 300 </dd><dt>fontweight (normal)</dt><dd> 301 Font weight of the item texts (normal, bold). 302 </dd></dl> 303 304 <dl><dt>titlecolor (cccccc)</dt><dd> 305 Override the title fontcolor with this option, for a more visually interesting playlist. 306 </dd><dt>titleactivecolor (ffffff)</dt><dd> 307 Override the title activecolor with this option, for a more visually interesting playlist. 308 </dd><dt>titleovercolor (ffffff)</dt><dd> 309 Override the title overcolor with this option, for a more visually interesting playlist. 310 </dd><dt>titlesize (13)</dt><dd> 311 Override the title fontsize with this option, for a more visually interesting playlist. 312 </dd><dt>titleweight (normal)</dt><dd> 313 Override the title fontweight with this option, for a more visually interesting playlist. 314 </dd></dl> 315 316 <h3>Playlist Elements</h3> 317 318 <dl><dt>divider</dt><dd> 319 Element that's displayed in between (but not above/below) the playlist items. 320 </dd><dt>item</dt><dd> 321 Background graphic for each playlist item. Stretches to the width of the playlist, minus the slider width (if visible). 322 </dd><dt>itemActive</dt><dd> 323 Active state for item. Replaces item whenever the corresponding playlist item is the currently playing/loaded playlist item. 324 </dd><dt>itemImage</dt><dd> 325 Image placeholder. This element is visible when the playlist is set to <strong>extended</strong> and the item does not have an image associated with it. If the item does have an image, this element is used as a mask for the video thumb. 326 </dd><dt>itemOver</dt><dd> 327 Over state for item. Replaces item (active or inactive) whenever the user mouses over. 328 </dd></dl> 329 330 <dl><dt>sliderCapTop</dt><dd> 331 Top end cap for the playlist slider. Placed above sliderRail. Set this for playlist padding or edge effects. 332 </dd><dt>sliderCapBottom</dt><dd> 333 Bottom end cap for the playlist slider. Placed below sliderRail. Set this for playlist padding or edge effects. 334 </dd><dt>sliderRail</dt><dd> 335 Background of the vertical slider. When the playlist's slider is visible, sliderRail is stretched to the height of the playlist, minus the height of the end caps. 336 </dd><dt>sliderRailCapTop</dt><dd> 337 Top end cap for the playlist slider rail. Add this to enable round borders, small arrows or other effects. 338 </dd><dt>sliderRailCapBottom</dt><dd> 339 Bottom end cap for the playlist slider rail. Add this to enable round borders, small arrows or other effects. 340 </dd><dt>sliderThumb</dt><dd> 341 Draggable thumb for the vertical slider. This element is stretched vertically, proportional to the visible area of the playlist versus its total size. 342 </dd><dt>sliderThumbCapTop</dt><dd> 343 Top end cap for the playlist slider thumb. Add this to enable round borders, small arrows or other effects. 344 </dd><dt>sliderThumbCapBottom</dt><dd> 345 Bottom end cap for the playlist slider thumb. Add this to enable round borders, small arrows or other effects. 346 </dd></dl> 347 278 348 279 349 280 350 <h2>Tooltip</h2> 351 352 <p>The tooltip is an element that's displayed when interacting with certain buttons of the controlbar or dock. There are three types of tooltips: basic labels, the HD and CC menus and the Volume slider. The labels and volumeSlider show and show on rollover, the hdMenu and ccMenu menus show and hide on click.</p> 353 354 <p>The basic layout of tooltip elements is that of a 9-slide grid, with a stretched background and elements for all edges. An arrow is displayed on top of either the capTop or capBottom:</p> 355 356 <p><img src="assets/skinning-tooltip.jpg" alt="A diagram of JW Player tooltip elements" /></p> 357 358 <p>In addition to this grid, the volumeSlider, ccMenu and hdMenu each have an additional top and bottom cap, which are displayed on top of the <em>background</em>. Next, the volume has a rail, progress, thumb set of elements (like other sliders) and the hdMenu and ccMenu share <em>menuOption</em> elements:</p> 359 360 <p><img src="assets/skinning-menus.jpg" alt="A diagram of JW Player tooltip menu elements" /></p> 361 362 <p>Like with other elements, the font of the tooltip texts can be controlled with several settings.</p> 363 364 <h3>Tooltip Settings</h3> 365 366 <dl><dt>fontcase (normal)</dt><dd> 367 Casing of the tooltip texts. Can be normal or upper. 368 </dd><dt>fontcolor (ffffff)</dt><dd> 369 Color of the tooltip texts. 370 </dd><dt>fontsize (12)</dt><dd> 371 Font size of the tooltip texts. 372 </dd><dt>fontweight (normal)</dt><dd> 373 Font weight of the tooltip texts. Can be bold or normal. 374 </dd><dt>activecolor (ffffff)</dt><dd> 375 Color of the tooltip menu texts when that option is the currently active one. 376 </dd><dt>overcolor (ffffff)</dt><dd> 377 Color of the tooltip option texts when rolling over that option with the mouse. 378 </dd></dl> 379 380 <h3>Tooltip Elements</h3> 381 382 <dl><dt>arrow</dt><dd> 383 Small arrow that points from the tooltip area to the source element. Half of the arrow is displayed on top of the element, half of the arrow is displayed outside of it. 384 </dd><dt>background</dt><dd> 385 Background element of the tooltip. Is stretched both horizontally and vertically to fit the tooltip contents. 386 </dd><dt>capLeft</dt><dd> 387 Element that's displayed to the left of the background element. Is stretched vertically, but not horizontally. Used to draw borders. 388 </dd><dt>capRight</dt><dd> 389 Element that's displayed to the right of the background element. Is stretched vertically, but not horizontally. Used to draw borders. 390 </dd><dt>capTop</dt><dd> 391 Element that's displayed above the background element. Is stretched horizontally, but not vertically. Used to draw borders. 392 </dd><dt>capBottom</dt><dd> 393 Element that's displayed below the background element. Is stretched horizontally, but not vertically. Used to draw borders. 394 </dd><dt>capTopLeft</dt><dd> 395 Element that's displayed to the top left of the background. Is not stretched at all. Used to draw round edges. 396 </dd><dt>capTopRight</dt><dd> 397 Element that's displayed to the top right of the background. Is not stretched at all. Used to draw round edges. 398 </dd><dt>capBottomLeft</dt><dd> 399 Element that's displayed to the bottom left of the background. Is not stretched at all. Used to draw round edges. 400 </dd><dt>capBottomRight</dt><dd> 401 Element that's displayed to the bottom right of the background. Is not stretched at all. Used to draw round edges. 402 </dd></dl> 403 404 <dl><dt>hdMenuTop</dt><dd> 405 Element that's displayed above the quality selection menu. The width of this header is the width of the menu. 406 <dt>hdMenuBottom</dt><dd> 407 Element that's displayed below the quality selection menu. 408 </dd><dt>ccMenuTop</dt><dd> 409 Element that's displayed above the captions selection menu. The width of this header is the width of the menu. 410 </dd><dt>ccMenuBottom</dt><dd> 411 Element that's displayed below the captions selection menu. 412 </dd><dt>menuOption</dt><dd> 413 Checkbox element for menu options, displayed to the left of the option labels. 414 </dd><dt>menuOptionOver</dt><dd> 415 Checkbox element for menu options, displayed when an option is active. 416 </dd><dt>menuOptionActive</dt><dd> 417 Checkbox element for menu options, displayed when rolling over the option. 418 </dd></dl> 419 <dl><dt>volumeCapTop</dt><dd> 420 Element that's displayed above the rail. Used for drawing borders or emboss effects. 421 </dd><dt>volumeCapBottom</dt><dd> 422 Element that's displayed below the rail. Used for drawing borders or emboss effects. 423 </dd><dt>volumeRail</dt><dd> 424 Background element for the vertical volume slider. The height of this rail is used as the range for the volume. 425 </dd><dt>volumeProgress</dt><dd> 426 Element that visualizes the current volume percentage. Is masked for the current volume percentage. 427 </dd><dt>volumeThumb</dt><dd> 428 Draggable thumb that indicates the current volume setting. Is not stretched. 429 </dd></dl> 281 430 282 431
Note: See TracChangeset
for help on using the changeset viewer.
