Advertisement

Krpano教程:kepano全景信息框及textfield插件的应用

阅读量:

Krpano教程kepano全景 信息框的开启与隐藏功能,可通过textfield插件实现。以下所有代码均需编写在标签内部

复制代码
 <!-- 文本框的属性 textfield.swf是文字插件,首先要让文本框的图层不可显示 -->

    
 <layer name="hotspot_pos_info"
    
 	url="%SWFPATH%/plugins/textfield.swf"
    
 	visible="false"
    
 	html=""
    
 	css="font-family:Courier;"
    
 	padding="8"
    
 	align="lefttop" x="10" y="10"
    
 	width="200"
    
 /> 	
    
  
    
 <!-- 文本框的显示内容与显示 -->
    
 <action name="print_hotspot_pos"><![CDATA[
    
 	copy(print_ath, ath);
    
 	copy(print_atv, atv);
    
 	roundval(print_ath, 3);
    
 	roundval(print_atv, 3); 
    
 	calc

全部评论 (0)

还没有任何评论哟~