Dear visitor, welcome to krpano.com Forum.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
JS plugins
Are there any sound, video, google maps plugins for this version? i.e. non swf versions?
Hi,
no, at the moment there are no .js plugins,
best regards,
Klaus
Cheers Klaus,
How about text, is there a way of including text in this version?
Hi,
there is an integrated and automatic replacement for the textfield.swf,
best regards,
Klaus
Hi Klaus,
First off thank you for this update. I have been working with it this weekend and bravo to you for getting this out to us.
Not sure what you mean by your comment there is an integrated and automatic replacement for the textfield.swf????
Sorry, but not understanding.
Robert
means technically textfield.swf is a flash file it should not work at all on iphone/ipad. however when i used it on a tour i was surprised to see the textfield was there in an iphone. i was wondering how that could be but it must be the automatic replacement he is talking about.
Hi,
the .swf Flash were skipped by default in the krpanoJS,
but in one case - when a file named "textfield.swf" should be loaded,
an krpanoJS internal replacement plugin is used instead,
best regards,
Klaus
Are there any good samples that will show how to implement the textfield so that it works in both flash and ipad?
The krpanoJS viewer has an internal implementation of the textfield plugin. When a plugin with a url named "textfield.swf" should be loaded then the internal textfield will be used. But ntoe - the internal textfield plugin is supports only the very
basic features at the moment.
What basic features are supported? I am always getting a fatal error - loading or parsing error with the following regular code but haven't a clue what is the bare minimum.
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
<hotspot name="hs1"
style="hotspot_ani_white"
ath="242.79713408276154" atv="3.4418880850778795"
onhover="showtext('Click to Learn More',csmall);"
onclick="action(open,text_01);"
/>
<plugin name="text_01" devices="all" url="plugins/textfield.swf"
align="center" width="600" height="500" x="0" y="0" visible="false"
html="data:html_sunglasses"
css="data:css_content"
backgroundcolor="0x737373" bordercolor="0xffffff" roundedge="5" shadow="5" borderwidth="2" glow="4" glowcolor="0xffffff"
keep="true"
selectable="false"
alpha="0.7"
shadow="5"
autosize="none"
onhover="showtext(Click to Close, csmall);"
onclick="action(close,text_01); action(close_st,screen_tint);"
/>
<data name="html_sunglasses">
<p align="left">
<font face="Times" size="16" color="#FFFFFF">
<b>Sunglass Centre</b>
</font>
<br/>
</p>
<a>
<img src="client_xml/images/sunglasses.png"/>
</a>
<br/>
<p align="left">
<font face="Arial" size="13" color="#FFFFFF">
Our Sunglass Center is full of name brand eyewear that will make you look good at any outdoor event...<br/>
<br/>
Call or email us...
</font>
</p>
</data>
<data name="css_content">
a {color:#FFFFFF; font-weight:bold; margin-left:5; margin-right:5; text-align:left; }
</data>
|
Thanks in advance
Robert
Same problem here.
But what I have found so far is that it does not display the text from a data node like html="data:htmldata" but only text that is written in the html tag wihtin the plugin like html="this will be the text". Funny thing is that it does use the css formatting from the css node like css="data:css"
Hi,
at the moment the 'data:' is not supported in krpanoJS for the html or css textfield attributes,
best regards,
Klaus