| settings | |
|---|---|
| settings= | |
| title_<title string> | The page title. Mandatory |
| --scale_<scale, %> | Image scale in %. Positions are not affected. Default: 100 |
| --snapdist_<distance, px> | Where does a dragged item snap into place. Default: 50 |
| --dir_<URL path> | Url path to the image directory. Default: |
| --debug_1 | Turn on debug mode. Default: off |
| --showbutton_0 | Hide Show buttons. Default: on |
| --wearbutton_0 | Hide Wear buttons. Default: on |
| --mainbutton_<wear|toggle> | The main button's function. 'wear' toggles wear/unwear while keeping the item's visibility. 'hide' toggles wear/unwear and hides the unworn item. Choosing 'wear' hides the 'Wear' button. Default: on |
| items | |
| <id>= | id must be a unique text string |
| parent_<parent id or 0> | A parent item has value 0. Mandatory |
| --label_<label text> | Text shown on button. Default: item id |
| --click _<tlx%>_<tly%>_<brx%>_<bry%> |
Clickable area within the image. Rectangle specified by two positions within the image given as percentages of width and height with origin in upper left corner: Top left x and y = tlx% and tly%. Bottom right x and y = brx% and bry%. Default:_0_0_100_100 |
| --snappos_<x%>_<y%> | Worn position relative to parent. Default:_0_0 |
| --size_<width>_<height> | Override image size in pixels. Default: 0 = Use image size |
| --home_<x>_<y> | Home position when off in canvas pixel coordinades: x from left to right. y from top to bottom. Default: _0_0 |
| --alpha__<0.0-1.0> | Set opacity of item. Default: 1.0 |
| --img_<imagename> | Worn item image file. If left blank the image file path is assumed to be <site dir><parent id>-<item id>.php If specified without http:// the file path is assumed to be <site dir><img> If specified with http:// the site dir is ignored. Default:<site dir><parent id>-<item id>.php
Example: With no img specified, |
| --imgoff_<imagename> | Unworn item image file. Default with img specified: img. Default with img blank:<site dir><parent id>-<item id>b.php
Example: Same item as above. imgoff URL becomes |
| --slot_<name> | Items sharing the same slot name are mutually exclusive as worn. Default: |
| --coloring_<name> | Items sharing the same color name are mutually exclusive as worn. A color cannot be moved away from its base. In addition to colors this can also be used for other things, e.g. poses. snappos, click, slot, home and imgoff are all ignored as irrelevant for a coloring item. Default: |
| --altimg_<coloring group name>_<imagename> | Alternative version of this item to be displayed when a color activates. |
| --defaultvisible_0 | Set default visibility to off. Default: on |
| --visible_0 | Set visibility to off. Default: on |
| --worn_1 | Set to start out worn. Default: off |
| --unsnap_0 | This item cannot be removed except by being replaced by another from its group. |
| Examples | |
click_25_30_75_80
25% 75%
-----|---------|-----
| | | |
| image | |
| | | |
30% ---------------- |
| | click | |
| | area | |
| | | |
| | | |
| | | |
80% ---------------- |
| |
| |
---------------------
snappos_25_30
25%
-----|---------------
| | |
| parent image |
| | |
30% ---------------- |
| | | |
| | image | |
| | | |
| | | |
| ----------- |
| |
| |
| |
---------------------
| |