Sie sind nicht angemeldet.

1

Montag, 8. November 2010, 08:46

Textfield with scrollbar

Hello everybody,

For the need of a projet, we have made a textfield plugin with a scrollbar.

You can download it in the attachment of this post.

Actually, it has all the properties of the "classic" textfield plugin proposed by Klaus and we added 4 others attributes :
  • offset_top
  • offset_bottom
  • offset_left
  • offset_right
These attributes permit to introduce offset from the 4 borders of the plugin.
With this, you can specify "margin" in pixel. Even if you resize the stage (enter fullscreen for example), the plugin will be (width - offset_left - offset_right) large and (height - offset_top - offset_bottom) height, and this watever the size of plugin is (in % or in pixel)
Maybe it's useless for you but we had need this feature... so ....

Example of usage :

Quellcode

1
2
3
4
5
6
7
8
9
10
<plugin name=scrolltextfield" url="%SWFPATH%/plugins/textfield_scrollable.swf"
  width="100%" height="100%"
  css="p { color: #ff0000; font-size: 10px;} a { color: #0000ff; }"
  html="[p]This is sample text[/p]"
  offset_top="80"
  offset_bottom="20"
  offset_left="20"
  offset_right="20"
  background="true"
  />


This is a first version that worked for our needs and any remarks are welcome.
»jeffouille« hat folgende Datei angehängt:

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »jeffouille« (8. November 2010, 10:32)


fotojehle

Anfänger

Beiträge: 29

Wohnort: Pleigne

Beruf: Fotograf

  • Nachricht senden

2

Montag, 8. November 2010, 09:22

That's great. Thank you very much Felix

3

Mittwoch, 10. November 2010, 20:05

Very useful! Thank you!

4

Donnerstag, 11. November 2010, 04:21

Many thanks jeffouille.

I know this will come in handy in the future *thumbup*

herbechantal

Anfänger

Beiträge: 20

Wohnort: France

Beruf: Photographer

  • Nachricht senden

5

Donnerstag, 11. November 2010, 13:16

thanks for your plugin

I will no be much of a help, but I am thanking all of you on this forum for their discussions which are great heolp for beginners like me. I tried your scrolling text and it works well.
Chantal

wilsan

Schüler

Beiträge: 66

Wohnort: Nederland

Beruf: Logistics Specialist – Planning & Logistics

  • Nachricht senden

6

Freitag, 12. November 2010, 19:18

Thanks jeffouille very useful.
Dank U wel. (dutch)

zbigi

Anfänger

Beiträge: 5

Wohnort: Bielsko-Biała, Poland

  • Nachricht senden

7

Freitag, 12. November 2010, 21:32

Thanks a lot!

Thank You, jeffouille.
Well done!
That is exactly plugin, which many of krpano beginners have expected.
Zbigi

8

Montag, 15. November 2010, 12:36

You are all welcome *g*

A new version which correct some css bug when changing html data
»jeffouille« hat folgende Datei angehängt:

9

Montag, 15. November 2010, 17:48

Hi jeffouille,

Great *thumbsup* !!! There is no so much plugins out there for krpano... So thank you to share this one *thumbup* ...

If you like, could you also share the source ??? It could be great to study how to build such *rolleyes* ...

SAlut.

10

Dienstag, 16. November 2010, 05:50

Nice plugin!What about horizontal scroll? ;-)
And if i set round corners then scrollbar overlap them

Thanks.
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

11

Dienstag, 1. März 2011, 22:31

Scroll has the only stanard view or it can be changed?

12

Dienstag, 12. April 2011, 04:55

Hi,

I'm using the following code for the plugin which works but I would also like to include a weblink to open a page in another window or perhaps a youtube link.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<plugin name="scrolltextfield" parent="STAGE" url="%SWFPATH%/tourfiles/plugins/textfield_scrollable.swf"
  width="20%" height="30%"
  css="p { color: #000000; font-family: Georgia; font-size: 11px;} a { color: #000000; }"
  	
  html="[p]My descriptive text goes here but I would also like to add a URL in here also.[/p]"
  
  offset_top="80"
  offset_bottom="20"
  offset_left="20"
  offset_right="20"
  origin="bottom right" 
  x="18" 
  y="250"
  background="false"
  bordercolor="0xFFFFFF"
  borderwidth="0"
  />



