Textgröße definieren im Skin

Fragen und Antworten zu Pano2VR in deutscher Sprache
Post Reply
Patrick
Posts: 91
Joined: Fri Mar 16, 2012 11:46 am
Location: Germany
Contact:

Ich arbeite je eine Flashversion und eine HTML5 Version für die untertschiedlichen Geräte aus und möchte
das die Hotspots bei der HTML5 Version einen kleineren Text haben.
Im Hotspot habe ich folgenden Befehl:
<font face="Arial Black" size="12">Overview</font>
Im Skin gebe ich dann den Befehl $hs ein damit er die Infos vom Hotspot übernimmt. Gibt es ein Befehl der sagt
setze den Text des/der Hotspots auf einen bestimmten Wert. Also Schriftgrösse zum Beispiel hier 5.
So müßte man nur einen extra HTML5 Skin anlegen...........

Danke.............
User avatar
Hopki
Gnome
Posts: 13027
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
<span style="font-size: 12px;">Your Text</span>
See: http://gardengnomesoftware.com/wiki/Formatting_Text
Cheers,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Patrick
Posts: 91
Joined: Fri Mar 16, 2012 11:46 am
Location: Germany
Contact:

I do not know if it has been understood correctly. I created a skin for the flash issue but for the HTML5 output should bu the fonts too big. Flash in my font size to be 12 and only 5 in HTML5
Is there a way to automate this in the skin of the HTML 5 File?
So for example:
<font size="20"> $ hs </ font>
So far I have entered in the HTML5 text field in the hotspot Skin $ hs. The text box takes the information from the hotspot.
Post Reply