Page 1 of 1

Textgröße definieren im Skin

Posted: Tue Jun 26, 2012 12:00 pm
by Patrick
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.............

Re: Textgröße definieren im Skin

Posted: Tue Jun 26, 2012 2:02 pm
by Hopki
Hi,
<span style="font-size: 12px;">Your Text</span>
See: http://gardengnomesoftware.com/wiki/Formatting_Text
Cheers,
Hopki

Re: Textgröße definieren im Skin

Posted: Tue Jun 26, 2012 5:15 pm
by Patrick
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.