The Popup-blur Html from the examples works fine but I need to add css for the font.
https://krpano.com/releases/1.20.…tml5=only+webgl
As far as I can see it as default uses standard sizes for H1-H2.p etc but for some reason the text is white even if there is no color defined anywhere.
I tried this <data name="data_html1" css="data:popupstyle"> which is how it is done in scrolllayers but it does not work
<layer name="spot1" url="images/zoomimage.png" html="HTML" devices="all" scale="0.25" visible="true" keep="true" align="lefttop" x="270" y="520"
onclick="popup('html', get(data[data_html1].content), 520, 660, true);"/>
<data name="data_html1" css="data:popupstyle"><![CDATA[
<div style="padding:15px;">
<img align="left" width="474" height="600" vspace="10" hspace="0" src="textimg/26-11.jpg"/>
<h2><br/>Herluf Trolle, 1516-1565, rigsadmiral<br/></h2>
<p>
Portrættet er en kopi efter et maleri på Herlufsholm fra 1551. Herluf Trolle ejede sammn med hustruen Birgitte Gøye herregården Hillerødsholm, som Frederik II erhvervede i 1560 og gav navnet Frederiksborg. <br/>
</p>
</div>
]]></data>
<data name="popupstyle" devices="all" >
p {
font-family:Verdana;
color:#000000;
font-size: 14px;
font-weight:normal;
line-height:20px;
}
h2 {
color:#000000;
font-family: Palatino;
font-size: 28px;
font-weight: normal;
font-style:normal;
}
</data>