Adobe 65007312 Programming Guide - Page 138
Pagination tags, Variables available for grids, Grid tags
UPC - 883919154398
View all Adobe 65007312 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 138 highlights
CHAPTER 6: Writing a Web-engine Plug-in Web SDK tagsets 138 This defines a simple grid with only one cell, which displays a photo from the referenced file. It uses a variable, image, which is evaluated at run time as a reference to the currently selected photo. The following local variables are available in the context of the ThumbnailGrid tag: Variables available for grids cellIndex Contains the 1-based index for the current cell in the grid. row Contains the 1-based row number for the current cell. column Contains the 1-based column number for the current cell. image Contains the image proxy. This is a complex data type defined within the LuaPage environment; see "LuaPage data types" on page 134. The following grid tags are defined: Grid tags ThumbnailGrid GridPhotoCell GridEmptyCell GridRowEnd GridRowStart Provides the definition of a thumbnail grid for pages in your gallery. Contains the remaining tags as children. Defines content to be repeated for each cell. Contained in a ThumbnailGrid tag; for example: Optional. Defines an empty cell in the grid. Optional. Defines content to be placed at the end of each row. Optional. Defines content to be placed at the start of each row. Pagination tags This set of tags can be used to add page navigation buttons to your HTML pages. Predefined page-navigation buttons include one for the current page, one for direct access to other pages, and ones for the next and previous page, which can be disabled for the first and last pages. You can associate your own text or destination with each type of button. For example: 1 then %> $page $page