|
|
Source code |
1 2 3 4 5 |
<plugin name"autorotatebutton"
url="autorotatebuttonimage.png"
align="bottom" x="0" y="10"
onclick="switch(autorotate.enabled);"
/>
|
|
|
Source code |
1 2 3 4 5 |
<plugin name"fullscreenbutton"
url="fullscreenbuttonimage.png"
align="bottomright" x="10" y="10"
onclick="switch(fullscreen);"
/>
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 |
<plugin name"helpimage"
url="help.png"
align="center"
visible="false"
onclick="set(visible,false);"
/>
<plugin name"helpbutton"
url="helpbuttonimage.png"
align="leftbottom" x="10" y="10"
onclick="switch(plugin[helpimage].visible);"
/>
|
when you look at the examples in the viewer download package (e.g. the "examples/buttons/" one),Where do I add the source code?
This post has been edited 1 times, last edit by "Sam Rohn" (Nov 15th 2010, 2:48am)