How do I add the following regular code (with open in new window) to the above without constantly getting XML parser error: Unterminated attribure (#1095)

Quellcode

1
<a href="http://www.krpano.com">open krpano site</a>


Thanks,

Andrew

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

13

Dienstag, 12. April 2011, 05:19

Try

Quellcode

1
html="[p]My descriptive text goes here but I would also like to add a URL in here also.[/p][a href=&quot;http://www.krpano.com&quot;]open krpano site[/a]"


Hi,

I'm using the following code for the plugin which works but I would also like to include a weblink to open a page in another window or perhaps a youtube link.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<plugin name="scrolltextfield" parent="STAGE" url="%SWFPATH%/tourfiles/plugins/textfield_scrollable.swf" 
  width="20%" height="30%"
  css="p { color: #000000; font-family: Georgia; font-size: 11px;} a { color: #000000; }"
  	
  html="[p]My descriptive text goes here but I would also like to add a URL in here also.[/p]"
  
  offset_top="80"
  offset_bottom="20"
  offset_left="20"
  offset_right="20"
  origin="bottom right" 
  x="18" 
  y="250"
  background="false"
  bordercolor="0xFFFFFF"
  borderwidth="0"
  />



How do I add the following regular code (with open in new window) to the above without constantly getting XML parser error: Unterminated attribure (#1095)

Quellcode

1
open krpano site


Thanks,

Andrew
</plugin>
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

14

Dienstag, 12. April 2011, 17:20

That's exactly it. Thanks very much Sacha.

Still having problems with the linked url being opened in the same window replacing the 360 degree image but 100% better than what I had yesterday *thumbsup*

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

15

Dienstag, 12. April 2011, 17:43

Then you need to be using events instead, to call the openurl function.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

16

Dienstag, 12. April 2011, 18:47

Thanks for the heads up. I looked around on the forum for events and found a post using this

Quellcode

1
<a href="event:openurl(http://www.novaipanema.com.br,_blank);">www.novaipanema.com.br</a>


Used &quot; [ ] instead from your previous example and got this working.

Quellcode

1
[a href=&quot;event:openurl(http://www.krpano.com,_blank);&quot;]open krpano site[/a]

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »andrew22222« (12. April 2011, 19:40)


17

Mittwoch, 29. Juni 2011, 12:06

I have some bugs with the scroll bar.



If in html data more images then text - no scroll bar

Zephyr

Profi

Beiträge: 1 003

Wohnort: Netherlands

Beruf: Web developer

  • Nachricht senden

18

Mittwoch, 29. Juni 2011, 13:26

add some enters or <br> its a bug with flash itself that exists as long as I know. Images are seen as 1 line heigh.

19

Mittwoch, 29. Juni 2011, 16:57

I have some bugs with the scroll bar.

If in html data more images then text - no scroll bar
Hello,

can u tell me (best with an example code) how u use images in html data? I try it but it dosnt work.

thx a lot,
Mira dawn

20

Mittwoch, 10. August 2011, 14:56

Hey!

First i want to thank you for this great plugin :) Awesome! *thumbup*

One thing i noticed tho which i would like you to check. When i add image(s) in the textfield, it make the pictures text quality really horrible! It looks really bad and this is keeping me from using the plugin for now. I uploaded a small example where there are pictures in the field and the same picture above the field. You see the difference in the quality of the text when comparing. Here is the example:

http://imagery.fi/virtualtours/scrollabl…iphonepano.html


Anyone else facing same thing?

Regards,

Jesse Passoja
Nelike Imagery
www.inelike.fi
Jesse Passoja
Passoja design
www.passojadesign.com