|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<krpano version="1.0.8" onstart="startup();">
<scene onstart="showname();"
<action name="startup">
loadscene(get(scene[0].name), null, MERGE);
buildthumbs();
</action>
<action name="showname">
textadd(plugin[scenename].html,[p],get(xml.scene),[p]);
</action>
<plugin name="scenename" url="textfield.swf">
|
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »servaas« (4. Juli 2011, 11:27)
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<krpano version="1.0.8" onstart="startup();">
<scene onstart="showname();">
<action name="startup">
loadscene(get(scene[0].name), null, MERGE);
buildthumbs();
</action>
<action name="showname">
textadd(plugin[scenename].html,[p],get(xml.scene),[p]);
</action>
<plugin name="scenename" url="textfield.swf">
|
|
|
Quellcode |
1 |
<scene name="kamer 01 - chambre 01" title="kmr1" onstart="" thumburl="kmr1.tiles/thumb.jpg"> |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »servaas« (4. Juli 2011, 15:01)
|
|
Quellcode |
1 |
<scene onstart="showname();"> |
|
|
Quellcode |
1 |
<event onxmlcomplete="showname();" /> |
You are opening a <scene> node that you are not closing. Also <scene> nodes don't work the way you may think they do. Instead ofyou probably want to do something like
![]()
Quellcode
1 <scene onstart="showname();">
![]()
Quellcode
1 <event onxmlcomplete="showname();" />
You also need to add keep="true" to the textfield plugin, and some styling.