Sie sind nicht angemeldet.

1

Donnerstag, 13. Oktober 2011, 22:29

CSS in krpano-1.0.8.14 doesn't work correctly

Hi,

I upgrade KRpano from 1.0.8.12 to 1.0.8.14 and detect that CSS in the Textfield Plugin doesn't work correctly.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<plugin name="popuptext" parent="popupwindow" 
url="%SWFPATH%/plugins/textfield.swf" width="600" height="200"  
align="lefttop" edge="lefttop" x="100" y="425"
borderwidth="0"
background = "false"
keep="true" autosize="left"
selectable="false" 
zorder="2"
css="data:cssdata"
html="data:text1-1"
/>
...
<data name="cssdata">
  h1 {font-family:Arial;font-size:32;font-weight:bold;}
  p {font-family:Arial;font-size:14;}
</data>


I see my text but this text is non formated.
In KRpano 1.0.8.12 it works correctly.

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Freitag, 14. Oktober 2011, 04:24

Link? No issues here.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

4

Samstag, 15. Oktober 2011, 00:35

Try

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<plugin name="text" parent="popupwindow" 
			url="%SWFPATH%/plugins/textfield.swf" width="600" height="100"  
			align="top" edge="top" x="0" y="25" 
			borderwidth="0"
			background = "false"
			keep="true" autosize="left"
			selectable="false" 
			zorder="2"
			css="data:cssdata"
			html="data:dontstartwithnumbers1-1"
	        />



<data name="dontstartwithnumbers1-1">


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

5

Samstag, 15. Oktober 2011, 13:25

Thank you very much!

6

Sonntag, 16. Oktober 2011, 07:20

Hi!

CSS in data didn't work for iPad (html5) works perfect fo PC (flash)
But it's work if i set style for html tags.
for example

didn't work for html5 (but works in flash)
....
html="data:htmldata"
css="data:cssdata"
....


data name="htmldata"
<p>Bla</p>
data

data name="cssdata"
p {color:#ffffff}
data

-------------------------------

works

....
html="data:htmldata"
css=""
....


data name="htmldata"
<p style="color:#fff">Bla</p>
data

Need help *confused*

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