Sie sind nicht angemeldet.

HansNyb

Profi

  • »HansNyb« ist der Autor dieses Themas

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

1

Mittwoch, 15. April 2015, 23:37

Click on textfield activates elements behind it

I thought I could use textfield as a background for text over the thumbnails but anything behind it is activated if you click it..
It does not have any effect if it is enabled or not.

I can not find anything in documentation about this.

Beiträge: 770

Wohnort: Russian Federation

Beruf: Interpreting, Building virtual tours

  • Nachricht senden

2

Mittwoch, 15. April 2015, 23:41

hi)

What if try adding "capture" setting and setting it to "true" (enabled must be also "true").

Check dicumentation here: http://krpano.com/docu/xml/#layer.capture
Regards,

Alexey

HansNyb

Profi

  • »HansNyb« ist der Autor dieses Themas

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

3

Freitag, 17. April 2015, 10:51

After testing this on other browsers I discovered that it is a bug in the old Safari 5 on my Snow Leopard. And it is only in HTML5 not Flash.

On my new iMac Retina it does not happen. And I have tested it in both Chrome and Firefox on Mac and PC and there is no problem.

However I discovered another bug.
When you use textfield as a child of a background with an png file autoheight fails in flash.

The textfield adjusts to a height that is just 20% of the background parent file. vcenter setting does not affect it.
And it is same in all browsers.

Any explanation Klaus.

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

4

Freitag, 17. April 2015, 16:44

Sounds like a missing height attribute for the png.
Same as when panoramas have 100% height without the proper css to specific proper inheritance.
It's it's a dynamic png you can set the height from pixelheight in the onloaded attribute.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

HansNyb

Profi

  • »HansNyb« ist der Autor dieses Themas

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

5

Freitag, 17. April 2015, 17:38

No height is fixed.
100% width.

Textfield is 600px width and autoheight.

This works fine in HTML5 but fails in flash.

Autoheight does not work for images in textfield on flash but this is a known bug.

If you have an image tag to the right with text only half height it adjusts to the text.

Ähnliche Themen