1// Garden Gnome Software - Skin 2// Pano2VR 5.2.3/15990 3// Filename: 3D-Shot_Skin_12 - Mobil Steckenberg.ggsk 4// Generated Mo Mrz 12 19:29:21 2018 5 6function pano2vrSkin(player,base) { 7 var ggSkinVars = []; 8 var me=this; 9 var flag=false; 10 this.player=player; 11 this.player.skinObj=this; 12 this.divSkin=player.divSkin; 13 this.ggUserdata=me.player.userdata; 14 this.lastSize={ w: -1,h: -1 }; 15 var basePath=""; 16 // auto detect base path 17 if (base=='?') { 18 var scripts = document.getElementsByTagName('script'); 19 for(var i=0;i<scripts.length;i++) { 20 var src=scripts[i].src; 21 if (src.indexOf('skin.js')>=0) { 22 var p=src.lastIndexOf('/'); 23 if (p>=0) { 24 basePath=src.substr(0,p+1); 25 } 26 } 27 } 28 } else 29 if (base) { 30 basePath=base; 31 } 32 this.elementMouseDown=[]; 33 this.elementMouseOver=[]; 34 var cssPrefix=''; 35 var domTransition='transition'; 36 var domTransform='transform'; 37 var prefixes='Webkit,Moz,O,ms,Ms'.split(','); 38 var i; 39 if (typeof document.body.style['transform'] == 'undefined') { 40 for(var i=0;i<prefixes.length;i++) { 41 if (typeof document.body.style[prefixes[i] + 'Transform'] !== 'undefined') { 42 cssPrefix='-' + prefixes[i].toLowerCase() + '-'; 43 domTransition=prefixes[i] + 'Transition'; 44 domTransform=prefixes[i] + 'Transform'; 45 } 46 } 47 } 48 49 this.player.setMargins(0,0,0,0); 50 51 this.updateSize=function(startElement) { 52 var stack=[]; 53 stack.push(startElement); 54 while(stack.length>0) { 55 var e=stack.pop(); 56 if (e.ggUpdatePosition) { 57 e.ggUpdatePosition(); 58 } 59 if (e.hasChildNodes()) { 60 for(var i=0;i<e.childNodes.length;i++) { 61 stack.push(e.childNodes[i]); 62 } 63 } 64 } 65 } 66 67 parameterToTransform=function(p) { 68 var hs='translate(' + p.rx + 'px,' + p.ry + 'px) rotate(' + p.a + 'deg) scale(' + p.sx + ',' + p.sy + ')'; 69 return hs; 70 } 71 72 this.findElements=function(id,regex) { 73 var r=[]; 74 var stack=[]; 75 var pat=new RegExp(id,''); 76 stack.push(me.divSkin); 77 while(stack.length>0) { 78 var e=stack.pop(); 79 if (regex) { 80 if (pat.test(e.ggId)) r.push(e); 81 } else { 82 if (e.ggId==id) r.push(e); 83 } 84 if (e.hasChildNodes()) { 85 for(var i=0;i<e.childNodes.length;i++) { 86 stack.push(e.childNodes[i]); 87 } 88 } 89 } 90 return r; 91 } 92 93 this.addSkin=function() { 94 var hs=''; 95 this.ggCurrentTime=new Date().getTime(); 96 this._loading=document.createElement('div'); 97 this._loading.ggId="loading"; 98 this._loading.ggLeft=-105; 99 this._loading.ggTop=-30; 100 this._loading.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 101 this._loading.ggVisible=true; 102 this._loading.className='ggskin ggskin_container '; 103 this._loading.ggType='container'; 104 hs =''; 105 hs+='height : 60px;'; 106 hs+='left : -105px;'; 107 hs+='position : absolute;'; 108 hs+='top : -30px;'; 109 hs+='visibility : inherit;'; 110 hs+='width : 210px;'; 111 hs+='pointer-events:none;'; 112 this._loading.setAttribute('style',hs); 113 this._loading.style[domTransform + 'Origin']='50% 50%'; 114 me._loading.ggIsActive=function() { 115 return false; 116 } 117 me._loading.ggElementNodeId=function() { 118 return me.player.getCurrentNode(); 119 } 120 this._loading.onclick=function (e) { 121 me._loading.style[domTransition]='none'; 122 me._loading.style.visibility='hidden'; 123 me._loading.ggVisible=false; 124 } 125 this._loading.ggUpdatePosition=function (useTransition) { 126 if (useTransition==='undefined') { 127 useTransition = false; 128 } 129 if (!useTransition) { 130 this.style[domTransition]='none'; 131 } 132 if (this.parentNode) { 133 var w=this.parentNode.offsetWidth; 134 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 135 var h=this.parentNode.offsetHeight; 136 this.style.top=(this.ggTop - 0 + h/2) + 'px'; 137 } 138 } 139 this._loadingbg=document.createElement('div'); 140 this._loadingbg.ggId="loadingbg"; 141 this._loadingbg.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 142 this._loadingbg.ggVisible=true; 143 this._loadingbg.className='ggskin ggskin_rectangle '; 144 this._loadingbg.ggType='rectangle'; 145 hs =''; 146 hs+='background : rgba(0,0,0,0.666667);'; 147 hs+='border : 0px solid #000000;'; 148 hs+='cursor : default;'; 149 hs+='height : 60px;'; 150 hs+='left : 0px;'; 151 hs+='opacity : 0.5;'; 152 hs+='position : absolute;'; 153 hs+='top : 0px;'; 154 hs+='visibility : inherit;'; 155 hs+='width : 210px;'; 156 hs+='pointer-events:auto;'; 157 this._loadingbg.setAttribute('style',hs); 158 this._loadingbg.style[domTransform + 'Origin']='50% 50%'; 159 me._loadingbg.ggIsActive=function() { 160 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 161 return this.parentNode.ggIsActive(); 162 } 163 return false; 164 } 165 me._loadingbg.ggElementNodeId=function() { 166 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 167 return this.parentNode.ggElementNodeId(); 168 } 169 return me.player.getCurrentNode(); 170 } 171 this._loadingbg.ggUpdatePosition=function (useTransition) { 172 } 173 this._loading.appendChild(this._loadingbg); 174 this._loadingtext=document.createElement('div'); 175 this._loadingtext__text=document.createElement('div'); 176 this._loadingtext.className='ggskin ggskin_textdiv'; 177 this._loadingtext.ggTextDiv=this._loadingtext__text; 178 this._loadingtext.ggId="loadingtext"; 179 this._loadingtext.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 180 this._loadingtext.ggVisible=true; 181 this._loadingtext.className='ggskin ggskin_text '; 182 this._loadingtext.ggType='text'; 183 hs =''; 184 hs+='height : 23px;'; 185 hs+='left : 16px;'; 186 hs+='position : absolute;'; 187 hs+='top : 12px;'; 188 hs+='visibility : inherit;'; 189 hs+='width : 176px;'; 190 hs+='pointer-events:auto;'; 191 this._loadingtext.setAttribute('style',hs); 192 this._loadingtext.style[domTransform + 'Origin']='0% 50%'; 193 hs ='position:absolute;'; 194 hs+='cursor: default;'; 195 hs+='left: 0px;'; 196 hs+='top: 0px;'; 197 hs+='width: auto;'; 198 hs+='height: auto;'; 199 hs+='border: 0px solid #000000;'; 200 hs+='color: rgba(255,255,255,1);'; 201 hs+='text-align: left;'; 202 hs+='white-space: nowrap;'; 203 hs+='padding: 0px 1px 0px 1px;'; 204 hs+='overflow: hidden;'; 205 this._loadingtext__text.setAttribute('style',hs); 206 this._loadingtext.ggUpdateText=function() { 207 var hs="Loading... "+(me.player.getPercentLoaded()*100.0).toFixed(0)+"%"; 208 if (hs!=this.ggText) { 209 this.ggText=hs; 210 this.ggTextDiv.innerHTML=hs; 211 if (this.ggUpdatePosition) this.ggUpdatePosition(); 212 } 213 } 214 me._loadingtext.ggUpdateText(); 215 this._loadingtext.appendChild(this._loadingtext__text); 216 me._loadingtext.ggIsActive=function() { 217 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 218 return this.parentNode.ggIsActive(); 219 } 220 return false; 221 } 222 me._loadingtext.ggElementNodeId=function() { 223 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 224 return this.parentNode.ggElementNodeId(); 225 } 226 return me.player.getCurrentNode(); 227 } 228 this._loadingtext.ggUpdatePosition=function (useTransition) { 229 } 230 this._loading.appendChild(this._loadingtext); 231 this._loadingbar=document.createElement('div'); 232 this._loadingbar.ggId="loadingbar"; 233 this._loadingbar.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 234 this._loadingbar.ggVisible=true; 235 this._loadingbar.className='ggskin ggskin_rectangle '; 236 this._loadingbar.ggType='rectangle'; 237 hs =''; 238 hs+='background : #ffffff;'; 239 hs+='border : 0px solid #808080;'; 240 hs+='cursor : default;'; 241 hs+='height : 13px;'; 242 hs+='left : 15px;'; 243 hs+='position : absolute;'; 244 hs+='top : 35px;'; 245 hs+='visibility : inherit;'; 246 hs+='width : 182px;'; 247 hs+='pointer-events:auto;'; 248 this._loadingbar.setAttribute('style',hs); 249 this._loadingbar.style[domTransform + 'Origin']='0% 50%'; 250 me._loadingbar.ggIsActive=function() { 251 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 252 return this.parentNode.ggIsActive(); 253 } 254 return false; 255 } 256 me._loadingbar.ggElementNodeId=function() { 257 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 258 return this.parentNode.ggElementNodeId(); 259 } 260 return me.player.getCurrentNode(); 261 } 262 this._loadingbar.ggUpdatePosition=function (useTransition) { 263 } 264 this._loading.appendChild(this._loadingbar); 265 this.divSkin.appendChild(this._loading); 266 this._screentint=document.createElement('div'); 267 this._screentint.ggId="screentint"; 268 this._screentint.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 269 this._screentint.ggVisible=false; 270 this._screentint.className='ggskin ggskin_rectangle '; 271 this._screentint.ggType='rectangle'; 272 hs =''; 273 hs+='background : rgba(0,0,0,0.392157);'; 274 hs+='border : 1px solid #000000;'; 275 hs+='cursor : default;'; 276 hs+='height : 100%;'; 277 hs+='left : 0%;'; 278 hs+='position : absolute;'; 279 hs+='top : 0%;'; 280 hs+='visibility : hidden;'; 281 hs+='width : 100%;'; 282 hs+='pointer-events:auto;'; 283 this._screentint.setAttribute('style',hs); 284 this._screentint.style[domTransform + 'Origin']='50% 50%'; 285 me._screentint.ggIsActive=function() { 286 return false; 287 } 288 me._screentint.ggElementNodeId=function() { 289 return me.player.getCurrentNode(); 290 } 291 this._screentint.onclick=function (e) { 292 if (me.player.transitionsDisabled) { 293 me._screentint.style[domTransition]='none'; 294 } else { 295 me._screentint.style[domTransition]='all 500ms ease-out 0ms'; 296 } 297 me._screentint.style.opacity='0'; 298 me._screentint.style.visibility='hidden'; 299 } 300 this._screentint.ggUpdatePosition=function (useTransition) { 301 } 302 this.divSkin.appendChild(this._screentint); 303 this._image_popup=document.createElement('div'); 304 this._image_popup.ggId="image_popup"; 305 this._image_popup.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 306 this._image_popup.ggVisible=false; 307 this._image_popup.className='ggskin ggskin_container '; 308 this._image_popup.ggType='container'; 309 hs =''; 310 hs+='height : 80%;'; 311 hs+='left : 10%;'; 312 hs+='position : absolute;'; 313 hs+='top : 10%;'; 314 hs+='visibility : hidden;'; 315 hs+='width : 80%;'; 316 hs+='pointer-events:none;'; 317 this._image_popup.setAttribute('style',hs); 318 this._image_popup.style[domTransform + 'Origin']='50% 50%'; 319 me._image_popup.ggIsActive=function() { 320 return false; 321 } 322 me._image_popup.ggElementNodeId=function() { 323 return me.player.getCurrentNode(); 324 } 325 this._image_popup.onclick=function (e) { 326 me._image_popup.style[domTransition]='none'; 327 me._image_popup.style.visibility='hidden'; 328 me._image_popup.ggVisible=false; 329 me._popup_image.ggText=""; 330 me._popup_image__img.src=me._popup_image.ggText; 331 me._screentint.style[domTransition]='none'; 332 me._screentint.style.visibility='hidden'; 333 me._screentint.ggVisible=false; 334 } 335 this._image_popup.ggUpdatePosition=function (useTransition) { 336 } 337 this._loading_image=document.createElement('div'); 338 this._loading_image__img=document.createElement('img'); 339 this._loading_image__img.className='ggskin ggskin_svg'; 340 this._loading_image__img.setAttribute('src',basePath + 'images/loading_image.svg'); 341 this._loading_image__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 342 this._loading_image__img['ondragstart']=function() { return false; }; 343 this._loading_image.appendChild(this._loading_image__img); 344 this._loading_image.ggId="loading_image"; 345 this._loading_image.ggLeft=-20; 346 this._loading_image.ggTop=-20; 347 this._loading_image.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 348 this._loading_image.ggVisible=true; 349 this._loading_image.className='ggskin ggskin_svg '; 350 this._loading_image.ggType='svg'; 351 hs =''; 352 hs+='height : 40px;'; 353 hs+='left : -20px;'; 354 hs+='position : absolute;'; 355 hs+='top : -20px;'; 356 hs+='visibility : inherit;'; 357 hs+='width : 40px;'; 358 hs+='pointer-events:auto;'; 359 this._loading_image.setAttribute('style',hs); 360 this._loading_image.style[domTransform + 'Origin']='50% 50%'; 361 me._loading_image.ggIsActive=function() { 362 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 363 return this.parentNode.ggIsActive(); 364 } 365 return false; 366 } 367 me._loading_image.ggElementNodeId=function() { 368 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 369 return this.parentNode.ggElementNodeId(); 370 } 371 return me.player.getCurrentNode(); 372 } 373 this._loading_image.ggUpdatePosition=function (useTransition) { 374 if (useTransition==='undefined') { 375 useTransition = false; 376 } 377 if (!useTransition) { 378 this.style[domTransition]='none'; 379 } 380 if (this.parentNode) { 381 var w=this.parentNode.offsetWidth; 382 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 383 var h=this.parentNode.offsetHeight; 384 this.style.top=(this.ggTop - 0 + h/2) + 'px'; 385 } 386 } 387 this._image_popup.appendChild(this._loading_image); 388 this._popup_image=document.createElement('div'); 389 this._popup_image__img=document.createElement('img'); 390 this._popup_image__img.className='ggskin ggskin_external'; 391 this._popup_image__img.onload=function() {me._popup_image.ggUpdatePosition();} 392 this._popup_image__img.setAttribute('src',basePath + ''); 393 this._popup_image__img['ondragstart']=function() { return false; }; 394 hs =''; 395 this._popup_image.appendChild(this._popup_image__img); 396 this._popup_image.ggId="popup_image"; 397 this._popup_image.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 398 this._popup_image.ggVisible=true; 399 this._popup_image.className='ggskin ggskin_external '; 400 this._popup_image.ggType='external'; 401 hs =''; 402 hs+='border : 0px solid #000000;'; 403 hs+='cursor : pointer;'; 404 hs+='height : 100%;'; 405 hs+='left : 0%;'; 406 hs+='position : absolute;'; 407 hs+='top : 0%;'; 408 hs+='visibility : inherit;'; 409 hs+='width : 100%;'; 410 hs+='pointer-events:auto;'; 411 this._popup_image.setAttribute('style',hs); 412 this._popup_image.style[domTransform + 'Origin']='50% 50%'; 413 me._popup_image.ggIsActive=function() { 414 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 415 return this.parentNode.ggIsActive(); 416 } 417 return false; 418 } 419 me._popup_image.ggElementNodeId=function() { 420 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 421 return this.parentNode.ggElementNodeId(); 422 } 423 return me.player.getCurrentNode(); 424 } 425 this._popup_image.ggUpdatePosition=function (useTransition) { 426 var parentWidth = me._popup_image.clientWidth; 427 var parentHeight = me._popup_image.clientHeight; 428 var aspectRatioDiv = me._popup_image.clientWidth / me._popup_image.clientHeight;
429 var aspectRatioImg = me._popup_image__img.naturalWidth / me._popup_image__img.naturalHeight; 430 if (me._popup_image__img.naturalWidth < parentWidth) parentWidth = me._popup_image__img.naturalWidth; 431 if (me._popup_image__img.naturalHeight < parentHeight) parentHeight = me._popup_image__img.naturalHeight; 432 var currentWidth = me._popup_image__img.naturalWidth; 433 var currentHeight = me._popup_image__img.naturalHeight; 434 if (aspectRatioDiv > aspectRatioImg) { 435 currentHeight = parentHeight; 436 currentWidth = parentHeight * aspectRatioImg; 437 me._popup_image__img.setAttribute('style','position: absolute; left: 50%; margin-left: -' + currentWidth/2 + 'px; top: 50%; margin-top: -' + currentHeight/2 + 'px;height:' + parentHeight + 'px;-webkit-user-drag:none;pointer-events:none;border-radius:0px;'); 438 } else { 439 currentWidth = parentWidth; 440 currentHeight = parentWidth / aspectRatioImg; 441 me._popup_image__img.setAttribute('style','position: absolute; left: 50%; margin-left: -' + currentWidth/2 + 'px; top: 50%; margin-top: -' + currentHeight/2 + 'px;width:' + parentWidth + 'px;-webkit-user-drag:none;pointer-events:none;border-radius:0px;'); 442 }; 443 } 444 this._image_popup.appendChild(this._popup_image); 445 this.divSkin.appendChild(this._image_popup); 446 this._logo_3dshot=document.createElement('div'); 447 this._logo_3dshot__img=document.createElement('img'); 448 this._logo_3dshot__img.className='ggskin ggskin_image'; 449 this._logo_3dshot__img.setAttribute('src',basePath + 'images/logo_3dshot.png'); 450 this._logo_3dshot__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 451 this._logo_3dshot__img.className='ggskin ggskin_image'; 452 this._logo_3dshot__img['ondragstart']=function() { return false; }; 453 me.player.checkLoaded.push(this._logo_3dshot__img); 454 this._logo_3dshot.appendChild(this._logo_3dshot__img); 455 this._logo_3dshot.ggId="Logo 3D-Shot"; 456 this._logo_3dshot.ggLeft=-236; 457 this._logo_3dshot.ggParameter={ rx:0,ry:0,a:0,sx:0.7,sy:0.7 }; 458 this._logo_3dshot.ggVisible=true; 459 this._logo_3dshot.className='ggskin ggskin_image '; 460 this._logo_3dshot.ggType='image'; 461 hs =''; 462 hs+='height : 130px;'; 463 hs+='left : -236px;'; 464 hs+='opacity : 0.4;'; 465 hs+='position : absolute;'; 466 hs+='top : 5px;'; 467 hs+='visibility : inherit;'; 468 hs+='width : 231px;'; 469 hs+='pointer-events:auto;'; 470 this._logo_3dshot.setAttribute('style',hs); 471 this._logo_3dshot.style[domTransform + 'Origin']='100% 0%'; 472 this._logo_3dshot.style[domTransform]=parameterToTransform(this._logo_3dshot.ggParameter); 473 me._logo_3dshot.ggIsActive=function() { 474 return false; 475 } 476 me._logo_3dshot.ggElementNodeId=function() { 477 return me.player.getCurrentNode(); 478 } 479 this._logo_3dshot.onclick=function (e) { 480 me.player.openUrl("http:\/\/www.3d-shot.com",""); 481 } 482 this._logo_3dshot.onmouseover=function (e) { 483 if (me.player.transitionsDisabled) { 484 me._logo_3dshot.style[domTransition]='none'; 485 } else { 486 me._logo_3dshot.style[domTransition]='all 500ms ease-out 0ms'; 487 } 488 me._logo_3dshot.style.opacity='1'; 489 me._logo_3dshot.style.visibility=me._logo_3dshot.ggVisible?'inherit':'hidden'; 490 if (me.player.transitionsDisabled) { 491 me._logo_3dshot.style[domTransition]='none'; 492 } else { 493 me._logo_3dshot.style[domTransition]='all 1000ms ease-out 0ms'; 494 } 495 me._logo_3dshot.ggParameter.rx=-1;me._logo_3dshot.ggParameter.ry=1; 496 me._logo_3dshot.style[domTransform]=parameterToTransform(me._logo_3dshot.ggParameter); 497 } 498 this._logo_3dshot.onmouseout=function (e) { 499 if (me.player.transitionsDisabled) { 500 me._logo_3dshot.style[domTransition]='none'; 501 } else { 502 me._logo_3dshot.style[domTransition]='all 500ms ease-out 0ms'; 503 } 504 me._logo_3dshot.style.opacity='0.4'; 505 me._logo_3dshot.style.visibility=me._logo_3dshot.ggVisible?'inherit':'hidden'; 506 if (me.player.transitionsDisabled) { 507 me._logo_3dshot.style[domTransition]='none'; 508 } else { 509 me._logo_3dshot.style[domTransition]='all 1000ms ease-out 0ms'; 510 } 511 me._logo_3dshot.ggParameter.rx=0;me._logo_3dshot.ggParameter.ry=0; 512 me._logo_3dshot.style[domTransform]=parameterToTransform(me._logo_3dshot.ggParameter); 513 } 514 me._logo_3dshot.ggCurrentLogicStateScaling = -1; 515 this._logo_3dshot.ggUpdateConditionNodeChange=function () { 516 var newLogicStateScaling; 517 if ( 518 (me.player.getIsMobile() == true) 519 ) 520 { 521 newLogicStateScaling = 0; 522 } 523 else { 524 newLogicStateScaling = -1; 525 } 526 if (me._logo_3dshot.ggCurrentLogicStateScaling != newLogicStateScaling) { 527 me._logo_3dshot.ggCurrentLogicStateScaling = newLogicStateScaling; 528 me._logo_3dshot.style[domTransition]='' + cssPrefix + 'transform none'; 529 if (me._logo_3dshot.ggCurrentLogicStateScaling == 0) { 530 me._logo_3dshot.ggParameter.sx = 0.25; 531 me._logo_3dshot.ggParameter.sy = 0.25; 532 me._logo_3dshot.style[domTransform]=parameterToTransform(me._logo_3dshot.ggParameter); 533 } 534 else { 535 me._logo_3dshot.ggParameter.sx = 0.7; 536 me._logo_3dshot.ggParameter.sy = 0.7; 537 me._logo_3dshot.style[domTransform]=parameterToTransform(me._logo_3dshot.ggParameter); 538 } 539 } 540 } 541 this._logo_3dshot.ggUpdatePosition=function (useTransition) { 542 if (useTransition==='undefined') { 543 useTransition = false; 544 } 545 if (!useTransition) { 546 this.style[domTransition]='none'; 547 } 548 if (this.parentNode) { 549 var w=this.parentNode.offsetWidth; 550 this.style.left=(this.ggLeft - 0 + w) + 'px'; 551 } 552 } 553 this._logo_3dshot.ggNodeChange=function () { 554 me._logo_3dshot.ggUpdateConditionNodeChange(); 555 } 556 this.divSkin.appendChild(this._logo_3dshot); 557 this._userdata=document.createElement('div'); 558 this._userdata.ggId="userdata"; 559 this._userdata.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 560 this._userdata.ggVisible=false; 561 this._userdata.className='ggskin ggskin_container '; 562 this._userdata.ggType='container'; 563 hs =''; 564 hs+='height : 140px;'; 565 hs+='left : 9px;'; 566 hs+='position : absolute;'; 567 hs+='top : 8px;'; 568 hs+='visibility : hidden;'; 569 hs+='width : 240px;'; 570 hs+='pointer-events:none;'; 571 this._userdata.setAttribute('style',hs); 572 this._userdata.style[domTransform + 'Origin']='50% 50%'; 573 me._userdata.ggIsActive=function() { 574 return false; 575 } 576 me._userdata.ggElementNodeId=function() { 577 return me.player.getCurrentNode(); 578 } 579 this._userdata.onclick=function (e) { 580 me._userdata.style[domTransition]='none'; 581 me._userdata.style.visibility='hidden'; 582 me._userdata.ggVisible=false; 583 } 584 this._userdata.ggUpdatePosition=function (useTransition) { 585 } 586 this._userdatabg=document.createElement('div'); 587 this._userdatabg.ggId="userdatabg"; 588 this._userdatabg.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 589 this._userdatabg.ggVisible=true; 590 this._userdatabg.className='ggskin ggskin_rectangle '; 591 this._userdatabg.ggType='rectangle'; 592 hs =''; 593 hs+='background : rgba(0,0,0,0.666667);'; 594 hs+='border : 0px solid #000000;'; 595 hs+='cursor : default;'; 596 hs+='height : 140px;'; 597 hs+='left : 0px;'; 598 hs+='opacity : 0.5;'; 599 hs+='position : absolute;'; 600 hs+='top : 0px;'; 601 hs+='visibility : inherit;'; 602 hs+='width : 240px;'; 603 hs+='pointer-events:auto;'; 604 this._userdatabg.setAttribute('style',hs); 605 this._userdatabg.style[domTransform + 'Origin']='50% 50%'; 606 me._userdatabg.ggIsActive=function() { 607 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 608 return this.parentNode.ggIsActive(); 609 } 610 return false; 611 } 612 me._userdatabg.ggElementNodeId=function() { 613 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 614 return this.parentNode.ggElementNodeId(); 615 } 616 return me.player.getCurrentNode(); 617 } 618 this._userdatabg.ggUpdatePosition=function (useTransition) { 619 } 620 this._userdata.appendChild(this._userdatabg); 621 this._title=document.createElement('div'); 622 this._title__text=document.createElement('div'); 623 this._title.className='ggskin ggskin_textdiv'; 624 this._title.ggTextDiv=this._title__text; 625 this._title.ggId="title"; 626 this._title.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 627 this._title.ggVisible=true; 628 this._title.className='ggskin ggskin_text '; 629 this._title.ggType='text'; 630 hs =''; 631 hs+='height : 20px;'; 632 hs+='left : 10px;'; 633 hs+='position : absolute;'; 634 hs+='top : 10px;'; 635 hs+='visibility : inherit;'; 636 hs+='width : 218px;'; 637 hs+='pointer-events:auto;'; 638 this._title.setAttribute('style',hs); 639 this._title.style[domTransform + 'Origin']='50% 50%'; 640 hs ='position:absolute;'; 641 hs+='cursor: default;'; 642 hs+='left: 0px;'; 643 hs+='top: 0px;'; 644 hs+='width: 218px;'; 645 hs+='height: 20px;'; 646 hs+='border: 0px solid #000000;'; 647 hs+='color: rgba(255,255,255,1);'; 648 hs+='text-align: left;'; 649 hs+='white-space: nowrap;'; 650 hs+='padding: 0px 1px 0px 1px;'; 651 hs+='overflow: hidden;'; 652 this._title__text.setAttribute('style',hs); 653 this._title.ggUpdateText=function() { 654 var hs="<b>"+me.ggUserdata.title+"<\/b> "; 655 if (hs!=this.ggText) { 656 this.ggText=hs; 657 this.ggTextDiv.innerHTML=hs; 658 if (this.ggUpdatePosition) this.ggUpdatePosition(); 659 } 660 } 661 me._title.ggUpdateText(); 662 this._title.appendChild(this._title__text); 663 me._title.ggIsActive=function() { 664 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 665 return this.parentNode.ggIsActive(); 666 } 667 return false; 668 } 669 me._title.ggElementNodeId=function() { 670 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 671 return this.parentNode.ggElementNodeId(); 672 } 673 return me.player.getCurrentNode(); 674 } 675 this._title.ggUpdatePosition=function (useTransition) { 676 } 677 this._userdata.appendChild(this._title); 678 this._description=document.createElement('div'); 679 this._description__text=document.createElement('div'); 680 this._description.className='ggskin ggskin_textdiv'; 681 this._description.ggTextDiv=this._description__text; 682 this._description.ggId="description"; 683 this._description.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 684 this._description.ggVisible=true; 685 this._description.className='ggskin ggskin_text '; 686 this._description.ggType='text'; 687 hs =''; 688 hs+='height : 20px;'; 689 hs+='left : 10px;'; 690 hs+='position : absolute;'; 691 hs+='top : 30px;'; 692 hs+='visibility : inherit;'; 693 hs+='width : 218px;'; 694 hs+='pointer-events:auto;'; 695 this._description.setAttribute('style',hs); 696 this._description.style[domTransform + 'Origin']='50% 50%'; 697 hs ='position:absolute;'; 698 hs+='cursor: default;'; 699 hs+='left: 0px;'; 700 hs+='top: 0px;'; 701 hs+='width: 218px;'; 702 hs+='height: 20px;'; 703 hs+='border: 0px solid #000000;'; 704 hs+='color: rgba(255,255,255,1);'; 705 hs+='text-align: left;'; 706 hs+='white-space: nowrap;'; 707 hs+='padding: 0px 1px 0px 1px;'; 708 hs+='overflow: hidden;'; 709 this._description__text.setAttribute('style',hs); 710 this._description__text.innerHTML=""; 711 this._description.appendChild(this._description__text); 712 me._description.ggIsActive=function() { 713 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 714 return this.parentNode.ggIsActive(); 715 } 716 return false; 717 } 718 me._description.ggElementNodeId=function() { 719 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 720 return this.parentNode.ggElementNodeId(); 721 } 722 return me.player.getCurrentNode(); 723 } 724 this._description.ggUpdatePosition=function (useTransition) { 725 } 726 this._userdata.appendChild(this._description); 727 this._author=document.createElement('div'); 728 this._author__text=document.createElement('div'); 729 this._author.className='ggskin ggskin_textdiv'; 730 this._author.ggTextDiv=this._author__text; 731 this._author.ggId="author"; 732 this._author.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 733 this._author.ggVisible=true; 734 this._author.className='ggskin ggskin_text '; 735 this._author.ggType='text'; 736 hs =''; 737 hs+='height : 20px;'; 738 hs+='left : 10px;'; 739 hs+='position : absolute;'; 740 hs+='top : 50px;'; 741 hs+='visibility : inherit;'; 742 hs+='width : 218px;'; 743 hs+='pointer-events:auto;'; 744 this._author.setAttribute('style',hs); 745 this._author.style[domTransform + 'Origin']='50% 50%'; 746 hs ='position:absolute;'; 747 hs+='cursor: default;'; 748 hs+='left: 0px;'; 749 hs+='top: 0px;'; 750 hs+='width: 218px;'; 751 hs+='height: 20px;'; 752 hs+='border: 0px solid #000000;'; 753 hs+='color: rgba(255,255,255,1);'; 754 hs+='text-align: left;'; 755 hs+='white-space: nowrap;'; 756 hs+='padding: 0px 1px 0px 1px;'; 757 hs+='overflow: hidden;'; 758 this._author__text.setAttribute('style',hs); 759 this._author.ggUpdateText=function() { 760 var hs=me.ggUserdata.author+" "; 761 if (hs!=this.ggText) { 762 this.ggText=hs; 763 this.ggTextDiv.innerHTML=hs; 764 if (this.ggUpdatePosition) this.ggUpdatePosition(); 765 } 766 } 767 me._author.ggUpdateText(); 768 this._author.appendChild(this._author__text); 769 me._author.ggIsActive=function() { 770 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 771 return this.parentNode.ggIsActive(); 772 } 773 return false; 774 } 775 me._author.ggElementNodeId=function() { 776 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 777 return this.parentNode.ggElementNodeId(); 778 } 779 return me.player.getCurrentNode(); 780 } 781 this._author.ggUpdatePosition=function (useTransition) { 782 } 783 this._userdata.appendChild(this._author); 784 this._datetime=document.createElement('div'); 785 this._datetime__text=document.createElement('div'); 786 this._datetime.className='ggskin ggskin_textdiv'; 787 this._datetime.ggTextDiv=this._datetime__text; 788 this._datetime.ggId="datetime"; 789 this._datetime.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 790 this._datetime.ggVisible=true; 791 this._datetime.className='ggskin ggskin_text '; 792 this._datetime.ggType='text'; 793 hs =''; 794 hs+='height : 23px;'; 795 hs+='left : 10px;'; 796 hs+='position : absolute;'; 797 hs+='top : 70px;'; 798 hs+='visibility : inherit;'; 799 hs+='width : 218px;'; 800 hs+='pointer-events:auto;'; 801 this._datetime.setAttribute('style',hs); 802 this._datetime.style[domTransform + 'Origin']='50% 50%'; 803 hs ='position:absolute;'; 804 hs+='cursor: default;'; 805 hs+='left: 0px;'; 806 hs+='top: 0px;'; 807 hs+='width: auto;'; 808 hs+='height: auto;'; 809 hs+='border: 0px solid #000000;'; 810 hs+='color: rgba(255,255,255,1);'; 811 hs+='text-align: left;'; 812 hs+='white-space: nowrap;'; 813 hs+='padding: 0px 1px 0px 1px;'; 814 hs+='overflow: hidden;'; 815 this._datetime__text.setAttribute('style',hs); 816 this._datetime.ggUpdateText=function() { 817 var hs=me.ggUserdata.datetime; 818 if (hs!=this.ggText) { 819 this.ggText=hs; 820 this.ggTextDiv.innerHTML=hs; 821 if (this.ggUpdatePosition) this.ggUpdatePosition(); 822 } 823 } 824 me._datetime.ggUpdateText(); 825 this._datetime.appendChild(this._datetime__text); 826 me._datetime.ggIsActive=function() { 827 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 828 return this.parentNode.ggIsActive(); 829 } 830 return false; 831 } 832 me._datetime.ggElementNodeId=function() { 833 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 834 return this.parentNode.ggElementNodeId(); 835 } 836 return me.player.getCurrentNode(); 837 } 838 this._datetime.ggUpdatePosition=function (useTransition) { 839 } 840 this._userdata.appendChild(this._datetime);
841 this._copyright=document.createElement('div'); 842 this._copyright__text=document.createElement('div'); 843 this._copyright.className='ggskin ggskin_textdiv'; 844 this._copyright.ggTextDiv=this._copyright__text; 845 this._copyright.ggId="copyright"; 846 this._copyright.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 847 this._copyright.ggVisible=true; 848 this._copyright.className='ggskin ggskin_text '; 849 this._copyright.ggType='text'; 850 hs =''; 851 hs+='height : 23px;'; 852 hs+='left : 10px;'; 853 hs+='position : absolute;'; 854 hs+='top : 110px;'; 855 hs+='visibility : inherit;'; 856 hs+='width : 218px;'; 857 hs+='pointer-events:auto;'; 858 this._copyright.setAttribute('style',hs); 859 this._copyright.style[domTransform + 'Origin']='50% 50%'; 860 hs ='position:absolute;'; 861 hs+='cursor: default;'; 862 hs+='left: 0px;'; 863 hs+='top: 0px;'; 864 hs+='width: auto;'; 865 hs+='height: auto;'; 866 hs+='border: 0px solid #000000;'; 867 hs+='color: rgba(255,255,255,1);'; 868 hs+='text-align: left;'; 869 hs+='white-space: nowrap;'; 870 hs+='padding: 0px 1px 0px 1px;'; 871 hs+='overflow: hidden;'; 872 this._copyright__text.setAttribute('style',hs); 873 this._copyright.ggUpdateText=function() { 874 var hs="© "+me.ggUserdata.copyright+" "; 875 if (hs!=this.ggText) { 876 this.ggText=hs; 877 this.ggTextDiv.innerHTML=hs; 878 if (this.ggUpdatePosition) this.ggUpdatePosition(); 879 } 880 } 881 me._copyright.ggUpdateText(); 882 this._copyright.appendChild(this._copyright__text); 883 me._copyright.ggIsActive=function() { 884 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 885 return this.parentNode.ggIsActive(); 886 } 887 return false; 888 } 889 me._copyright.ggElementNodeId=function() { 890 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 891 return this.parentNode.ggElementNodeId(); 892 } 893 return me.player.getCurrentNode(); 894 } 895 this._copyright.ggUpdatePosition=function (useTransition) { 896 } 897 this._userdata.appendChild(this._copyright); 898 this.divSkin.appendChild(this._userdata); 899 this._steuerung=document.createElement('div'); 900 this._steuerung.ggId="Steuerung"; 901 this._steuerung.ggLeft=-165; 902 this._steuerung.ggTop=-102; 903 this._steuerung.ggParameter={ rx:0,ry:0,a:0,sx:0.75,sy:0.75 }; 904 this._steuerung.ggVisible=false; 905 this._steuerung.className='ggskin ggskin_rectangle '; 906 this._steuerung.ggType='rectangle'; 907 hs =''; 908 hs+=cssPrefix + 'border-radius : 6px;'; 909 hs+='border-radius : 6px;'; 910 hs+='background : #2c2c2c;'; 911 hs+='border : 1px solid #ffffff;'; 912 hs+='cursor : default;'; 913 hs+='height : 57px;'; 914 hs+='left : -165px;'; 915 hs+='opacity : 0.7;'; 916 hs+='position : absolute;'; 917 hs+='top : -102px;'; 918 hs+='visibility : hidden;'; 919 hs+='width : 352px;'; 920 hs+='pointer-events:auto;'; 921 this._steuerung.setAttribute('style',hs); 922 this._steuerung.style[domTransform + 'Origin']='50% 100%'; 923 this._steuerung.style[domTransform]=parameterToTransform(this._steuerung.ggParameter); 924 me._steuerung.ggIsActive=function() { 925 return false; 926 } 927 me._steuerung.ggElementNodeId=function() { 928 return me.player.getCurrentNode(); 929 } 930 me._steuerung.ggCurrentLogicStateScaling = -1; 931 me._steuerung.ggCurrentLogicStateVisible = -1; 932 this._steuerung.ggUpdateConditionNodeChange=function () { 933 var newLogicStateScaling; 934 if ( 935 (me.player.getIsMobile() == true) 936 ) 937 { 938 newLogicStateScaling = 0; 939 } 940 else { 941 newLogicStateScaling = -1; 942 } 943 if (me._steuerung.ggCurrentLogicStateScaling != newLogicStateScaling) { 944 me._steuerung.ggCurrentLogicStateScaling = newLogicStateScaling; 945 me._steuerung.style[domTransition]='' + cssPrefix + 'transform none'; 946 if (me._steuerung.ggCurrentLogicStateScaling == 0) { 947 me._steuerung.ggParameter.sx = 0.4; 948 me._steuerung.ggParameter.sy = 0.4; 949 me._steuerung.style[domTransform]=parameterToTransform(me._steuerung.ggParameter); 950 } 951 else { 952 me._steuerung.ggParameter.sx = 0.75; 953 me._steuerung.ggParameter.sy = 0.75; 954 me._steuerung.style[domTransform]=parameterToTransform(me._steuerung.ggParameter); 955 } 956 } 957 var newLogicStateVisible; 958 if ( 959 (me.player.getIsMobile() == true) 960 ) 961 { 962 newLogicStateVisible = 0; 963 } 964 else { 965 newLogicStateVisible = -1; 966 } 967 if (me._steuerung.ggCurrentLogicStateVisible != newLogicStateVisible) { 968 me._steuerung.ggCurrentLogicStateVisible = newLogicStateVisible; 969 me._steuerung.style[domTransition]='' + cssPrefix + 'transform none'; 970 if (me._steuerung.ggCurrentLogicStateVisible == 0) { 971 me._steuerung.style.visibility="hidden"; 972 me._steuerung.ggVisible=false; 973 } 974 else { 975 me._steuerung.style.visibility="hidden"; 976 me._steuerung.ggVisible=false; 977 } 978 } 979 } 980 this._steuerung.ggUpdatePosition=function (useTransition) { 981 if (useTransition==='undefined') { 982 useTransition = false; 983 } 984 if (!useTransition) { 985 this.style[domTransition]='none'; 986 } 987 if (this.parentNode) { 988 var w=this.parentNode.offsetWidth; 989 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 990 var h=this.parentNode.offsetHeight; 991 this.style.top=(this.ggTop - 0 + h) + 'px'; 992 } 993 } 994 this._steuerung.ggNodeChange=function () { 995 me._steuerung.ggUpdateConditionNodeChange(); 996 } 997 this._image_2=document.createElement('div'); 998 this._image_2__img=document.createElement('img'); 999 this._image_2__img.className='ggskin ggskin_image'; 1000 this._image_2__img.setAttribute('src',basePath + 'images/image_2.png'); 1001 this._image_2__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 1002 this._image_2__img.className='ggskin ggskin_image'; 1003 this._image_2__img['ondragstart']=function() { return false; }; 1004 me.player.checkLoaded.push(this._image_2__img); 1005 this._image_2.appendChild(this._image_2__img); 1006 this._image_2.ggId="Image 2"; 1007 this._image_2.ggLeft=-173; 1008 this._image_2.ggTop=-53; 1009 this._image_2.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 1010 this._image_2.ggVisible=true; 1011 this._image_2.className='ggskin ggskin_image '; 1012 this._image_2.ggType='image'; 1013 hs =''; 1014 hs+='height : 50px;'; 1015 hs+='left : -174px;'; 1016 hs+='position : absolute;'; 1017 hs+='top : -54px;'; 1018 hs+='visibility : inherit;'; 1019 hs+='width : 50px;'; 1020 hs+='pointer-events:auto;'; 1021 this._image_2.setAttribute('style',hs); 1022 this._image_2.style[domTransform + 'Origin']='50% 100%'; 1023 me._image_2.ggIsActive=function() { 1024 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 1025 return this.parentNode.ggIsActive(); 1026 } 1027 return false; 1028 } 1029 me._image_2.ggElementNodeId=function() { 1030 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 1031 return this.parentNode.ggElementNodeId(); 1032 } 1033 return me.player.getCurrentNode(); 1034 } 1035 this._image_2.onmouseover=function (e) { 1036 me._hinein_zoomen.style[domTransition]='none'; 1037 me._hinein_zoomen.style.visibility=(Number(me._hinein_zoomen.style.opacity)>0||!me._hinein_zoomen.style.opacity)?'inherit':'hidden'; 1038 me._hinein_zoomen.ggVisible=true; 1039 } 1040 this._image_2.onmouseout=function (e) { 1041 me._hinein_zoomen.style[domTransition]='none'; 1042 me._hinein_zoomen.style.visibility='hidden'; 1043 me._hinein_zoomen.ggVisible=false; 1044 me.elementMouseDown['image_2']=false; 1045 } 1046 this._image_2.onmousedown=function (e) { 1047 me.elementMouseDown['image_2']=true; 1048 } 1049 this._image_2.onmouseup=function (e) { 1050 me.elementMouseDown['image_2']=false; 1051 } 1052 this._image_2.ontouchend=function (e) { 1053 me.elementMouseDown['image_2']=false; 1054 } 1055 this._image_2.ggUpdatePosition=function (useTransition) { 1056 if (useTransition==='undefined') { 1057 useTransition = false; 1058 } 1059 if (!useTransition) { 1060 this.style[domTransition]='none'; 1061 } 1062 if (this.parentNode) { 1063 var w=this.parentNode.offsetWidth; 1064 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 1065 var h=this.parentNode.offsetHeight; 1066 this.style.top=(this.ggTop - 1 + h) + 'px'; 1067 } 1068 } 1069 this._steuerung.appendChild(this._image_2); 1070 this._image_3=document.createElement('div'); 1071 this._image_3__img=document.createElement('img'); 1072 this._image_3__img.className='ggskin ggskin_image'; 1073 this._image_3__img.setAttribute('src',basePath + 'images/image_3.png'); 1074 this._image_3__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 1075 this._image_3__img.className='ggskin ggskin_image'; 1076 this._image_3__img['ondragstart']=function() { return false; }; 1077 me.player.checkLoaded.push(this._image_3__img); 1078 this._image_3.appendChild(this._image_3__img); 1079 this._image_3.ggId="Image 3"; 1080 this._image_3.ggLeft=-115; 1081 this._image_3.ggTop=-53; 1082 this._image_3.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 1083 this._image_3.ggVisible=true; 1084 this._image_3.className='ggskin ggskin_image '; 1085 this._image_3.ggType='image'; 1086 hs =''; 1087 hs+='height : 50px;'; 1088 hs+='left : -116px;'; 1089 hs+='position : absolute;'; 1090 hs+='top : -54px;'; 1091 hs+='visibility : inherit;'; 1092 hs+='width : 50px;'; 1093 hs+='pointer-events:auto;'; 1094 this._image_3.setAttribute('style',hs); 1095 this._image_3.style[domTransform + 'Origin']='50% 100%'; 1096 me._image_3.ggIsActive=function() { 1097 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 1098 return this.parentNode.ggIsActive(); 1099 } 1100 return false; 1101 } 1102 me._image_3.ggElementNodeId=function() { 1103 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 1104 return this.parentNode.ggElementNodeId(); 1105 } 1106 return me.player.getCurrentNode(); 1107 } 1108 this._image_3.onmouseover=function (e) { 1109 me._herraus_zoomen.style[domTransition]='none'; 1110 me._herraus_zoomen.style.visibility=(Number(me._herraus_zoomen.style.opacity)>0||!me._herraus_zoomen.style.opacity)?'inherit':'hidden'; 1111 me._herraus_zoomen.ggVisible=true; 1112 } 1113 this._image_3.onmouseout=function (e) { 1114 me._herraus_zoomen.style[domTransition]='none'; 1115 me._herraus_zoomen.style.visibility='hidden'; 1116 me._herraus_zoomen.ggVisible=false; 1117 me.elementMouseDown['image_3']=false; 1118 } 1119 this._image_3.onmousedown=function (e) { 1120 me.elementMouseDown['image_3']=true; 1121 } 1122 this._image_3.onmouseup=function (e) { 1123 me.elementMouseDown['image_3']=false; 1124 } 1125 this._image_3.ontouchend=function (e) { 1126 me.elementMouseDown['image_3']=false; 1127 } 1128 this._image_3.ggUpdatePosition=function (useTransition) { 1129 if (useTransition==='undefined') { 1130 useTransition = false; 1131 } 1132 if (!useTransition) { 1133 this.style[domTransition]='none'; 1134 } 1135 if (this.parentNode) { 1136 var w=this.parentNode.offsetWidth; 1137 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 1138 var h=this.parentNode.offsetHeight; 1139 this.style.top=(this.ggTop - 1 + h) + 'px'; 1140 } 1141 } 1142 this._steuerung.appendChild(this._image_3); 1143 this._image_5=document.createElement('div'); 1144 this._image_5__img=document.createElement('img'); 1145 this._image_5__img.className='ggskin ggskin_image'; 1146 this._image_5__img.setAttribute('src',basePath + 'images/image_5.png'); 1147 this._image_5__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 1148 this._image_5__img.className='ggskin ggskin_image'; 1149 this._image_5__img['ondragstart']=function() { return false; }; 1150 me.player.checkLoaded.push(this._image_5__img); 1151 this._image_5.appendChild(this._image_5__img); 1152 this._image_5.ggId="Image 5"; 1153 this._image_5.ggLeft=-58; 1154 this._image_5.ggTop=-53; 1155 this._image_5.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 1156 this._image_5.ggVisible=false;
1157 this._image_5.className='ggskin ggskin_image '; 1158 this._image_5.ggType='image'; 1159 hs =''; 1160 hs+='height : 50px;'; 1161 hs+='left : -59px;'; 1162 hs+='position : absolute;'; 1163 hs+='top : -54px;'; 1164 hs+='visibility : hidden;'; 1165 hs+='width : 50px;'; 1166 hs+='pointer-events:auto;'; 1167 this._image_5.setAttribute('style',hs); 1168 this._image_5.style[domTransform + 'Origin']='50% 100%'; 1169 me._image_5.ggIsActive=function() { 1170 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 1171 return this.parentNode.ggIsActive(); 1172 } 1173 return false; 1174 } 1175 me._image_5.ggElementNodeId=function() { 1176 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 1177 return this.parentNode.ggElementNodeId(); 1178 } 1179 return me.player.getCurrentNode(); 1180 } 1181 this._image_5.onclick=function (e) { 1182 me.player.toggleAutorotate(); 1183 } 1184 this._image_5.onmouseover=function (e) { 1185 me._autototation_ein.style[domTransition]='none'; 1186 me._autototation_ein.style.visibility=(Number(me._autototation_ein.style.opacity)>0||!me._autototation_ein.style.opacity)?'inherit':'hidden'; 1187 me._autototation_ein.ggVisible=true; 1188 } 1189 this._image_5.onmouseout=function (e) { 1190 me._autototation_ein.style[domTransition]='none'; 1191 me._autototation_ein.style.visibility='hidden'; 1192 me._autototation_ein.ggVisible=false; 1193 } 1194 me._image_5.ggCurrentLogicStateVisible = -1; 1195 this._image_5.ggUpdateConditionTimer=function () { 1196 var newLogicStateVisible; 1197 if ( 1198 (me.player.getIsAutorotating() == false) 1199 ) 1200 { 1201 newLogicStateVisible = 0; 1202 } 1203 else { 1204 newLogicStateVisible = -1; 1205 } 1206 if (me._image_5.ggCurrentLogicStateVisible != newLogicStateVisible) { 1207 me._image_5.ggCurrentLogicStateVisible = newLogicStateVisible; 1208 me._image_5.style[domTransition]=''; 1209 if (me._image_5.ggCurrentLogicStateVisible == 0) { 1210 me._image_5.style.visibility=(Number(me._image_5.style.opacity)>0||!me._image_5.style.opacity)?'inherit':'hidden'; 1211 me._image_5.ggVisible=true; 1212 } 1213 else { 1214 me._image_5.style.visibility="hidden"; 1215 me._image_5.ggVisible=false; 1216 } 1217 } 1218 } 1219 this._image_5.ggUpdatePosition=function (useTransition) { 1220 if (useTransition==='undefined') { 1221 useTransition = false; 1222 } 1223 if (!useTransition) { 1224 this.style[domTransition]='none'; 1225 } 1226 if (this.parentNode) { 1227 var w=this.parentNode.offsetWidth; 1228 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 1229 var h=this.parentNode.offsetHeight; 1230 this.style.top=(this.ggTop - 1 + h) + 'px'; 1231 } 1232 } 1233 this._steuerung.appendChild(this._image_5); 1234 this._image_6=document.createElement('div'); 1235 this._image_6__img=document.createElement('img'); 1236 this._image_6__img.className='ggskin ggskin_image'; 1237 this._image_6__img.setAttribute('src',basePath + 'images/image_6.png'); 1238 this._image_6__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 1239 this._image_6__img.className='ggskin ggskin_image'; 1240 this._image_6__img['ondragstart']=function() { return false; }; 1241 me.player.checkLoaded.push(this._image_6__img); 1242 this._image_6.appendChild(this._image_6__img); 1243 this._image_6.ggId="Image 6"; 1244 this._image_6.ggLeft=-59; 1245 this._image_6.ggTop=-53; 1246 this._image_6.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 1247 this._image_6.ggVisible=false; 1248 this._image_6.className='ggskin ggskin_image '; 1249 this._image_6.ggType='image'; 1250 hs =''; 1251 hs+='height : 50px;'; 1252 hs+='left : -60px;'; 1253 hs+='position : absolute;'; 1254 hs+='top : -54px;'; 1255 hs+='visibility : hidden;'; 1256 hs+='width : 50px;'; 1257 hs+='pointer-events:auto;'; 1258 this._image_6.setAttribute('style',hs); 1259 this._image_6.style[domTransform + 'Origin']='50% 100%'; 1260 me._image_6.ggIsActive=function() { 1261 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 1262 return this.parentNode.ggIsActive(); 1263 } 1264 return false; 1265 } 1266 me._image_6.ggElementNodeId=function() { 1267 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 1268 return this.parentNode.ggElementNodeId(); 1269 } 1270 return me.player.getCurrentNode(); 1271 } 1272 this._image_6.onclick=function (e) { 1273 me.player.toggleAutorotate(); 1274 } 1275 this._image_6.onmouseover=function (e) { 1276 me._autorotation_aus.style[domTransition]='none'; 1277 me._autorotation_aus.style.visibility=(Number(me._autorotation_aus.style.opacity)>0||!me._autorotation_aus.style.opacity)?'inherit':'hidden'; 1278 me._autorotation_aus.ggVisible=true; 1279 } 1280 this._image_6.onmouseout=function (e) { 1281 me._autorotation_aus.style[domTransition]='none'; 1282 me._autorotation_aus.style.visibility='hidden'; 1283 me._autorotation_aus.ggVisible=false; 1284 } 1285 me._image_6.ggCurrentLogicStateVisible = -1; 1286 this._image_6.ggUpdateConditionTimer=function () { 1287 var newLogicStateVisible; 1288 if ( 1289 (me.player.getIsAutorotating() == true) 1290 ) 1291 { 1292 newLogicStateVisible = 0; 1293 } 1294 else { 1295 newLogicStateVisible = -1; 1296 } 1297 if (me._image_6.ggCurrentLogicStateVisible != newLogicStateVisible) { 1298 me._image_6.ggCurrentLogicStateVisible = newLogicStateVisible; 1299 me._image_6.style[domTransition]=''; 1300 if (me._image_6.ggCurrentLogicStateVisible == 0) { 1301 me._image_6.style.visibility=(Number(me._image_6.style.opacity)>0||!me._image_6.style.opacity)?'inherit':'hidden'; 1302 me._image_6.ggVisible=true; 1303 } 1304 else { 1305 me._image_6.style.visibility="hidden"; 1306 me._image_6.ggVisible=false; 1307 } 1308 } 1309 } 1310 this._image_6.ggUpdatePosition=function (useTransition) { 1311 if (useTransition==='undefined') { 1312 useTransition = false; 1313 } 1314 if (!useTransition) { 1315 this.style[domTransition]='none'; 1316 } 1317 if (this.parentNode) { 1318 var w=this.parentNode.offsetWidth; 1319 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 1320 var h=this.parentNode.offsetHeight; 1321 this.style.top=(this.ggTop - 1 + h) + 'px'; 1322 } 1323 } 1324 this._steuerung.appendChild(this._image_6); 1325 this._image_7=document.createElement('div'); 1326 this._image_7__img=document.createElement('img'); 1327 this._image_7__img.className='ggskin ggskin_image'; 1328 this._image_7__img.setAttribute('src',basePath + 'images/image_7.png'); 1329 this._image_7__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 1330 this._image_7__img.className='ggskin ggskin_image'; 1331 this._image_7__img['ondragstart']=function() { return false; }; 1332 me.player.checkLoaded.push(this._image_7__img); 1333 this._image_7.appendChild(this._image_7__img); 1334 this._image_7.ggId="Image 7"; 1335 this._image_7.ggLeft=0; 1336 this._image_7.ggTop=-53; 1337 this._image_7.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 1338 this._image_7.ggVisible=true; 1339 this._image_7.className='ggskin ggskin_image '; 1340 this._image_7.ggType='image'; 1341 hs =''; 1342 hs+='height : 50px;'; 1343 hs+='left : -1px;'; 1344 hs+='position : absolute;'; 1345 hs+='top : -54px;'; 1346 hs+='visibility : inherit;'; 1347 hs+='width : 50px;'; 1348 hs+='pointer-events:auto;'; 1349 this._image_7.setAttribute('style',hs); 1350 this._image_7.style[domTransform + 'Origin']='50% 100%'; 1351 me._image_7.ggIsActive=function() { 1352 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 1353 return this.parentNode.ggIsActive(); 1354 } 1355 return false; 1356 } 1357 me._image_7.ggElementNodeId=function() { 1358 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 1359 return this.parentNode.ggElementNodeId(); 1360 } 1361 return me.player.getCurrentNode(); 1362 } 1363 this._image_7.onclick=function (e) { 1364 me.player.changeViewMode(2); 1365 me._image_7.style[domTransition]='none'; 1366 me._image_7.style.visibility='hidden'; 1367 me._image_7.ggVisible=false; 1368 me._image_8.style[domTransition]='none'; 1369 me._image_8.style.visibility=(Number(me._image_8.style.opacity)>0||!me._image_8.style.opacity)?'inherit':'hidden'; 1370 me._image_8.ggVisible=true; 1371 } 1372 this._image_7.onmouseover=function (e) { 1373 me._steurung_umschalten.style[domTransition]='none'; 1374 me._steurung_umschalten.style.visibility=(Number(me._steurung_umschalten.style.opacity)>0||!me._steurung_umschalten.style.opacity)?'inherit':'hidden'; 1375 me._steurung_umschalten.ggVisible=true; 1376 } 1377 this._image_7.onmouseout=function (e) { 1378 me._steurung_umschalten.style[domTransition]='none'; 1379 me._steurung_umschalten.style.visibility='hidden'; 1380 me._steurung_umschalten.ggVisible=false; 1381 } 1382 this._image_7.ggUpdatePosition=function (useTransition) { 1383 if (useTransition==='undefined') { 1384 useTransition = false; 1385 } 1386 if (!useTransition) { 1387 this.style[domTransition]='none'; 1388 } 1389 if (this.parentNode) { 1390 var w=this.parentNode.offsetWidth; 1391 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 1392 var h=this.parentNode.offsetHeight; 1393 this.style.top=(this.ggTop - 1 + h) + 'px'; 1394 } 1395 } 1396 this._steuerung.appendChild(this._image_7); 1397 this._image_8=document.createElement('div'); 1398 this._image_8__img=document.createElement('img'); 1399 this._image_8__img.className='ggskin ggskin_image'; 1400 this._image_8__img.setAttribute('src',basePath + 'images/image_8.png'); 1401 this._image_8__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 1402 this._image_8__img.className='ggskin ggskin_image'; 1403 this._image_8__img['ondragstart']=function() { return false; }; 1404 me.player.checkLoaded.push(this._image_8__img);
1405 this._image_8.appendChild(this._image_8__img); 1406 this._image_8.ggId="Image 8"; 1407 this._image_8.ggLeft=0; 1408 this._image_8.ggTop=-53; 1409 this._image_8.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 1410 this._image_8.ggVisible=false; 1411 this._image_8.className='ggskin ggskin_image '; 1412 this._image_8.ggType='image'; 1413 hs =''; 1414 hs+='height : 50px;'; 1415 hs+='left : -1px;'; 1416 hs+='position : absolute;'; 1417 hs+='top : -54px;'; 1418 hs+='visibility : hidden;'; 1419 hs+='width : 50px;'; 1420 hs+='pointer-events:auto;'; 1421 this._image_8.setAttribute('style',hs); 1422 this._image_8.style[domTransform + 'Origin']='50% 100%'; 1423 me._image_8.ggIsActive=function() { 1424 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 1425 return this.parentNode.ggIsActive(); 1426 } 1427 return false; 1428 } 1429 me._image_8.ggElementNodeId=function() { 1430 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 1431 return this.parentNode.ggElementNodeId(); 1432 } 1433 return me.player.getCurrentNode(); 1434 } 1435 this._image_8.onclick=function (e) { 1436 me.player.changeViewMode(2); 1437 me._image_8.style[domTransition]='none'; 1438 me._image_8.style.visibility='hidden'; 1439 me._image_8.ggVisible=false; 1440 me._image_7.style[domTransition]='none'; 1441 me._image_7.style.visibility=(Number(me._image_7.style.opacity)>0||!me._image_7.style.opacity)?'inherit':'hidden'; 1442 me._image_7.ggVisible=true; 1443 } 1444 this._image_8.onmouseover=function (e) { 1445 me._steurung_umschalten.style[domTransition]='none'; 1446 me._steurung_umschalten.style.visibility=(Number(me._steurung_umschalten.style.opacity)>0||!me._steurung_umschalten.style.opacity)?'inherit':'hidden'; 1447 me._steurung_umschalten.ggVisible=true; 1448 } 1449 this._image_8.onmouseout=function (e) { 1450 me._steurung_umschalten.style[domTransition]='none'; 1451 me._steurung_umschalten.style.visibility='hidden'; 1452 me._steurung_umschalten.ggVisible=false; 1453 } 1454 this._image_8.ggUpdatePosition=function (useTransition) { 1455 if (useTransition==='undefined') { 1456 useTransition = false; 1457 } 1458 if (!useTransition) { 1459 this.style[domTransition]='none'; 1460 } 1461 if (this.parentNode) { 1462 var w=this.parentNode.offsetWidth; 1463 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 1464 var h=this.parentNode.offsetHeight; 1465 this.style.top=(this.ggTop - 1 + h) + 'px'; 1466 } 1467 } 1468 this._steuerung.appendChild(this._image_8); 1469 this._image_11=document.createElement('div'); 1470 this._image_11__img=document.createElement('img'); 1471 this._image_11__img.className='ggskin ggskin_image'; 1472 this._image_11__img.setAttribute('src',basePath + 'images/image_11.png'); 1473 this._image_11__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 1474 this._image_11__img.className='ggskin ggskin_image'; 1475 this._image_11__img['ondragstart']=function() { return false; }; 1476 me.player.checkLoaded.push(this._image_11__img); 1477 this._image_11.appendChild(this._image_11__img); 1478 this._image_11.ggId="Image 11"; 1479 this._image_11.ggLeft=60; 1480 this._image_11.ggTop=-53; 1481 this._image_11.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 1482 this._image_11.ggVisible=false; 1483 this._image_11.className='ggskin ggskin_image '; 1484 this._image_11.ggType='image'; 1485 hs =''; 1486 hs+='height : 50px;'; 1487 hs+='left : 59px;'; 1488 hs+='position : absolute;'; 1489 hs+='top : -54px;'; 1490 hs+='visibility : hidden;'; 1491 hs+='width : 50px;'; 1492 hs+='pointer-events:auto;'; 1493 this._image_11.setAttribute('style',hs); 1494 this._image_11.style[domTransform + 'Origin']='50% 100%'; 1495 me._image_11.ggIsActive=function() { 1496 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 1497 return this.parentNode.ggIsActive(); 1498 } 1499 return false; 1500 } 1501 me._image_11.ggElementNodeId=function() { 1502 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 1503 return this.parentNode.ggElementNodeId(); 1504 } 1505 return me.player.getCurrentNode(); 1506 } 1507 this._image_11.onclick=function (e) { 1508 me.player.toggleFullscreen(); 1509 } 1510 this._image_11.onmouseover=function (e) { 1511 me._vollbild.style[domTransition]='none'; 1512 me._vollbild.style.visibility=(Number(me._vollbild.style.opacity)>0||!me._vollbild.style.opacity)?'inherit':'hidden'; 1513 me._vollbild.ggVisible=true; 1514 } 1515 this._image_11.onmouseout=function (e) { 1516 me._vollbild.style[domTransition]='none'; 1517 me._vollbild.style.visibility='hidden'; 1518 me._vollbild.ggVisible=false; 1519 } 1520 me._image_11.ggCurrentLogicStateVisible = -1; 1521 this._image_11.ggUpdateConditionResize=function () { 1522 var newLogicStateVisible; 1523 if ( 1524 (me.player.getIsFullscreen() == false) 1525 ) 1526 { 1527 newLogicStateVisible = 0; 1528 } 1529 else { 1530 newLogicStateVisible = -1; 1531 } 1532 if (me._image_11.ggCurrentLogicStateVisible != newLogicStateVisible) { 1533 me._image_11.ggCurrentLogicStateVisible = newLogicStateVisible; 1534 me._image_11.style[domTransition]=''; 1535 if (me._image_11.ggCurrentLogicStateVisible == 0) { 1536 me._image_11.style.visibility=(Number(me._image_11.style.opacity)>0||!me._image_11.style.opacity)?'inherit':'hidden'; 1537 me._image_11.ggVisible=true; 1538 } 1539 else { 1540 me._image_11.style.visibility="hidden"; 1541 me._image_11.ggVisible=false; 1542 } 1543 } 1544 } 1545 this._image_11.ggUpdatePosition=function (useTransition) { 1546 if (useTransition==='undefined') { 1547 useTransition = false; 1548 } 1549 if (!useTransition) { 1550 this.style[domTransition]='none'; 1551 } 1552 if (this.parentNode) { 1553 var w=this.parentNode.offsetWidth; 1554 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 1555 var h=this.parentNode.offsetHeight; 1556 this.style.top=(this.ggTop - 1 + h) + 'px'; 1557 } 1558 me._image_11.ggUpdateConditionResize(); 1559 } 1560 this._steuerung.appendChild(this._image_11); 1561 this._image_13=document.createElement('div'); 1562 this._image_13__img=document.createElement('img'); 1563 this._image_13__img.className='ggskin ggskin_image'; 1564 this._image_13__img.setAttribute('src',basePath + 'images/image_13.png'); 1565 this._image_13__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 1566 this._image_13__img.className='ggskin ggskin_image'; 1567 this._image_13__img['ondragstart']=function() { return false; }; 1568 me.player.checkLoaded.push(this._image_13__img); 1569 this._image_13.appendChild(this._image_13__img); 1570 this._image_13.ggId="Image 13"; 1571 this._image_13.ggLeft=59; 1572 this._image_13.ggTop=-53; 1573 this._image_13.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 1574 this._image_13.ggVisible=false; 1575 this._image_13.className='ggskin ggskin_image '; 1576 this._image_13.ggType='image'; 1577 hs =''; 1578 hs+='height : 50px;'; 1579 hs+='left : 58px;'; 1580 hs+='position : absolute;'; 1581 hs+='top : -54px;'; 1582 hs+='visibility : hidden;'; 1583 hs+='width : 50px;'; 1584 hs+='pointer-events:auto;'; 1585 this._image_13.setAttribute('style',hs); 1586 this._image_13.style[domTransform + 'Origin']='50% 100%'; 1587 me._image_13.ggIsActive=function() { 1588 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 1589 return this.parentNode.ggIsActive(); 1590 } 1591 return false; 1592 } 1593 me._image_13.ggElementNodeId=function() { 1594 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 1595 return this.parentNode.ggElementNodeId(); 1596 } 1597 return me.player.getCurrentNode(); 1598 } 1599 this._image_13.onclick=function (e) { 1600 me.player.toggleFullscreen(); 1601 } 1602 this._image_13.onmouseover=function (e) { 1603 me._vollbild.style[domTransition]='none'; 1604 me._vollbild.style.visibility=(Number(me._vollbild.style.opacity)>0||!me._vollbild.style.opacity)?'inherit':'hidden'; 1605 me._vollbild.ggVisible=true; 1606 } 1607 this._image_13.onmouseout=function (e) { 1608 me._vollbild.style[domTransition]='none'; 1609 me._vollbild.style.visibility='hidden'; 1610 me._vollbild.ggVisible=false; 1611 } 1612 me._image_13.ggCurrentLogicStateVisible = -1; 1613 this._image_13.ggUpdateConditionResize=function () { 1614 var newLogicStateVisible; 1615 if ( 1616 (me.player.getIsFullscreen() == true) 1617 ) 1618 { 1619 newLogicStateVisible = 0; 1620 } 1621 else { 1622 newLogicStateVisible = -1; 1623 } 1624 if (me._image_13.ggCurrentLogicStateVisible != newLogicStateVisible) { 1625 me._image_13.ggCurrentLogicStateVisible = newLogicStateVisible; 1626 me._image_13.style[domTransition]=''; 1627 if (me._image_13.ggCurrentLogicStateVisible == 0) { 1628 me._image_13.style.visibility=(Number(me._image_13.style.opacity)>0||!me._image_13.style.opacity)?'inherit':'hidden'; 1629 me._image_13.ggVisible=true; 1630 } 1631 else { 1632 me._image_13.style.visibility="hidden"; 1633 me._image_13.ggVisible=false; 1634 } 1635 } 1636 } 1637 this._image_13.ggUpdatePosition=function (useTransition) { 1638 if (useTransition==='undefined') { 1639 useTransition = false; 1640 } 1641 if (!useTransition) { 1642 this.style[domTransition]='none'; 1643 } 1644 if (this.parentNode) { 1645 var w=this.parentNode.offsetWidth; 1646 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 1647 var h=this.parentNode.offsetHeight; 1648 this.style.top=(this.ggTop - 1 + h) + 'px'; 1649 } 1650 me._image_13.ggUpdateConditionResize(); 1651 } 1652 this._steuerung.appendChild(this._image_13); 1653 this._image_4=document.createElement('div');
1654 this._image_4__img=document.createElement('img'); 1655 this._image_4__img.className='ggskin ggskin_image'; 1656 this._image_4__img.setAttribute('src',basePath + 'images/image_4.png'); 1657 this._image_4__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 1658 this._image_4__img.className='ggskin ggskin_image'; 1659 this._image_4__img['ondragstart']=function() { return false; }; 1660 me.player.checkLoaded.push(this._image_4__img); 1661 this._image_4.appendChild(this._image_4__img); 1662 this._image_4.ggId="Image 4"; 1663 this._image_4.ggLeft=119; 1664 this._image_4.ggTop=-55; 1665 this._image_4.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 1666 this._image_4.ggVisible=true; 1667 this._image_4.className='ggskin ggskin_image '; 1668 this._image_4.ggType='image'; 1669 hs =''; 1670 hs+='height : 50px;'; 1671 hs+='left : 118px;'; 1672 hs+='position : absolute;'; 1673 hs+='top : -56px;'; 1674 hs+='visibility : inherit;'; 1675 hs+='width : 50px;'; 1676 hs+='pointer-events:auto;'; 1677 this._image_4.setAttribute('style',hs); 1678 this._image_4.style[domTransform + 'Origin']='50% 100%'; 1679 me._image_4.ggIsActive=function() { 1680 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 1681 return this.parentNode.ggIsActive(); 1682 } 1683 return false; 1684 } 1685 me._image_4.ggElementNodeId=function() { 1686 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 1687 return this.parentNode.ggElementNodeId(); 1688 } 1689 return me.player.getCurrentNode(); 1690 } 1691 this._image_4.onclick=function (e) { 1692 if (me.player.transitionsDisabled) { 1693 me._bedienungsanleitung.style[domTransition]='none'; 1694 } else { 1695 me._bedienungsanleitung.style[domTransition]='all 1000ms ease-out 0ms'; 1696 } 1697 me._bedienungsanleitung.ggParameter.rx=0;me._bedienungsanleitung.ggParameter.ry=0; 1698 me._bedienungsanleitung.style[domTransform]=parameterToTransform(me._bedienungsanleitung.ggParameter); 1699 if (me.player.transitionsDisabled) { 1700 me._bedienungsanleitung.style[domTransition]='none'; 1701 } else { 1702 me._bedienungsanleitung.style[domTransition]='all 500ms ease-out 0ms'; 1703 } 1704 me._bedienungsanleitung.style.opacity='1'; 1705 me._bedienungsanleitung.style.visibility=me._bedienungsanleitung.ggVisible?'inherit':'hidden'; 1706 } 1707 this._image_4.onmouseover=function (e) { 1708 me._text_hilfe.style[domTransition]='none'; 1709 me._text_hilfe.style.visibility=(Number(me._text_hilfe.style.opacity)>0||!me._text_hilfe.style.opacity)?'inherit':'hidden'; 1710 me._text_hilfe.ggVisible=true; 1711 } 1712 this._image_4.onmouseout=function (e) { 1713 me._text_hilfe.style[domTransition]='none'; 1714 me._text_hilfe.style.visibility='hidden'; 1715 me._text_hilfe.ggVisible=false; 1716 } 1717 this._image_4.ggUpdatePosition=function (useTransition) { 1718 if (useTransition==='undefined') { 1719 useTransition = false; 1720 } 1721 if (!useTransition) { 1722 this.style[domTransition]='none'; 1723 } 1724 if (this.parentNode) { 1725 var w=this.parentNode.offsetWidth; 1726 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 1727 var h=this.parentNode.offsetHeight; 1728 this.style.top=(this.ggTop - 1 + h) + 'px'; 1729 } 1730 } 1731 this._steuerung.appendChild(this._image_4); 1732 this._text_hilfe=document.createElement('div'); 1733 this._text_hilfe__text=document.createElement('div'); 1734 this._text_hilfe.className='ggskin ggskin_textdiv'; 1735 this._text_hilfe.ggTextDiv=this._text_hilfe__text; 1736 this._text_hilfe.ggId="Text Hilfe"; 1737 this._text_hilfe.ggLeft=101; 1738 this._text_hilfe.ggTop=-91; 1739 this._text_hilfe.ggParameter={ rx:0,ry:0,a:0,sx:1.3,sy:1.3 }; 1740 this._text_hilfe.ggVisible=false; 1741 this._text_hilfe.className='ggskin ggskin_text '; 1742 this._text_hilfe.ggType='text'; 1743 hs =''; 1744 hs+='height : 17px;'; 1745 hs+='left : 100px;'; 1746 hs+='position : absolute;'; 1747 hs+='top : -92px;'; 1748 hs+='visibility : hidden;'; 1749 hs+='width : 95px;'; 1750 hs+='pointer-events:auto;'; 1751 this._text_hilfe.setAttribute('style',hs); 1752 this._text_hilfe.style[domTransform + 'Origin']='50% 100%'; 1753 this._text_hilfe.style[domTransform]=parameterToTransform(this._text_hilfe.ggParameter); 1754 hs ='position:absolute;'; 1755 hs+='cursor: default;'; 1756 hs+='left: 0px;'; 1757 hs+='top: 0px;'; 1758 hs+='width: auto;'; 1759 hs+='height: auto;'; 1760 hs+='background: #2c2c2c;'; 1761 hs+='border: 1px solid #ffffff;'; 1762 hs+='border-radius: 5px;'; 1763 hs+=cssPrefix + 'border-radius: 5px;'; 1764 hs+='color: rgba(255,255,255,1);'; 1765 hs+='text-align: center;'; 1766 hs+='white-space: nowrap;'; 1767 hs+='padding: 1px 2px 1px 2px;'; 1768 hs+='overflow: hidden;'; 1769 this._text_hilfe__text.setAttribute('style',hs); 1770 this._text_hilfe__text.innerHTML="Hilfe"; 1771 this._text_hilfe.appendChild(this._text_hilfe__text); 1772 me._text_hilfe.ggIsActive=function() { 1773 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 1774 return this.parentNode.ggIsActive(); 1775 } 1776 return false; 1777 } 1778 me._text_hilfe.ggElementNodeId=function() { 1779 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 1780 return this.parentNode.ggElementNodeId(); 1781 } 1782 return me.player.getCurrentNode(); 1783 } 1784 this._text_hilfe.ggUpdatePosition=function (useTransition) { 1785 if (useTransition==='undefined') { 1786 useTransition = false; 1787 } 1788 if (!useTransition) { 1789 this.style[domTransition]='none'; 1790 } 1791 if (this.parentNode) { 1792 var w=this.parentNode.offsetWidth; 1793 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 1794 var h=this.parentNode.offsetHeight; 1795 this.style.top=(this.ggTop - 1 + h) + 'px'; 1796 } 1797 this.style[domTransition]='none'; 1798 this.ggTextDiv.style.left=((99-this.ggTextDiv.offsetWidth)/2) + 'px'; 1799 } 1800 this._steuerung.appendChild(this._text_hilfe); 1801 this._vollbild=document.createElement('div'); 1802 this._vollbild__text=document.createElement('div');
1803 this._vollbild.className='ggskin ggskin_textdiv'; 1804 this._vollbild.ggTextDiv=this._vollbild__text; 1805 this._vollbild.ggId="Vollbild"; 1806 this._vollbild.ggLeft=41; 1807 this._vollbild.ggTop=-91; 1808 this._vollbild.ggParameter={ rx:0,ry:0,a:0,sx:1.3,sy:1.3 }; 1809 this._vollbild.ggVisible=false; 1810 this._vollbild.className='ggskin ggskin_text '; 1811 this._vollbild.ggType='text'; 1812 hs =''; 1813 hs+='height : 17px;'; 1814 hs+='left : 40px;'; 1815 hs+='position : absolute;'; 1816 hs+='top : -92px;'; 1817 hs+='visibility : hidden;'; 1818 hs+='width : 91px;'; 1819 hs+='pointer-events:auto;'; 1820 this._vollbild.setAttribute('style',hs); 1821 this._vollbild.style[domTransform + 'Origin']='50% 100%'; 1822 this._vollbild.style[domTransform]=parameterToTransform(this._vollbild.ggParameter); 1823 hs ='position:absolute;'; 1824 hs+='cursor: default;'; 1825 hs+='left: 0px;'; 1826 hs+='top: 0px;'; 1827 hs+='width: auto;'; 1828 hs+='height: auto;'; 1829 hs+='background: #2c2c2c;'; 1830 hs+='border: 1px solid #ffffff;'; 1831 hs+='border-radius: 5px;'; 1832 hs+=cssPrefix + 'border-radius: 5px;'; 1833 hs+='color: rgba(255,255,255,1);'; 1834 hs+='text-align: center;'; 1835 hs+='white-space: nowrap;'; 1836 hs+='padding: 1px 2px 1px 2px;'; 1837 hs+='overflow: hidden;'; 1838 this._vollbild__text.setAttribute('style',hs); 1839 this._vollbild__text.innerHTML="Vollbild<br\/>"; 1840 this._vollbild.appendChild(this._vollbild__text); 1841 me._vollbild.ggIsActive=function() { 1842 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 1843 return this.parentNode.ggIsActive(); 1844 } 1845 return false; 1846 } 1847 me._vollbild.ggElementNodeId=function() { 1848 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 1849 return this.parentNode.ggElementNodeId(); 1850 } 1851 return me.player.getCurrentNode(); 1852 } 1853 this._vollbild.ggUpdatePosition=function (useTransition) { 1854 if (useTransition==='undefined') { 1855 useTransition = false; 1856 } 1857 if (!useTransition) { 1858 this.style[domTransition]='none'; 1859 } 1860 if (this.parentNode) { 1861 var w=this.parentNode.offsetWidth; 1862 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 1863 var h=this.parentNode.offsetHeight; 1864 this.style.top=(this.ggTop - 1 + h) + 'px'; 1865 } 1866 this.style[domTransition]='none'; 1867 this.ggTextDiv.style.left=((95-this.ggTextDiv.offsetWidth)/2) + 'px'; 1868 } 1869 this._steuerung.appendChild(this._vollbild); 1870 this._steurung_umschalten=document.createElement('div'); 1871 this._steurung_umschalten__text=document.createElement('div'); 1872 this._steurung_umschalten.className='ggskin ggskin_textdiv'; 1873 this._steurung_umschalten.ggTextDiv=this._steurung_umschalten__text; 1874 this._steurung_umschalten.ggId="Steurung umschalten"; 1875 this._steurung_umschalten.ggLeft=-53; 1876 this._steurung_umschalten.ggTop=-91; 1877 this._steurung_umschalten.ggParameter={ rx:0,ry:0,a:0,sx:1.3,sy:1.3 }; 1878 this._steurung_umschalten.ggVisible=false; 1879 this._steurung_umschalten.className='ggskin ggskin_text '; 1880 this._steurung_umschalten.ggType='text'; 1881 hs =''; 1882 hs+='height : 17px;'; 1883 hs+='left : -54px;'; 1884 hs+='position : absolute;'; 1885 hs+='top : -92px;'; 1886 hs+='visibility : hidden;'; 1887 hs+='width : 155px;'; 1888 hs+='pointer-events:auto;'; 1889 this._steurung_umschalten.setAttribute('style',hs); 1890 this._steurung_umschalten.style[domTransform + 'Origin']='50% 100%'; 1891 this._steurung_umschalten.style[domTransform]=parameterToTransform(this._steurung_umschalten.ggParameter); 1892 hs ='position:absolute;'; 1893 hs+='cursor: default;'; 1894 hs+='left: 0px;'; 1895 hs+='top: 0px;'; 1896 hs+='width: auto;'; 1897 hs+='height: auto;'; 1898 hs+='background: #2c2c2c;'; 1899 hs+='border: 1px solid #ffffff;'; 1900 hs+='border-radius: 5px;'; 1901 hs+=cssPrefix + 'border-radius: 5px;'; 1902 hs+='color: rgba(255,255,255,1);'; 1903 hs+='text-align: center;'; 1904 hs+='white-space: nowrap;'; 1905 hs+='padding: 1px 2px 1px 2px;'; 1906 hs+='overflow: hidden;'; 1907 this._steurung_umschalten__text.setAttribute('style',hs); 1908 this._steurung_umschalten__text.innerHTML="Steuerung umschalten"; 1909 this._steurung_umschalten.appendChild(this._steurung_umschalten__text); 1910 me._steurung_umschalten.ggIsActive=function() { 1911 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 1912 return this.parentNode.ggIsActive(); 1913 } 1914 return false; 1915 } 1916 me._steurung_umschalten.ggElementNodeId=function() { 1917 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 1918 return this.parentNode.ggElementNodeId(); 1919 } 1920 return me.player.getCurrentNode(); 1921 } 1922 this._steurung_umschalten.ggUpdatePosition=function (useTransition) { 1923 if (useTransition==='undefined') { 1924 useTransition = false; 1925 } 1926 if (!useTransition) { 1927 this.style[domTransition]='none'; 1928 } 1929 if (this.parentNode) { 1930 var w=this.parentNode.offsetWidth; 1931 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 1932 var h=this.parentNode.offsetHeight; 1933 this.style.top=(this.ggTop - 1 + h) + 'px'; 1934 } 1935 this.style[domTransition]='none'; 1936 this.ggTextDiv.style.left=((159-this.ggTextDiv.offsetWidth)/2) + 'px'; 1937 } 1938 this._steuerung.appendChild(this._steurung_umschalten); 1939 this._autorotation_aus=document.createElement('div'); 1940 this._autorotation_aus__text=document.createElement('div'); 1941 this._autorotation_aus.className='ggskin ggskin_textdiv'; 1942 this._autorotation_aus.ggTextDiv=this._autorotation_aus__text; 1943 this._autorotation_aus.ggId="Autorotation aus"; 1944 this._autorotation_aus.ggLeft=-95; 1945 this._autorotation_aus.ggTop=-91; 1946 this._autorotation_aus.ggParameter={ rx:0,ry:0,a:0,sx:1.3,sy:1.3 }; 1947 this._autorotation_aus.ggVisible=false; 1948 this._autorotation_aus.className='ggskin ggskin_text '; 1949 this._autorotation_aus.ggType='text'; 1950 hs =''; 1951 hs+='height : 17px;'; 1952 hs+='left : -96px;'; 1953 hs+='position : absolute;'; 1954 hs+='top : -92px;'; 1955 hs+='visibility : hidden;'; 1956 hs+='width : 120px;'; 1957 hs+='pointer-events:auto;'; 1958 this._autorotation_aus.setAttribute('style',hs); 1959 this._autorotation_aus.style[domTransform + 'Origin']='50% 100%'; 1960 this._autorotation_aus.style[domTransform]=parameterToTransform(this._autorotation_aus.ggParameter); 1961 hs ='position:absolute;'; 1962 hs+='cursor: default;'; 1963 hs+='left: 0px;'; 1964 hs+='top: 0px;'; 1965 hs+='width: auto;'; 1966 hs+='height: auto;'; 1967 hs+='background: #2c2c2c;'; 1968 hs+='border: 1px solid #ffffff;'; 1969 hs+='border-radius: 5px;'; 1970 hs+=cssPrefix + 'border-radius: 5px;'; 1971 hs+='color: rgba(255,255,255,1);'; 1972 hs+='text-align: center;'; 1973 hs+='white-space: nowrap;'; 1974 hs+='padding: 1px 2px 1px 2px;'; 1975 hs+='overflow: hidden;'; 1976 this._autorotation_aus__text.setAttribute('style',hs); 1977 this._autorotation_aus__text.innerHTML="Autorotation aus"; 1978 this._autorotation_aus.appendChild(this._autorotation_aus__text); 1979 me._autorotation_aus.ggIsActive=function() { 1980 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 1981 return this.parentNode.ggIsActive(); 1982 } 1983 return false; 1984 } 1985 me._autorotation_aus.ggElementNodeId=function() { 1986 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 1987 return this.parentNode.ggElementNodeId(); 1988 } 1989 return me.player.getCurrentNode(); 1990 } 1991 this._autorotation_aus.ggUpdatePosition=function (useTransition) { 1992 if (useTransition==='undefined') { 1993 useTransition = false; 1994 } 1995 if (!useTransition) { 1996 this.style[domTransition]='none'; 1997 } 1998 if (this.parentNode) { 1999 var w=this.parentNode.offsetWidth; 2000 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 2001 var h=this.parentNode.offsetHeight; 2002 this.style.top=(this.ggTop - 1 + h) + 'px'; 2003 } 2004 this.style[domTransition]='none'; 2005 this.ggTextDiv.style.left=((124-this.ggTextDiv.offsetWidth)/2) + 'px'; 2006 } 2007 this._steuerung.appendChild(this._autorotation_aus); 2008 this._autototation_ein=document.createElement('div'); 2009 this._autototation_ein__text=document.createElement('div'); 2010 this._autototation_ein.className='ggskin ggskin_textdiv'; 2011 this._autototation_ein.ggTextDiv=this._autototation_ein__text; 2012 this._autototation_ein.ggId="Autototation ein"; 2013 this._autototation_ein.ggLeft=-95; 2014 this._autototation_ein.ggTop=-91; 2015 this._autototation_ein.ggParameter={ rx:0,ry:0,a:0,sx:1.3,sy:1.3 }; 2016 this._autototation_ein.ggVisible=false; 2017 this._autototation_ein.className='ggskin ggskin_text '; 2018 this._autototation_ein.ggType='text'; 2019 hs =''; 2020 hs+='height : 17px;'; 2021 hs+='left : -96px;'; 2022 hs+='position : absolute;'; 2023 hs+='top : -92px;'; 2024 hs+='visibility : hidden;'; 2025 hs+='width : 120px;'; 2026 hs+='pointer-events:auto;'; 2027 this._autototation_ein.setAttribute('style',hs); 2028 this._autototation_ein.style[domTransform + 'Origin']='50% 100%'; 2029 this._autototation_ein.style[domTransform]=parameterToTransform(this._autototation_ein.ggParameter); 2030 hs ='position:absolute;'; 2031 hs+='cursor: default;'; 2032 hs+='left: 0px;'; 2033 hs+='top: 0px;'; 2034 hs+='width: auto;'; 2035 hs+='height: auto;'; 2036 hs+='background: #2c2c2c;'; 2037 hs+='border: 1px solid #ffffff;'; 2038 hs+='border-radius: 5px;'; 2039 hs+=cssPrefix + 'border-radius: 5px;'; 2040 hs+='color: rgba(255,255,255,1);'; 2041 hs+='text-align: center;'; 2042 hs+='white-space: nowrap;'; 2043 hs+='padding: 1px 2px 1px 2px;'; 2044 hs+='overflow: hidden;'; 2045 this._autototation_ein__text.setAttribute('style',hs); 2046 this._autototation_ein__text.innerHTML="Autorotation ein"; 2047 this._autototation_ein.appendChild(this._autototation_ein__text); 2048 me._autototation_ein.ggIsActive=function() { 2049 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 2050 return this.parentNode.ggIsActive(); 2051 } 2052 return false; 2053 }
2054 me._autototation_ein.ggElementNodeId=function() { 2055 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 2056 return this.parentNode.ggElementNodeId(); 2057 } 2058 return me.player.getCurrentNode(); 2059 } 2060 this._autototation_ein.ggUpdatePosition=function (useTransition) { 2061 if (useTransition==='undefined') { 2062 useTransition = false; 2063 } 2064 if (!useTransition) { 2065 this.style[domTransition]='none'; 2066 } 2067 if (this.parentNode) { 2068 var w=this.parentNode.offsetWidth; 2069 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 2070 var h=this.parentNode.offsetHeight; 2071 this.style.top=(this.ggTop - 1 + h) + 'px'; 2072 } 2073 this.style[domTransition]='none'; 2074 this.ggTextDiv.style.left=((124-this.ggTextDiv.offsetWidth)/2) + 'px'; 2075 } 2076 this._steuerung.appendChild(this._autototation_ein); 2077 this._herraus_zoomen=document.createElement('div'); 2078 this._herraus_zoomen__text=document.createElement('div'); 2079 this._herraus_zoomen.className='ggskin ggskin_textdiv'; 2080 this._herraus_zoomen.ggTextDiv=this._herraus_zoomen__text; 2081 this._herraus_zoomen.ggId="herraus zoomen"; 2082 this._herraus_zoomen.ggLeft=-136; 2083 this._herraus_zoomen.ggTop=-91; 2084 this._herraus_zoomen.ggParameter={ rx:0,ry:0,a:0,sx:1.3,sy:1.3 }; 2085 this._herraus_zoomen.ggVisible=false; 2086 this._herraus_zoomen.className='ggskin ggskin_text '; 2087 this._herraus_zoomen.ggType='text'; 2088 hs =''; 2089 hs+='height : 17px;'; 2090 hs+='left : -137px;'; 2091 hs+='position : absolute;'; 2092 hs+='top : -92px;'; 2093 hs+='visibility : hidden;'; 2094 hs+='width : 91px;'; 2095 hs+='pointer-events:auto;'; 2096 this._herraus_zoomen.setAttribute('style',hs); 2097 this._herraus_zoomen.style[domTransform + 'Origin']='50% 100%'; 2098 this._herraus_zoomen.style[domTransform]=parameterToTransform(this._herraus_zoomen.ggParameter); 2099 hs ='position:absolute;'; 2100 hs+='cursor: default;'; 2101 hs+='left: 0px;'; 2102 hs+='top: 0px;'; 2103 hs+='width: auto;'; 2104 hs+='height: auto;'; 2105 hs+='background: #2c2c2c;'; 2106 hs+='border: 1px solid #ffffff;'; 2107 hs+='border-radius: 5px;'; 2108 hs+=cssPrefix + 'border-radius: 5px;'; 2109 hs+='color: rgba(255,255,255,1);'; 2110 hs+='text-align: center;'; 2111 hs+='white-space: nowrap;'; 2112 hs+='padding: 1px 2px 1px 2px;'; 2113 hs+='overflow: hidden;'; 2114 this._herraus_zoomen__text.setAttribute('style',hs); 2115 this._herraus_zoomen__text.innerHTML="Zoom Out"; 2116 this._herraus_zoomen.appendChild(this._herraus_zoomen__text); 2117 me._herraus_zoomen.ggIsActive=function() { 2118 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 2119 return this.parentNode.ggIsActive(); 2120 } 2121 return false; 2122 } 2123 me._herraus_zoomen.ggElementNodeId=function() { 2124 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 2125 return this.parentNode.ggElementNodeId(); 2126 } 2127 return me.player.getCurrentNode(); 2128 } 2129 this._herraus_zoomen.ggUpdatePosition=function (useTransition) { 2130 if (useTransition==='undefined') { 2131 useTransition = false; 2132 } 2133 if (!useTransition) { 2134 this.style[domTransition]='none'; 2135 } 2136 if (this.parentNode) { 2137 var w=this.parentNode.offsetWidth; 2138 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 2139 var h=this.parentNode.offsetHeight; 2140 this.style.top=(this.ggTop - 1 + h) + 'px'; 2141 } 2142 this.style[domTransition]='none'; 2143 this.ggTextDiv.style.left=((95-this.ggTextDiv.offsetWidth)/2) + 'px'; 2144 } 2145 this._steuerung.appendChild(this._herraus_zoomen); 2146 this._hinein_zoomen=document.createElement('div'); 2147 this._hinein_zoomen__text=document.createElement('div'); 2148 this._hinein_zoomen.className='ggskin ggskin_textdiv'; 2149 this._hinein_zoomen.ggTextDiv=this._hinein_zoomen__text; 2150 this._hinein_zoomen.ggId="hinein zoomen"; 2151 this._hinein_zoomen.ggLeft=-195; 2152 this._hinein_zoomen.ggTop=-91; 2153 this._hinein_zoomen.ggParameter={ rx:0,ry:0,a:0,sx:1.3,sy:1.3 }; 2154 this._hinein_zoomen.ggVisible=false; 2155 this._hinein_zoomen.className='ggskin ggskin_text '; 2156 this._hinein_zoomen.ggType='text'; 2157 hs =''; 2158 hs+='height : 17px;'; 2159 hs+='left : -196px;'; 2160 hs+='position : absolute;'; 2161 hs+='top : -92px;'; 2162 hs+='visibility : hidden;'; 2163 hs+='width : 91px;'; 2164 hs+='pointer-events:auto;'; 2165 this._hinein_zoomen.setAttribute('style',hs); 2166 this._hinein_zoomen.style[domTransform + 'Origin']='50% 100%'; 2167 this._hinein_zoomen.style[domTransform]=parameterToTransform(this._hinein_zoomen.ggParameter); 2168 hs ='position:absolute;'; 2169 hs+='cursor: default;'; 2170 hs+='left: 0px;'; 2171 hs+='top: 0px;'; 2172 hs+='width: auto;'; 2173 hs+='height: auto;'; 2174 hs+='background: #2c2c2c;'; 2175 hs+='border: 1px solid #ffffff;'; 2176 hs+='border-radius: 5px;'; 2177 hs+=cssPrefix + 'border-radius: 5px;'; 2178 hs+='color: rgba(255,255,255,1);'; 2179 hs+='text-align: center;'; 2180 hs+='white-space: nowrap;'; 2181 hs+='padding: 1px 2px 1px 2px;'; 2182 hs+='overflow: hidden;'; 2183 this._hinein_zoomen__text.setAttribute('style',hs); 2184 this._hinein_zoomen__text.innerHTML="Zoom In"; 2185 this._hinein_zoomen.appendChild(this._hinein_zoomen__text); 2186 me._hinein_zoomen.ggIsActive=function() { 2187 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 2188 return this.parentNode.ggIsActive(); 2189 } 2190 return false; 2191 } 2192 me._hinein_zoomen.ggElementNodeId=function() { 2193 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 2194 return this.parentNode.ggElementNodeId(); 2195 } 2196 return me.player.getCurrentNode(); 2197 } 2198 this._hinein_zoomen.ggUpdatePosition=function (useTransition) { 2199 if (useTransition==='undefined') { 2200 useTransition = false; 2201 } 2202 if (!useTransition) { 2203 this.style[domTransition]='none'; 2204 } 2205 if (this.parentNode) { 2206 var w=this.parentNode.offsetWidth; 2207 this.style.left=(this.ggLeft - 1 + w/2) + 'px'; 2208 var h=this.parentNode.offsetHeight; 2209 this.style.top=(this.ggTop - 1 + h) + 'px'; 2210 } 2211 this.style[domTransition]='none'; 2212 this.ggTextDiv.style.left=((95-this.ggTextDiv.offsetWidth)/2) + 'px'; 2213 } 2214 this._steuerung.appendChild(this._hinein_zoomen); 2215 this.divSkin.appendChild(this._steuerung); 2216 this._container_1=document.createElement('div'); 2217 this._container_1.ggId="Container 1"; 2218 this._container_1.ggLeft=-28; 2219 this._container_1.ggTop=-46; 2220 this._container_1.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; 2221 this._container_1.ggVisible=false; 2222 this._container_1.className='ggskin ggskin_container '; 2223 this._container_1.ggType='container'; 2224 hs =''; 2225 hs+='height : 58px;'; 2226 hs+='left : -28px;'; 2227 hs+='position : absolute;'; 2228 hs+='top : -46px;'; 2229 hs+='visibility : hidden;'; 2230 hs+='width : 174px;'; 2231 hs+='pointer-events:none;'; 2232 this._container_1.setAttribute('style',hs); 2233 this._container_1.style[domTransform + 'Origin']='50% 100%'; 2234 this._container_1.style[domTransform]=parameterToTransform(this._container_1.ggParameter); 2235 me._container_1.ggIsActive=function() { 2236 return false; 2237 } 2238 me._container_1.ggElementNodeId=function() { 2239 return me.player.getCurrentNode(); 2240 } 2241 me._container_1.ggCurrentLogicStateScaling = -1; 2242 me._container_1.ggCurrentLogicStateVisible = -1; 2243 this._container_1.ggUpdateConditionNodeChange=function () { 2244 var newLogicStateScaling; 2245 if ( 2246 (me.player.getIsMobile() == true) 2247 ) 2248 { 2249 newLogicStateScaling = 0; 2250 } 2251 else { 2252 newLogicStateScaling = -1; 2253 } 2254 if (me._container_1.ggCurrentLogicStateScaling != newLogicStateScaling) { 2255 me._container_1.ggCurrentLogicStateScaling = newLogicStateScaling; 2256 me._container_1.style[domTransition]='' + cssPrefix + 'transform none'; 2257 if (me._container_1.ggCurrentLogicStateScaling == 0) { 2258 me._container_1.ggParameter.sx = 0.5; 2259 me._container_1.ggParameter.sy = 0.5; 2260 me._container_1.style[domTransform]=parameterToTransform(me._container_1.ggParameter); 2261 } 2262 else { 2263 me._container_1.ggParameter.sx = 0.9; 2264 me._container_1.ggParameter.sy = 0.9; 2265 me._container_1.style[domTransform]=parameterToTransform(me._container_1.ggParameter); 2266 } 2267 } 2268 var newLogicStateVisible; 2269 if ( 2270 (me.player.getIsMobile() == true) 2271 ) 2272 { 2273 newLogicStateVisible = 0; 2274 } 2275 else { 2276 newLogicStateVisible = -1; 2277 } 2278 if (me._container_1.ggCurrentLogicStateVisible != newLogicStateVisible) { 2279 me._container_1.ggCurrentLogicStateVisible = newLogicStateVisible; 2280 me._container_1.style[domTransition]='' + cssPrefix + 'transform none'; 2281 if (me._container_1.ggCurrentLogicStateVisible == 0) { 2282 me._container_1.style.visibility="hidden"; 2283 me._container_1.ggVisible=false; 2284 } 2285 else { 2286 me._container_1.style.visibility="hidden"; 2287 me._container_1.ggVisible=false; 2288 } 2289 } 2290 } 2291 this._container_1.ggUpdatePosition=function (useTransition) { 2292 if (useTransition==='undefined') { 2293 useTransition = false; 2294 } 2295 if (!useTransition) { 2296 this.style[domTransition]='none'; 2297 } 2298 if (this.parentNode) { 2299 var w=this.parentNode.offsetWidth; 2300 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 2301 var h=this.parentNode.offsetHeight; 2302 this.style.top=(this.ggTop - 0 + h) + 'px'; 2303 } 2304 } 2305 this._container_1.ggNodeChange=function () { 2306 me._container_1.ggUpdateConditionNodeChange(); 2307 } 2308 this._rectangle_4=document.createElement('div'); 2309 this._rectangle_4.ggId="Rectangle 4"; 2310 this._rectangle_4.ggLeft=-87; 2311 this._rectangle_4.ggTop=-58; 2312 this._rectangle_4.ggParameter={ rx:0,ry:0,a:0,sx:0.75,sy:1 }; 2313 this._rectangle_4.ggVisible=true; 2314 this._rectangle_4.className='ggskin ggskin_rectangle '; 2315 this._rectangle_4.ggType='rectangle'; 2316 hs =''; 2317 hs+=cssPrefix + 'border-radius : 6px;'; 2318 hs+='border-radius : 6px;'; 2319 hs+='background : #2c2c2c;'; 2320 hs+='border : 1px solid #ffffff;'; 2321 hs+='cursor : pointer;'; 2322 hs+='height : 57px;'; 2323 hs+='left : -87px;'; 2324 hs+='opacity : 0.7;'; 2325 hs+='position : absolute;'; 2326 hs+='top : -58px;'; 2327 hs+='visibility : inherit;'; 2328 hs+='width : 67px;'; 2329 hs+='pointer-events:auto;'; 2330 this._rectangle_4.setAttribute('style',hs); 2331 this._rectangle_4.style[domTransform + 'Origin']='50% 100%'; 2332 this._rectangle_4.style[domTransform]=parameterToTransform(this._rectangle_4.ggParameter); 2333 me._rectangle_4.ggIsActive=function() { 2334 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 2335 return this.parentNode.ggIsActive(); 2336 } 2337 return false; 2338 } 2339 me._rectangle_4.ggElementNodeId=function() { 2340 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 2341 return this.parentNode.ggElementNodeId(); 2342 } 2343 return me.player.getCurrentNode(); 2344 } 2345 this._rectangle_4.ggUpdatePosition=function (useTransition) { 2346 if (useTransition==='undefined') { 2347 useTransition = false; 2348 } 2349 if (!useTransition) { 2350 this.style[domTransition]='none'; 2351 } 2352 if (this.parentNode) { 2353 var w=this.parentNode.offsetWidth; 2354 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 2355 var h=this.parentNode.offsetHeight; 2356 this.style.top=(this.ggTop - 0 + h) + 'px'; 2357 } 2358 } 2359 this._container_1.appendChild(this._rectangle_4); 2360 this._image_15=document.createElement('div'); 2361 this._image_15__img=document.createElement('img'); 2362 this._image_15__img.className='ggskin ggskin_image'; 2363 this._image_15__img.setAttribute('src',basePath + 'images/image_15.png'); 2364 this._image_15__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 2365 this._image_15__img.className='ggskin ggskin_image'; 2366 this._image_15__img['ondragstart']=function() { return false; }; 2367 me.player.checkLoaded.push(this._image_15__img); 2368 this._image_15.appendChild(this._image_15__img); 2369 this._image_15.ggId="Image 15"; 2370 this._image_15.ggLeft=-78; 2371 this._image_15.ggTop=-63; 2372 this._image_15.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; 2373 this._image_15.ggVisible=false; 2374 this._image_15.className='ggskin ggskin_image '; 2375 this._image_15.ggType='image'; 2376 hs =''; 2377 hs+='height : 50px;'; 2378 hs+='left : -78px;'; 2379 hs+='position : absolute;'; 2380 hs+='top : -63px;'; 2381 hs+='visibility : hidden;'; 2382 hs+='width : 50px;'; 2383 hs+='pointer-events:auto;'; 2384 this._image_15.setAttribute('style',hs); 2385 this._image_15.style[domTransform + 'Origin']='50% 100%'; 2386 this._image_15.style[domTransform]=parameterToTransform(this._image_15.ggParameter); 2387 me._image_15.ggIsActive=function() { 2388 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 2389 return this.parentNode.ggIsActive(); 2390 } 2391 return false; 2392 } 2393 me._image_15.ggElementNodeId=function() { 2394 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 2395 return this.parentNode.ggElementNodeId(); 2396 } 2397 return me.player.getCurrentNode(); 2398 } 2399 this._image_15.onclick=function (e) { 2400 if (me.player.transitionsDisabled) { 2401 me._steuerung.style[domTransition]='none'; 2402 } else { 2403 me._steuerung.style[domTransition]='all 1000ms ease-out 0ms'; 2404 } 2405 me._steuerung.ggParameter.rx=0;me._steuerung.ggParameter.ry=0; 2406 me._steuerung.style[domTransform]=parameterToTransform(me._steuerung.ggParameter); 2407 me._image_15.style[domTransition]='none'; 2408 me._image_15.style.visibility='hidden'; 2409 me._image_15.ggVisible=false; 2410 me._image_16.style[domTransition]='none'; 2411 me._image_16.style.visibility=(Number(me._image_16.style.opacity)>0||!me._image_16.style.opacity)?'inherit':'hidden'; 2412 me._image_16.ggVisible=true; 2413 if (me.player.transitionsDisabled) { 2414 me._steuerung.style[domTransition]='none'; 2415 } else { 2416 me._steuerung.style[domTransition]='all 500ms ease-out 0ms'; 2417 } 2418 me._steuerung.style.opacity='0.7'; 2419 me._steuerung.style.visibility=me._steuerung.ggVisible?'inherit':'hidden'; 2420 } 2421 this._image_15.onmouseover=function (e) { 2422 me._text_steuerung.style[domTransition]='none'; 2423 me._text_steuerung.style.visibility=(Number(me._text_steuerung.style.opacity)>0||!me._text_steuerung.style.opacity)?'inherit':'hidden'; 2424 me._text_steuerung.ggVisible=true; 2425 } 2426 this._image_15.onmouseout=function (e) { 2427 me._text_steuerung.style[domTransition]='none'; 2428 me._text_steuerung.style.visibility='hidden'; 2429 me._text_steuerung.ggVisible=false; 2430 } 2431 this._image_15.ggUpdatePosition=function (useTransition) { 2432 if (useTransition==='undefined') { 2433 useTransition = false; 2434 } 2435 if (!useTransition) { 2436 this.style[domTransition]='none'; 2437 } 2438 if (this.parentNode) { 2439 var w=this.parentNode.offsetWidth; 2440 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 2441 var h=this.parentNode.offsetHeight; 2442 this.style.top=(this.ggTop - 0 + h) + 'px'; 2443 } 2444 } 2445 this._container_1.appendChild(this._image_15); 2446 this._image_16=document.createElement('div'); 2447 this._image_16__img=document.createElement('img'); 2448 this._image_16__img.className='ggskin ggskin_image'; 2449 this._image_16__img.setAttribute('src',basePath + 'images/image_16.png'); 2450 this._image_16__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 2451 this._image_16__img.className='ggskin ggskin_image'; 2452 this._image_16__img['ondragstart']=function() { return false; }; 2453 me.player.checkLoaded.push(this._image_16__img); 2454 this._image_16.appendChild(this._image_16__img); 2455 this._image_16.ggId="Image 16"; 2456 this._image_16.ggLeft=-78; 2457 this._image_16.ggTop=-63; 2458 this._image_16.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; 2459 this._image_16.ggVisible=true; 2460 this._image_16.className='ggskin ggskin_image '; 2461 this._image_16.ggType='image'; 2462 hs =''; 2463 hs+='height : 54px;'; 2464 hs+='left : -78px;'; 2465 hs+='position : absolute;'; 2466 hs+='top : -63px;'; 2467 hs+='visibility : inherit;'; 2468 hs+='width : 50px;'; 2469 hs+='pointer-events:auto;'; 2470 this._image_16.setAttribute('style',hs); 2471 this._image_16.style[domTransform + 'Origin']='50% 100%'; 2472 this._image_16.style[domTransform]=parameterToTransform(this._image_16.ggParameter); 2473 me._image_16.ggIsActive=function() { 2474 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 2475 return this.parentNode.ggIsActive(); 2476 } 2477 return false; 2478 } 2479 me._image_16.ggElementNodeId=function() { 2480 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 2481 return this.parentNode.ggElementNodeId(); 2482 } 2483 return me.player.getCurrentNode(); 2484 } 2485 this._image_16.onclick=function (e) { 2486 if (me.player.transitionsDisabl
2486ed) { 2487 me._steuerung.style[domTransition]='none'; 2488 } else { 2489 me._steuerung.style[domTransition]='all 1000ms ease-out 0ms'; 2490 } 2491 me._steuerung.ggParameter.rx=0;me._steuerung.ggParameter.ry=125; 2492 me._steuerung.style[domTransform]=parameterToTransform(me._steuerung.ggParameter); 2493 me._image_16.style[domTransition]='none'; 2494 me._image_16.style.visibility='hidden'; 2495 me._image_16.ggVisible=false; 2496 me._image_15.style[domTransition]='none'; 2497 me._image_15.style.visibility=(Number(me._image_15.style.opacity)>0||!me._image_15.style.opacity)?'inherit':'hidden'; 2498 me._image_15.ggVisible=true; 2499 if (me.player.transitionsDisabled) { 2500 me._steuerung.style[domTransition]='none'; 2501 } else { 2502 me._steuerung.style[domTransition]='all 500ms ease-out 0ms'; 2503 } 2504 me._steuerung.style.opacity='0'; 2505 me._steuerung.style.visibility='hidden'; 2506 } 2507 this._image_16.onmouseover=function (e) { 2508 me._text_steuerung.style[domTransition]='none'; 2509 me._text_steuerung.style.visibility=(Number(me._text_steuerung.style.opacity)>0||!me._text_steuerung.style.opacity)?'inherit':'hidden'; 2510 me._text_steuerung.ggVisible=true; 2511 } 2512 this._image_16.onmouseout=function (e) { 2513 me._text_steuerung.style[domTransition]='none'; 2514 me._text_steuerung.style.visibility='hidden'; 2515 me._text_steuerung.ggVisible=false; 2516 } 2517 this._image_16.ggUpdatePosition=function (useTransition) { 2518 if (useTransition==='undefined') { 2519 useTransition = false; 2520 } 2521 if (!useTransition) { 2522 this.style[domTransition]='none'; 2523 } 2524 if (this.parentNode) { 2525 var w=this.parentNode.offsetWidth; 2526 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 2527 var h=this.parentNode.offsetHeight; 2528 this.style.top=(this.ggTop - 0 + h) + 'px'; 2529 } 2530 } 2531 this._container_1.appendChild(this._image_16); 2532 this._text_steuerung=document.createElement('div'); 2533 this._text_steuerung__text=document.createElement('div'); 2534 this._text_steuerung.className='ggskin ggskin_textdiv'; 2535 this._text_steuerung.ggTextDiv=this._text_steuerung__text; 2536 this._text_steuerung.ggId="Text Steuerung"; 2537 this._text_steuerung.ggLeft=-21; 2538 this._text_steuerung.ggTop=-44; 2539 this._text_steuerung.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 2540 this._text_steuerung.ggVisible=false; 2541 this._text_steuerung.className='ggskin ggskin_text '; 2542 this._text_steuerung.ggType='text'; 2543 hs =''; 2544 hs+='height : 16px;'; 2545 hs+='left : -22px;'; 2546 hs+='position : absolute;'; 2547 hs+='top : -45px;'; 2548 hs+='visibility : hidden;'; 2549 hs+='width : 94px;'; 2550 hs+='pointer-events:auto;'; 2551 this._text_steuerung.setAttribute('style',hs); 2552 this._text_steuerung.style[domTransform + 'Origin']='50% 100%'; 2553 hs ='position:absolute;'; 2554 hs+='cursor: default;'; 2555 hs+='left: 0px;'; 2556 hs+='top: 0px;'; 2557 hs+='width: auto;'; 2558 hs+='height: auto;'; 2559 hs+='background: #2c2c2c;'; 2560 hs+='border: 2px solid #ffffff;'; 2561 hs+='border-radius: 5px;'; 2562 hs+=cssPrefix + 'border-radius: 5px;'; 2563 hs+='color: rgba(255,255,255,1);'; 2564 hs+='text-align: center;'; 2565 hs+='white-space: nowrap;'; 2566 hs+='padding: 1px 2px 1px 2px;'; 2567 hs+='overflow: hidden;'; 2568 this._text_steuerung__text.setAttribute('style',hs); 2569 this._text_steuerung__text.innerHTML="Steuerung"; 2570 this._text_steuerung.appendChild(this._text_steuerung__text); 2571 me._text_steuerung.ggIsActive=function() { 2572 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 2573 return this.parentNode.ggIsActive(); 2574 } 2575 return false; 2576 } 2577 me._text_steuerung.ggElementNodeId=function() { 2578 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 2579 return this.parentNode.ggElementNodeId(); 2580 } 2581 return me.player.getCurrentNode(); 2582 } 2583 this._text_steuerung.ggUpdatePosition=function (useTransition) { 2584 if (useTransition==='undefined') { 2585 useTransition = false; 2586 } 2587 if (!useTransition) { 2588 this.style[domTransition]='none'; 2589 } 2590 if (this.parentNode) { 2591 var w=this.parentNode.offsetWidth; 2592 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 2593 var h=this.parentNode.offsetHeight; 2594 this.style.top=(this.ggTop - 0 + h) + 'px'; 2595 } 2596 this.style[domTransition]='none'; 2597 this.ggTextDiv.style.left=((100-this.ggTextDiv.offsetWidth)/2) + 'px'; 2598 } 2599 this._container_1.appendChild(this._text_steuerung); 2600 this.divSkin.appendChild(this._container_1); 2601 this._bedienungsanleitung=document.createElement('div'); 2602 this._bedienungsanleitung.ggId="Bedienungsanleitung";
2603 this._bedienungsanleitung.ggLeft=-462; 2604 this._bedienungsanleitung.ggTop=-133; 2605 this._bedienungsanleitung.ggParameter={ rx:0,ry:0,a:0,sx:0.6,sy:0.7 }; 2606 this._bedienungsanleitung.ggVisible=true; 2607 this._bedienungsanleitung.className='ggskin ggskin_container '; 2608 this._bedienungsanleitung.ggType='container'; 2609 hs =''; 2610 hs+='height : 457px;'; 2611 hs+='left : -462px;'; 2612 hs+='position : absolute;'; 2613 hs+='top : -133px;'; 2614 hs+='visibility : inherit;'; 2615 hs+='width : 836px;'; 2616 hs+='pointer-events:none;'; 2617 this._bedienungsanleitung.setAttribute('style',hs); 2618 this._bedienungsanleitung.style[domTransform + 'Origin']='50% 50%'; 2619 this._bedienungsanleitung.style[domTransform]=parameterToTransform(this._bedienungsanleitung.ggParameter); 2620 me._bedienungsanleitung.ggIsActive=function() { 2621 return false; 2622 } 2623 me._bedienungsanleitung.ggElementNodeId=function() { 2624 return me.player.getCurrentNode(); 2625 } 2626 this._bedienungsanleitung.onclick=function (e) { 2627 if (me.player.transitionsDisabled) { 2628 me._bedienungsanleitung.style[domTransition]='none'; 2629 } else { 2630 me._bedienungsanleitung.style[domTransition]='all 1000ms ease-out 0ms'; 2631 } 2632 me._bedienungsanleitung.ggParameter.rx=-1500;me._bedienungsanleitung.ggParameter.ry=0; 2633 me._bedienungsanleitung.style[domTransform]=parameterToTransform(me._bedienungsanleitung.ggParameter); 2634 if (me.player.transitionsDisabled) { 2635 me._bedienungsanleitung.style[domTransition]='none'; 2636 } else { 2637 me._bedienungsanleitung.style[domTransition]='all 500ms ease-out 0ms'; 2638 } 2639 me._bedienungsanleitung.style.opacity='0'; 2640 me._bedienungsanleitung.style.visibility='hidden'; 2641 } 2642 me._bedienungsanleitung.ggCurrentLogicStateScaling = -1; 2643 me._bedienungsanleitung.ggCurrentLogicStateVisible = -1; 2644 this._bedienungsanleitung.ggUpdateConditionNodeChange=function () { 2645 var newLogicStateScaling; 2646 if ( 2647 (me.player.getIsMobile() == true) 2648 ) 2649 { 2650 newLogicStateScaling = 0; 2651 } 2652 else { 2653 newLogicStateScaling = -1; 2654 } 2655 if (me._bedienungsanleitung.ggCurrentLogicStateScaling != newLogicStateScaling) { 2656 me._bedienungsanleitung.ggCurrentLogicStateScaling = newLogicStateScaling; 2657 me._bedienungsanleitung.style[domTransition]='' + cssPrefix + 'transform none'; 2658 if (me._bedienungsanleitung.ggCurrentLogicStateScaling == 0) { 2659 me._bedienungsanleitung.ggParameter.sx = 0.25; 2660 me._bedienungsanleitung.ggParameter.sy = 0.25; 2661 me._bedienungsanleitung.style[domTransform]=parameterToTransform(me._bedienungsanleitung.ggParameter); 2662 } 2663 else { 2664 me._bedienungsanleitung.ggParameter.sx = 0.6; 2665 me._bedienungsanleitung.ggParameter.sy = 0.7; 2666 me._bedienungsanleitung.style[domTransform]=parameterToTransform(me._bedienungsanleitung.ggParameter); 2667 } 2668 } 2669 var newLogicStateVisible; 2670 if ( 2671 (me.player.getIsMobile() == true) 2672 ) 2673 { 2674 newLogicStateVisible = 0; 2675 } 2676 else { 2677 newLogicStateVisible = -1; 2678 } 2679 if (me._bedienungsanleitung.ggCurrentLogicStateVisible != newLogicStateVisible) { 2680 me._bedienungsanleitung.ggCurrentLogicStateVisible = newLogicStateVisible; 2681 me._bedienungsanleitung.style[domTransition]='' + cssPrefix + 'transform none'; 2682 if (me._bedienungsanleitung.ggCurrentLogicStateVisible == 0) { 2683 me._bedienungsanleitung.style.visibility="hidden"; 2684 me._bedienungsanleitung.ggVisible=false; 2685 } 2686 else { 2687 me._bedienungsanleitung.style.visibility=(Number(me._bedienungsanleitung.style.opacity)>0||!me._bedienungsanleitung.style.opacity)?'inherit':'hidden'; 2688 me._bedienungsanleitung.ggVisible=true; 2689 } 2690 } 2691 } 2692 this._bedienungsanleitung.ggUpdatePosition=function (useTransition) { 2693 if (useTransition==='undefined') { 2694 useTransition = false; 2695 } 2696 if (!useTransition) { 2697 this.style[domTransition]='none'; 2698 } 2699 if (this.parentNode) { 2700 var w=this.parentNode.offsetWidth; 2701 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 2702 var h=this.parentNode.offsetHeight; 2703 this.style.top=(this.ggTop - 0 + h/2) + 'px'; 2704 } 2705 } 2706 this._bedienungsanleitung.ggNodeChange=function () { 2707 me._bedienungsanleitung.ggUpdateConditionNodeChange(); 2708 } 2709 this._rectangle_1=document.createElement('div'); 2710 this._rectangle_1.ggId="Rectangle 1"; 2711 this._rectangle_1.ggLeft=-911; 2712 this._rectangle_1.ggTop=-507; 2713 this._rectangle_1.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 2714 this._rectangle_1.ggVisible=true; 2715 this._rectangle_1.className='ggskin ggskin_rectangle '; 2716 this._rectangle_1.ggType='rectangle'; 2717 hs =''; 2718 hs+='background : #ffffff;'; 2719 hs+='border : 1px solid #000000;'; 2720 hs+='cursor : default;'; 2721 hs+='height : 717px;'; 2722 hs+='left : -911px;'; 2723 hs+='opacity : 0;'; 2724 hs+='position : absolute;'; 2725 hs+='top : -507px;'; 2726 hs+='visibility : hidden;'; 2727 hs+='width : 1850px;'; 2728 hs+='pointer-events:auto;'; 2729 this._rectangle_1.setAttribute('style',hs); 2730 this._rectangle_1.style[domTransform + 'Origin']='50% 50%'; 2731 me._rectangle_1.ggIsActive=function() { 2732 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 2733 return this.parentNode.ggIsActive(); 2734 } 2735 return false; 2736 } 2737 me._rectangle_1.ggElementNodeId=function() { 2738 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 2739 return this.parentNode.ggElementNodeId(); 2740 } 2741 return me.player.getCurrentNode(); 2742 } 2743 this._rectangle_1.onmouseover=function (e) { 2744 me._image_19.style[domTransition]='none'; 2745 me._image_19.style.visibility=(Number(me._image_19.style.opacity)>0||!me._image_19.style.opacity)?'inherit':'hidden'; 2746 me._image_19.ggVisible=true; 2747 } 2748 this._rectangle_1.ggUpdatePosition=function (useTransition) { 2749 if (useTransition==='undefined') { 2750 useTransition = false; 2751 } 2752 if (!useTransition) { 2753 this.style[domTransition]='none'; 2754 } 2755 if (this.parentNode) { 2756 var w=this.parentNode.offsetWidth; 2757 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 2758 var h=this.parentNode.offsetHeight; 2759 this.style.top=(this.ggTop - 0 + h/2) + 'px'; 2760 } 2761 } 2762 this._bedienungsanleitung.appendChild(this._rectangle_1); 2763 this._image_19=document.createElement('div');
2764 this._image_19__img=document.createElement('img'); 2765 this._image_19__img.className='ggskin ggskin_image'; 2766 this._image_19__img.setAttribute('src',basePath + 'images/image_19.png'); 2767 this._image_19__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 2768 this._image_19__img.className='ggskin ggskin_image'; 2769 this._image_19__img['ondragstart']=function() { return false; }; 2770 me.player.checkLoaded.push(this._image_19__img); 2771 this._image_19.appendChild(this._image_19__img); 2772 this._image_19.ggId="Image 19"; 2773 this._image_19.ggLeft=-406; 2774 this._image_19.ggTop=-433; 2775 this._image_19.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 2776 this._image_19.ggVisible=true; 2777 this._image_19.className='ggskin ggskin_image '; 2778 this._image_19.ggType='image'; 2779 hs =''; 2780 hs+='height : 110%;'; 2781 hs+='left : -406px;'; 2782 hs+='position : absolute;'; 2783 hs+='top : -433px;'; 2784 hs+='visibility : inherit;'; 2785 hs+='width : 110%;'; 2786 hs+='pointer-events:auto;'; 2787 this._image_19.setAttribute('style',hs); 2788 this._image_19.style[domTransform + 'Origin']='50% 50%'; 2789 me._image_19.ggIsActive=function() { 2790 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 2791 return this.parentNode.ggIsActive(); 2792 } 2793 return false; 2794 } 2795 me._image_19.ggElementNodeId=function() { 2796 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 2797 return this.parentNode.ggElementNodeId(); 2798 } 2799 return me.player.getCurrentNode(); 2800 } 2801 this._image_19.onclick=function (e) { 2802 if (me.player.transitionsDisabled) { 2803 me._bedienungsanleitung.style[domTransition]='none'; 2804 } else { 2805 me._bedienungsanleitung.style[domTransition]='all 1000ms ease-out 0ms'; 2806 } 2807 me._bedienungsanleitung.ggParameter.rx=-1500;me._bedienungsanleitung.ggParameter.ry=0; 2808 me._bedienungsanleitung.style[domTransform]=parameterToTransform(me._bedienungsanleitung.ggParameter); 2809 } 2810 this._image_19.onmouseover=function (e) { 2811 if (me.player.transitionsDisabled) { 2812 me._image_19.style[domTransition]='none'; 2813 } else { 2814 me._image_19.style[domTransition]='all 500ms ease-out 0ms'; 2815 } 2816 me._image_19.style.opacity='1'; 2817 me._image_19.style.visibility=me._image_19.ggVisible?'inherit':'hidden'; 2818 if (me.player.transitionsDisabled) { 2819 me._image_19.style[domTransition]='none'; 2820 } else { 2821 me._image_19.style[domTransition]='all 500ms ease-out 0ms'; 2822 } 2823 me._image_19.ggParameter.sx=1.2;me._image_19.ggParameter.sy=1.2; 2824 me._image_19.style[domTransform]=parameterToTransform(me._image_19.ggParameter); 2825 } 2826 this._image_19.onmouseout=function (e) { 2827 if (me.player.transitionsDisabled) { 2828 me._image_19.style[domTransition]='none'; 2829 } else { 2830 me._image_19.style[domTransition]='all 500ms ease-out 0ms'; 2831 } 2832 me._image_19.ggParameter.sx=1;me._image_19.ggParameter.sy=1; 2833 me._image_19.style[domTransform]=parameterToTransform(me._image_19.ggParameter); 2834 } 2835 this._image_19.ggUpdatePosition=function (useTransition) { 2836 if (useTransition==='undefined') { 2837 useTransition = false; 2838 } 2839 if (!useTransition) { 2840 this.style[domTransition]='none'; 2841 } 2842 if (this.parentNode) { 2843 var w=this.parentNode.offsetWidth; 2844 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 2845 var h=this.parentNode.offsetHeight; 2846 this.style.top=(this.ggTop - 0 + h/2) + 'px'; 2847 } 2848 } 2849 this._bedienungsanleitung.appendChild(this._image_19); 2850 this.divSkin.appendChild(this._bedienungsanleitung); 2851 this._container_2=document.createElement('div'); 2852 this._container_2.ggId="Container 2"; 2853 this._container_2.ggLeft=-103; 2854 this._container_2.ggTop=-97; 2855 this._container_2.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; 2856 this._container_2.ggVisible=true; 2857 this._container_2.className='ggskin ggskin_container '; 2858 this._container_2.ggType='container'; 2859 hs =''; 2860 hs+='cursor : pointer;'; 2861 hs+='height : 83px;'; 2862 hs+='left : -103px;'; 2863 hs+='position : absolute;'; 2864 hs+='top : -97px;'; 2865 hs+='visibility : inherit;'; 2866 hs+='width : 109px;'; 2867 hs+='pointer-events:none;'; 2868 this._container_2.setAttribute('style',hs); 2869 this._container_2.style[domTransform + 'Origin']='100% 100%'; 2870 this._container_2.style[domTransform]=parameterToTransform(this._container_2.ggParameter); 2871 me._container_2.ggIsActive=function() { 2872 return false; 2873 } 2874 me._container_2.ggElementNodeId=function() { 2875 return me.player.getCurrentNode(); 2876 } 2877 me._container_2.ggCurrentLogicStatePosition = -1; 2878 me._container_2.ggCurrentLogicStateScaling = -1; 2879 me._container_2.ggCurrentLogicStateVisible = -1; 2880 this._container_2.ggUpdateConditionNodeChange=function () { 2881 var newLogicStatePosition; 2882 if ( 2883 (me.player.getIsMobile() == true) 2884 ) 2885 { 2886 newLogicStatePosition = 0; 2887 } 2888 else { 2889 newLogicStatePosition = -1; 2890 } 2891 if (me._container_2.ggCurrentLogicStatePosition != newLogicStatePosition) { 2892 me._container_2.ggCurrentLogicStatePosition = newLogicStatePosition; 2893 me._container_2.style[domTransition]='left none, top none, ' + cssPrefix + 'transform none'; 2894 if (me._container_2.ggCurrentLogicStatePosition == 0) { 2895 me._container_2.ggLeft=-100; 2896 me._container_2.ggTop=-759; 2897 me._container_2.ggUpdatePosition(true); 2898 } 2899 else { 2900 me._container_2.ggLeft=-103; 2901 me._container_2.ggTop=-97; 2902 me._container_2.ggUpdatePosition(true); 2903 } 2904 } 2905 var newLogicStateScaling; 2906 if ( 2907 (me.player.getIsMobile() == true) 2908 ) 2909 { 2910 newLogicStateScaling = 0; 2911 } 2912 else { 2913 newLogicStateScaling = -1; 2914 } 2915 if (me._container_2.ggCurrentLogicStateScaling != newLogicStateScaling) { 2916 me._container_2.ggCurrentLogicStateScaling = newLogicStateScaling; 2917 me._container_2.style[domTransition]='left none, top none, ' + cssPrefix + 'transform none'; 2918 if (me._container_2.ggCurrentLogicStateScaling == 0) { 2919 me._container_2.ggParameter.sx = 0.5; 2920 me._container_2.ggParameter.sy = 0.5; 2921 me._container_2.style[domTransform]=parameterToTransform(me._container_2.ggParameter); 2922 } 2923 else { 2924 me._container_2.ggParameter.sx = 0.9; 2925 me._container_2.ggParameter.sy = 0.9; 2926 me._container_2.style[domTransform]=parameterToTransform(me._container_2.ggParameter); 2927 } 2928 } 2929 var newLogicStateVisible; 2930 if ( 2931 (me.player.getIsMobile() == true) 2932 ) 2933 { 2934 newLogicStateVisible = 0; 2935 } 2936 else { 2937 newLogicStateVisible = -1; 2938 } 2939 if (me._container_2.ggCurrentLogicStateVisible != newLogicStateVisible) { 2940 me._container_2.ggCurrentLogicStateVisible = newLogicStateVisible; 2941 me._container_2.style[domTransition]='left none, top none, ' + cssPrefix + 'transform none'; 2942 if (me._container_2.ggCurrentLogicStateVisible == 0) { 2943 me._container_2.style.visibility="hidden"; 2944 me._container_2.ggVisible=false; 2945 } 2946 else { 2947 me._container_2.style.visibility=(Number(me._container_2.style.opacity)>0||!me._container_2.style.opacity)?'inherit':'hidden'; 2948 me._container_2.ggVisible=true; 2949 } 2950 } 2951 } 2952 this._container_2.ggUpdatePosition=function (useTransition) { 2953 if (useTransition==='undefined') { 2954 useTransition = false; 2955 } 2956 if (!useTransition) { 2957 this.style[domTransition]='none'; 2958 } 2959 if (this.parentNode) { 2960 var w=this.parentNode.offsetWidth; 2961 this.style.left=(this.ggLeft - 0 + w) + 'px'; 2962 var h=this.parentNode.offsetHeight; 2963 this.style.top=(this.ggTop - 0 + h) + 'px'; 2964 } 2965 } 2966 this._container_2.ggNodeChange=function () { 2967 me._container_2.ggUpdateConditionNodeChange(); 2968 } 2969 this._rectangle_2=document.createElement('div'); 2970 this._rectangle_2.ggId="Rectangle 2"; 2971 this._rectangle_2.ggLeft=-122; 2972 this._rectangle_2.ggTop=-47; 2973 this._rectangle_2.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.7 }; 2974 this._rectangle_2.ggVisible=true; 2975 this._rectangle_2.className='ggskin ggskin_rectangle '; 2976 this._rectangle_2.ggType='rectangle'; 2977 hs =''; 2978 hs+=cssPrefix + 'border-radius : 6px;'; 2979 hs+='border-radius : 6px;'; 2980 hs+='border : 0px solid #ffffff;'; 2981 hs+='cursor : pointer;'; 2982 hs+='height : 100px;'; 2983 hs+='left : -122px;'; 2984 hs+='opacity : 0.7;'; 2985 hs+='position : absolute;'; 2986 hs+='top : -47px;'; 2987 hs+='visibility : inherit;'; 2988 hs+='width : 100px;'; 2989 hs+='pointer-events:auto;'; 2990 this._rectangle_2.setAttribute('style',hs); 2991 this._rectangle_2.style[domTransform + 'Origin']='100% 50%'; 2992 this._rectangle_2.style[domTransform]=parameterToTransform(this._rectangle_2.ggParameter); 2993 me._rectangle_2.ggIsActive=function() { 2994 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 2995 return this.parentNode.ggIsActive(); 2996 } 2997 return false; 2998 } 2999 me._rectangle_2.ggElementNodeId=function() { 3000 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 3001 return this.parentNode.ggElementNodeId(); 3002 } 3003 return me.player.getCurrentNode(); 3004 } 3005 this._rectangle_2.ggUpdatePosition=function (useTransition) { 3006 if (useTransition==='undefined') { 3007 useTransition = false; 3008 } 3009 if (!useTransition) { 3010 this.style[domTransition]='none'; 3011 } 3012 if (this.parentNode) { 3013 var w=this.parentNode.offsetWidth; 3014 this.style.left=(this.ggLeft - 0 + w) + 'px'; 3015 var h=this.parentNode.offsetHeight; 3016 this.style.top=(this.ggTop - 0 + h/2) + 'px'; 3017 } 3018 } 3019 this._container_2.appendChild(this._rectangle_2); 3020 this._image_12_1=document.createElement('div'); 3021 this._image_12_1__img=document.createElement('img'); 3022 this._image_12_1__img.className='ggskin ggskin_image'; 3023 this._image_12_1__img.setAttribute('src',basePath + 'images/image_12_1.png'); 3024 this._image_12_1__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 3025 this._image_12_1__img.className='ggskin ggskin_image'; 3026 this._image_12_1__img['ondragstart']=function() { return false; }; 3027 me.player.checkLoaded.push(this._image_12_1__img); 3028 this._image_12_1.appendChild(this._image_12_1__img); 3029 this._image_12_1.ggId="Image 12_1"; 3030 this._image_12_1.ggLeft=-114; 3031 this._image_12_1.ggTop=-551; 3032 this._image_12_1.ggParameter={ rx:0,ry:0,a:0,sx:0.7,sy:0.5 }; 3033 this._image_12_1.ggVisible=true; 3034 this._image_12_1.className='ggskin ggskin_image '; 3035 this._image_12_1.ggType='image'; 3036 hs =''; 3037 hs+='cursor : pointer;'; 3038 hs+='height : 100px;'; 3039 hs+='left : -114px;'; 3040 hs+='position : absolute;'; 3041 hs+='top : -551px;'; 3042 hs+='visibility : inherit;'; 3043 hs+='width : 100px;'; 3044 hs+='pointer-events:auto;'; 3045 this._image_12_1.setAttribute('style',hs); 3046 this._image_12_1.style[domTransform + 'Origin']='100% 50%'; 3047 this._image_12_1.style[domTransform]=parameterToTransform(this._image_12_1.ggParameter); 3048 me._image_12_1.ggIsActive=function() { 3049 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 3050 return this.parentNode.ggIsActive(); 3051 } 3052 return false; 3053 } 3054 me._image_12_1.ggElementNodeId=function() { 3055 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 3056 return this.parentNode.ggElementNodeId(); 3057 } 3058 return me.player.getCurrentNode(); 3059 } 3060 this._image_12_1.onclick=function (e) { 3061 if (me.player.transitionsDisabled) { 3062 me._image_1.style[domTransition]='none'; 3063 } else { 3064 me._image_1.style[domTransition]='all 500ms ease-out 0ms'; 3065 } 3066 me._image_1.style.opacity='1'; 3067 me._image_1.style.visibility=me._image_1.ggVisible?'inherit':'hidden'; 3068 var flag=me._image_1.ggPositonActive; 3069 if (me.player.transitionsDisabled) { 3070 me._image_1.style[domTransition]='none'; 3071 } else { 3072 me._image_1.style[domTransition]='all 1000ms ease-out 0ms'; 3073 } 3074 if (flag) { 3075 me._image_1.ggParameter.rx=0;me._image_1.ggParameter.ry=0; 3076 me._image_1.style[domTransform]=parameterToTransform(me._image_1.ggParameter); 3077 } else { 3078 me._image_1.ggParameter.rx=-650;me._image_1.ggParameter.ry=0; 3079 me._image_1.style[domTransform]=parameterToTransform(me._image_1.ggParameter); 3080 } 3081 me._image_1.ggPositonActive=!flag; 3082 var flag=me._rectangle_3.ggPositonActive; 3083 if (me.player.transitionsDisabled) { 3084 me._rectangle_3.style[domTransition]='none'; 3085 } else { 3086 me._rectangle_3.style[domTransition]='all 1000ms ease-out 0ms'; 3087 } 3088 if (flag) { 3089 me._rectangle_3.ggParameter.rx=0;me._rectangle_3.ggParameter.ry=0; 3090 me._rectangle_3.style[domTransform]=parameterToTransform(me._rectangle_3.ggParameter); 3091 } else { 3092 me._rectangle_3.ggParameter.rx=-650;me._rectangle_3.ggParameter.ry=0; 3093 me._rectangle_3.style[domTransform]=parameterToTransform(me._rectangle_3.ggParameter); 3094 } 3095 me._rectangle_3.ggPositonActive=!flag; 3096 if (me.player.transitionsDisabled) { 3097 me._rectangle_3.style[domTransition]='none'; 3098 } else { 3099 me._rectangle_3.style[domTransition]='all 500ms ease-out 0ms'; 3100 } 3101 me._rectangle_3.style.opacity='1'; 3102 me._rectangle_3.style.visibility=me._rectangle_3.ggVisible?'inherit':'hidden'; 3103 } 3104 this._image_12_1.ggUpdatePosition=function (useTransition) { 3105 if (useTransition==='undefined') { 3106 useTransition = false; 3107 } 3108 if (!useTransition) { 3109 this.style[domTransition]='none'; 3110 } 3111 if (this.parentNode) { 3112 var w=this.parentNode.offsetWidth; 3113 this.style.left=(this.ggLeft - 0 + w) + 'px'; 3114 var h=this.parentNode.offsetHeight; 3115 this.style.top=(this.ggTop - 0 + h/2) + 'px'; 3116 } 3117 } 3118 this._container_2.appendChild(this._image_12_1); 3119 this.divSkin.appendChild(this._container_2); 3120 this._information=document.createElement('div'); 3121 this._information.ggId="information"; 3122 this._information.ggLeft=-213; 3123 this._information.ggTop=-211; 3124 this._information.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 3125 this._information.ggVisible=false; 3126 this._information.className='ggskin ggskin_container '; 3127 this._information.ggType='container'; 3128 hs =''; 3129 hs+='height : 272px;'; 3130 hs+='left : -213px;'; 3131 hs+='position : absolute;'; 3132 hs+='top : -211px;'; 3133 hs+='visibility : hidden;'; 3134 hs+='width : 475px;'; 3135 hs+='pointer-events:none;'; 3136 this._information.setAttribute('style',hs); 3137 this._information.style[domTransform + 'Origin']='50% 50%'; 3138 me._information.ggIsActive=function() { 3139 return false; 3140 } 3141 me._information.ggElementNodeId=function() { 3142 return me.player.getCurrentNode(); 3143 } 3144 this._information.onclick=function (e) { 3145 me._information.style[domTransition]='none'; 3146 me._information.style.visibility='hidden'; 3147 me._information.ggVisible=false; 3148 me._screentint.style[domTransition]='none'; 3149 me._screentint.style.visibility='hidden'; 3150 me._screentint.ggVisible=false; 3151 } 3152 this._information.ggUpdatePosition=function (useTransition) { 3153 if (useTransition==='undefined') { 3154 useTransition = false; 3155 } 3156 if (!useTransition) { 3157 this.style[domTransition]='none'; 3158 } 3159 if (this.parentNode) { 3160 var w=this.parentNode.offsetWidth; 3161 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 3162 var h=this.parentNode.offsetHeight; 3163 this.style.top=(this.ggTop - 0 + h/2) + 'px'; 3164 } 3165 } 3166 this._informationbg=document.createElement('div'); 3167 this._informationbg.ggId="informationbg"; 3168 this._informationbg.ggLeft=-206; 3169 this._informationbg.ggTop=-115; 3170 this._informationbg.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 3171 this._informationbg.ggVisible=true; 3172 this._informationbg.className='ggskin ggskin_rectangle '; 3173 this._informationbg.ggType='rectangle'; 3174 hs =''; 3175 hs+=cssPrefix + 'border-radius : 5px;'; 3176 hs+='border-radius : 5px;'; 3177 hs+='background : rgba(39,111,181,0.666667);'; 3178 hs+='border : 3px solid #276fb5;'; 3179 hs+='cursor : default;'; 3180 hs+='height : 324px;'; 3181 hs+='left : -207px;'; 3182 hs+='opacity : 0.8;'; 3183 hs+='position : absolute;'; 3184 hs+='top : -116px;'; 3185 hs+='visibility : inherit;'; 3186 hs+='width : 409px;'; 3187 hs+='pointer-events:auto;'; 3188 this._informationbg.setAttribute('style',hs); 3189 this._informationbg.style[domTransform + 'Origin']='50% 50%'; 3190 me._informationbg.ggIsActive=function() { 3191 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 3192 return this.parentNode.ggIsActive(); 3193 } 3194 return false; 3195 } 3196 me._informationbg.ggElementNodeId=function() { 3197 if ((this.parentNode) && (this.parentNode.ggElementNode
3197Id)) { 3198 return this.parentNode.ggElementNodeId(); 3199 } 3200 return me.player.getCurrentNode(); 3201 } 3202 this._informationbg.ggUpdatePosition=function (useTransition) { 3203 if (useTransition==='undefined') { 3204 useTransition = false; 3205 } 3206 if (!useTransition) { 3207 this.style[domTransition]='none'; 3208 } 3209 if (this.parentNode) { 3210 var w=this.parentNode.offsetWidth; 3211 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 3212 var h=this.parentNode.offsetHeight; 3213 this.style.top=(this.ggTop - 0 + h/2) + 'px'; 3214 } 3215 } 3216 this._information.appendChild(this._informationbg); 3217 this._info_text_body=document.createElement('div'); 3218 this._info_text_body__text=document.createElement('div'); 3219 this._info_text_body.className='ggskin ggskin_textdiv'; 3220 this._info_text_body.ggTextDiv=this._info_text_body__text; 3221 this._info_text_body.ggId="info_text_body"; 3222 this._info_text_body.ggLeft=-158; 3223 this._info_text_body.ggTop=19; 3224 this._info_text_body.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 3225 this._info_text_body.ggVisible=true; 3226 this._info_text_body.className='ggskin ggskin_text '; 3227 this._info_text_body.ggType='text'; 3228 hs =''; 3229 hs+='height : 23px;'; 3230 hs+='left : -159px;'; 3231 hs+='position : absolute;'; 3232 hs+='top : 18px;'; 3233 hs+='visibility : inherit;'; 3234 hs+='width : 314px;'; 3235 hs+='pointer-events:auto;'; 3236 this._info_text_body.setAttribute('style',hs); 3237 this._info_text_body.style[domTransform + 'Origin']='50% 50%'; 3238 hs ='position:absolute;'; 3239 hs+='cursor: default;'; 3240 hs+='left: 0px;'; 3241 hs+='top: 0px;'; 3242 hs+='width: 314px;'; 3243 hs+='height: auto;'; 3244 hs+='background: #276fb5;'; 3245 hs+='border: 3px solid #ffffff;'; 3246 hs+='border-radius: 5px;'; 3247 hs+=cssPrefix + 'border-radius: 5px;'; 3248 hs+='color: rgba(255,255,255,1);'; 3249 hs+='text-align: left;'; 3250 hs+='white-space: pre-wrap;'; 3251 hs+='padding: 1px 2px 1px 2px;'; 3252 hs+='overflow: hidden;'; 3253 this._info_text_body__text.setAttribute('style',hs); 3254 this._info_text_body__text.innerHTML=""; 3255 this._info_text_body.appendChild(this._info_text_body__text); 3256 me._info_text_body.ggIsActive=function() { 3257 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 3258 return this.parentNode.ggIsActive(); 3259 } 3260 return false; 3261 } 3262 me._info_text_body.ggElementNodeId=function() { 3263 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 3264 return this.parentNode.ggElementNodeId(); 3265 } 3266 return me.player.getCurrentNode(); 3267 } 3268 this._info_text_body.ggUpdatePosition=function (useTransition) { 3269 if (useTransition==='undefined') { 3270 useTransition = false; 3271 } 3272 if (!useTransition) { 3273 this.style[domTransition]='none'; 3274 } 3275 if (this.parentNode) { 3276 var w=this.parentNode.offsetWidth; 3277 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 3278 var h=this.parentNode.offsetHeight; 3279 this.style.top=(this.ggTop - 0 + h/2) + 'px'; 3280 } 3281 } 3282 this._information.appendChild(this._info_text_body); 3283 this._info_title=document.createElement('div'); 3284 this._info_title__text=document.createElement('div'); 3285 this._info_title.className='ggskin ggskin_textdiv'; 3286 this._info_title.ggTextDiv=this._info_title__text; 3287 this._info_title.ggId="info_title"; 3288 this._info_title.ggLeft=-123; 3289 this._info_title.ggTop=-37; 3290 this._info_title.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 3291 this._info_title.ggVisible=true; 3292 this._info_title.className='ggskin ggskin_text '; 3293 this._info_title.ggType='text'; 3294 hs =''; 3295 hs+='height : 23px;'; 3296 hs+='left : -124px;'; 3297 hs+='position : absolute;'; 3298 hs+='top : -38px;'; 3299 hs+='visibility : inherit;'; 3300 hs+='width : 251px;'; 3301 hs+='pointer-events:auto;'; 3302 this._info_title.setAttribute('style',hs); 3303 this._info_title.style[domTransform + 'Origin']='50% 50%'; 3304 hs ='position:absolute;'; 3305 hs+='cursor: default;'; 3306 hs+='left: 0px;'; 3307 hs+='top: 0px;'; 3308 hs+='width: 251px;'; 3309 hs+='height: auto;'; 3310 hs+='background: #276fb5;'; 3311 hs+='border: 3px solid #ffffff;'; 3312 hs+='border-radius: 5px;'; 3313 hs+=cssPrefix + 'border-radius: 5px;'; 3314 hs+='color: rgba(255,255,255,1);'; 3315 hs+='text-align: left;'; 3316 hs+='white-space: pre-wrap;'; 3317 hs+='padding: 1px 2px 1px 2px;'; 3318 hs+='overflow: hidden;'; 3319 this._info_title__text.setAttribute('style',hs); 3320 this._info_title__text.innerHTML=""; 3321 this._info_title.appendChild(this._info_title__text); 3322 me._info_title.ggIsActive=function() { 3323 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 3324 return this.parentNode.ggIsActive(); 3325 } 3326 return false; 3327 } 3328 me._info_title.ggElementNodeId=function() { 3329 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 3330 return this.parentNode.ggElementNodeId(); 3331 } 3332 return me.player.getCurrentNode(); 3333 } 3334 this._info_title.ggUpdatePosition=function (useTransition) { 3335 if (useTransition==='undefined') { 3336 useTransition = false; 3337 } 3338 if (!useTransition) { 3339 this.style[domTransition]='none'; 3340 } 3341 if (this.parentNode) { 3342 var w=this.parentNode.offsetWidth; 3343 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 3344 var h=this.parentNode.offsetHeight; 3345 this.style.top=(this.ggTop - 0 + h/2) + 'px'; 3346 } 3347 } 3348 this._information.appendChild(this._info_title); 3349 this._ht_info_close=document.createElement('div');
3350 this._ht_info_close__img=document.createElement('img'); 3351 this._ht_info_close__img.className='ggskin ggskin_image'; 3352 this._ht_info_close__img.setAttribute('src',basePath + 'images/ht_info_close.png'); 3353 this._ht_info_close__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 3354 this._ht_info_close__img.className='ggskin ggskin_image'; 3355 this._ht_info_close__img['ondragstart']=function() { return false; }; 3356 me.player.checkLoaded.push(this._ht_info_close__img); 3357 this._ht_info_close.appendChild(this._ht_info_close__img); 3358 this._ht_info_close.ggId="ht_info_close"; 3359 this._ht_info_close.ggLeft=-83; 3360 this._ht_info_close.ggParameter={ rx:0,ry:0,a:0,sx:0.8,sy:0.8 }; 3361 this._ht_info_close.ggVisible=true; 3362 this._ht_info_close.className='ggskin ggskin_image '; 3363 this._ht_info_close.ggType='image'; 3364 hs =''; 3365 hs+='height : 51px;'; 3366 hs+='left : -83px;'; 3367 hs+='position : absolute;'; 3368 hs+='top : 24px;'; 3369 hs+='visibility : inherit;'; 3370 hs+='width : 51px;'; 3371 hs+='pointer-events:auto;'; 3372 this._ht_info_close.setAttribute('style',hs); 3373 this._ht_info_close.style[domTransform + 'Origin']='50% 50%'; 3374 this._ht_info_close.style[domTransform]=parameterToTransform(this._ht_info_close.ggParameter); 3375 me._ht_info_close.ggIsActive=function() { 3376 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 3377 return this.parentNode.ggIsActive(); 3378 } 3379 return false; 3380 } 3381 me._ht_info_close.ggElementNodeId=function() { 3382 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 3383 return this.parentNode.ggElementNodeId(); 3384 } 3385 return me.player.getCurrentNode(); 3386 } 3387 this._ht_info_close.onmouseover=function (e) { 3388 if (me.player.transitionsDisabled) { 3389 me._ht_info_close.style[domTransition]='none'; 3390 } else { 3391 me._ht_info_close.style[domTransition]='all 500ms ease-out 0ms'; 3392 } 3393 me._ht_info_close.ggParameter.sx=1.2;me._ht_info_close.ggParameter.sy=1.2; 3394 me._ht_info_close.style[domTransform]=parameterToTransform(me._ht_info_close.ggParameter); 3395 } 3396 this._ht_info_close.onmouseout=function (e) { 3397 if (me.player.transitionsDisabled) { 3398 me._ht_info_close.style[domTransition]='none'; 3399 } else { 3400 me._ht_info_close.style[domTransition]='all 500ms ease-out 0ms'; 3401 } 3402 me._ht_info_close.ggParameter.sx=1;me._ht_info_close.ggParameter.sy=1; 3403 me._ht_info_close.style[domTransform]=parameterToTransform(me._ht_info_close.ggParameter); 3404 } 3405 this._ht_info_close.ggUpdatePosition=function (useTransition) { 3406 if (useTransition==='undefined') { 3407 useTransition = false; 3408 } 3409 if (!useTransition) { 3410 this.style[domTransition]='none'; 3411 } 3412 if (this.parentNode) { 3413 var w=this.parentNode.offsetWidth; 3414 this.style.left=(this.ggLeft - 0 + w) + 'px'; 3415 } 3416 } 3417 this._information.appendChild(this._ht_info_close); 3418 this.divSkin.appendChild(this._information); 3419 this._image_1=document.createElement('div'); 3420 this._image_1__img=document.createElement('img'); 3421 this._image_1__img.className='ggskin ggskin_image'; 3422 this._image_1__img.setAttribute('src',basePath + 'images/image_1.png'); 3423 this._image_1__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 3424 this._image_1__img.className='ggskin ggskin_image'; 3425 this._image_1__img['ondragstart']=function() { return false; }; 3426 me.player.checkLoaded.push(this._image_1__img); 3427 this._image_1.appendChild(this._image_1__img); 3428 this._image_1.ggId="Image 1"; 3429 this._image_1.ggLeft=70; 3430 this._image_1.ggTop=-135; 3431 this._image_1.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 3432 this._image_1.ggVisible=true; 3433 this._image_1.className='ggskin ggskin_image '; 3434 this._image_1.ggType='image'; 3435 hs =''; 3436 hs+='cursor : pointer;'; 3437 hs+='height : 140px;'; 3438 hs+='left : 70px;'; 3439 hs+='opacity : 0.09999;'; 3440 hs+='position : absolute;'; 3441 hs+='top : -135px;'; 3442 hs+='visibility : inherit;'; 3443 hs+='width : 600px;'; 3444 hs+='pointer-events:auto;'; 3445 this._image_1.setAttribute('style',hs); 3446 this._image_1.style[domTransform + 'Origin']='100% 100%'; 3447 me._image_1.ggIsActive=function() { 3448 return false; 3449 } 3450 me._image_1.ggElementNodeId=function() { 3451 return me.player.getCurrentNode(); 3452 } 3453 me._image_1.ggCurrentLogicStatePosition = -1; 3454 me._image_1.ggCurrentLogicStateVisible = -1; 3455 this._image_1.ggUpdateConditionNodeChange=function () { 3456 var newLogicStatePosition; 3457 if ( 3458 (me.player.getIsMobile() == true) 3459 ) 3460 { 3461 newLogicStatePosition = 0; 3462 } 3463 else { 3464 newLogicStatePosition = -1; 3465 } 3466 if (me._image_1.ggCurrentLogicStatePosition != newLogicStatePosition) { 3467 me._image_1.ggCurrentLogicStatePosition = newLogicStatePosition; 3468 me._image_1.style[domTransition]='left none, top none'; 3469 if (me._image_1.ggCurrentLogicStatePosition == 0) { 3470 me._image_1.ggLeft=70; 3471 me._image_1.ggTop=-225; 3472 me._image_1.ggUpdatePosition(true); 3473 } 3474 else { 3475 me._image_1.ggLeft=70; 3476 me._image_1.ggTop=-135; 3477 me._image_1.ggUpdatePosition(true); 3478 } 3479 } 3480 var newLogicStateVisible; 3481 if ( 3482 (me.player.getIsMobile() == true) 3483 ) 3484 { 3485 newLogicStateVisible = 0; 3486 } 3487 else { 3488 newLogicStateVisible = -1; 3489 } 3490 if (me._image_1.ggCurrentLogicStateVisible != newLogicStateVisible) { 3491 me._image_1.ggCurrentLogicStateVisible = newLogicStateVisible; 3492 me._image_1.style[domTransition]='left none, top none'; 3493 if (me._image_1.ggCurrentLogicStateVisible == 0) { 3494 me._image_1.style.visibility="hidden"; 3495 me._image_1.ggVisible=false; 3496 } 3497 else { 3498 me._image_1.style.visibility=(Number(me._image_1.style.opacity)>0||!me._image_1.style.opacity)?'inherit':'hidden'; 3499 me._image_1.ggVisible=true; 3500 } 3501 } 3502 } 3503 this._image_1.ggUpdatePosition=function (useTransition) { 3504 if (useTransition==='undefined') { 3505 useTransition = false; 3506 } 3507 if (!useTransition) { 3508 this.style[domTransition]='none'; 3509 } 3510 if (this.parentNode) { 3511 var w=this.parentNode.offsetWidth; 3512 this.style.left=(this.ggLeft - 0 + w) + 'px'; 3513 var h=this.parentNode.offsetHeight; 3514 this.style.top=(this.ggTop - 0 + h) + 'px'; 3515 } 3516 } 3517 this._image_1.ggNodeChange=function () { 3518 me._image_1.ggUpdateConditionNodeChange(); 3519 }
3520 this.divSkin.appendChild(this._image_1); 3521 this._rectangle_3=document.createElement('div'); 3522 this._rectangle_3.ggId="Rectangle 3"; 3523 this._rectangle_3.ggLeft=77; 3524 this._rectangle_3.ggTop=-707; 3525 this._rectangle_3.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 3526 this._rectangle_3.ggVisible=true; 3527 this._rectangle_3.className='ggskin ggskin_rectangle '; 3528 this._rectangle_3.ggType='rectangle'; 3529 hs =''; 3530 hs+=cssPrefix + 'border-radius : 6px;'; 3531 hs+='border-radius : 6px;'; 3532 hs+='border : 0px solid #ffffff;'; 3533 hs+='cursor : pointer;'; 3534 hs+='height : 484px;'; 3535 hs+='left : 77px;'; 3536 hs+='opacity : 0.70005;'; 3537 hs+='position : absolute;'; 3538 hs+='top : -707px;'; 3539 hs+='visibility : inherit;'; 3540 hs+='width : 308px;'; 3541 hs+='pointer-events:auto;'; 3542 this._rectangle_3.setAttribute('style',hs); 3543 this._rectangle_3.style[domTransform + 'Origin']='100% 100%'; 3544 me._rectangle_3.ggIsActive=function() { 3545 return false; 3546 } 3547 me._rectangle_3.ggElementNodeId=function() { 3548 return me.player.getCurrentNode(); 3549 } 3550 me._rectangle_3.ggCurrentLogicStatePosition = -1; 3551 me._rectangle_3.ggCurrentLogicStateScaling = -1; 3552 me._rectangle_3.ggCurrentLogicStateVisible = -1; 3553 this._rectangle_3.ggUpdateConditionNodeChange=function () { 3554 var newLogicStatePosition; 3555 if ( 3556 (me.player.getIsMobile() == true) 3557 ) 3558 { 3559 newLogicStatePosition = 0; 3560 } 3561 else { 3562 newLogicStatePosition = -1; 3563 } 3564 if (me._rectangle_3.ggCurrentLogicStatePosition != newLogicStatePosition) { 3565 me._rectangle_3.ggCurrentLogicStatePosition = newLogicStatePosition; 3566 me._rectangle_3.style[domTransition]='left none, top none, ' + cssPrefix + 'transform none'; 3567 if (me._rectangle_3.ggCurrentLogicStatePosition == 0) { 3568 me._rectangle_3.ggLeft=-168; 3569 me._rectangle_3.ggTop=-810; 3570 me._rectangle_3.ggUpdatePosition(true); 3571 } 3572 else { 3573 me._rectangle_3.ggLeft=77; 3574 me._rectangle_3.ggTop=-707; 3575 me._rectangle_3.ggUpdatePosition(true); 3576 } 3577 } 3578 var newLogicStateScaling; 3579 if ( 3580 (me.player.getIsMobile() == true) 3581 ) 3582 { 3583 newLogicStateScaling = 0; 3584 } 3585 else { 3586 newLogicStateScaling = -1; 3587 } 3588 if (me._rectangle_3.ggCurrentLogicStateScaling != newLogicStateScaling) { 3589 me._rectangle_3.ggCurrentLogicStateScaling = newLogicStateScaling; 3590 me._rectangle_3.style[domTransition]='left none, top none, ' + cssPrefix + 'transform none'; 3591 if (me._rectangle_3.ggCurrentLogicStateScaling == 0) { 3592 me._rectangle_3.ggParameter.sx = 0.5; 3593 me._rectangle_3.ggParameter.sy = 0.5; 3594 me._rectangle_3.style[domTransform]=parameterToTransform(me._rectangle_3.ggParameter); 3595 } 3596 else { 3597 me._rectangle_3.ggParameter.sx = 1; 3598 me._rectangle_3.ggParameter.sy = 1; 3599 me._rectangle_3.style[domTransform]=parameterToTransform(me._rectangle_3.ggParameter); 3600 } 3601 } 3602 var newLogicStateVisible; 3603 if ( 3604 (me.player.getIsMobile() == true) 3605 ) 3606 { 3607 newLogicStateVisible = 0; 3608 } 3609 else { 3610 newLogicStateVisible = -1; 3611 } 3612 if (me._rectangle_3.ggCurrentLogicStateVisible != newLogicStateVisible) { 3613 me._rectangle_3.ggCurrentLogicStateVisible = newLogicStateVisible; 3614 me._rectangle_3.style[domTransition]='left none, top none, ' + cssPrefix + 'transform none'; 3615 if (me._rectangle_3.ggCurrentLogicStateVisible == 0) { 3616 me._rectangle_3.style.visibility="hidden"; 3617 me._rectangle_3.ggVisible=false; 3618 } 3619 else { 3620 me._rectangle_3.style.visibility=(Number(me._rectangle_3.style.opacity)>0||!me._rectangle_3.style.opacity)?'inherit':'hidden'; 3621 me._rectangle_3.ggVisible=true; 3622 } 3623 } 3624 } 3625 this._rectangle_3.ggUpdatePosition=function (useTransition) { 3626 if (useTransition==='undefined') { 3627 useTransition = false; 3628 } 3629 if (!useTransition) { 3630 this.style[domTransition]='none'; 3631 } 3632 if (this.parentNode) { 3633 var w=this.parentNode.offsetWidth; 3634 this.style.left=(this.ggLeft - 0 + w) + 'px'; 3635 var h=this.parentNode.offsetHeight; 3636 this.style.top=(this.ggTop - 0 + h) + 'px'; 3637 } 3638 } 3639 this._rectangle_3.ggNodeChange=function () { 3640 me._rectangle_3.ggUpdateConditionNodeChange(); 3641 } 3642 this._thumbnail_cloner=document.createElement('div'); 3643 this._thumbnail_cloner.ggNumRepeat = 1; 3644 this._thumbnail_cloner.ggWidth = 159; 3645 this._thumbnail_cloner.ggHeight = 204; 3646 this._thumbnail_cloner.ggUpdating = false; 3647 this._thumbnail_cloner.ggFilter = []; 3648 this._thumbnail_cloner.ggUpdate = function(filter) { 3649 if(me._thumbnail_cloner.ggUpdating == true) return; 3650 me._thumbnail_cloner.ggUpdating = true; 3651 if (typeof filter=='object') {
3652 me._thumbnail_cloner.ggFilter = filter; 3653 } else { 3654 filter = me._thumbnail_cloner.ggFilter; 3655 }; 3656 if (me._thumbnail_cloner.hasChildNodes() == true) { 3657 while (me._thumbnail_cloner.firstChild) { 3658 me._thumbnail_cloner.removeChild(me._thumbnail_cloner.firstChild); 3659 } 3660 } 3661 var tourNodes = me.player.getNodeIds(); 3662 var row = 0; 3663 var column = 0; 3664 var numRows = me._thumbnail_cloner.ggNumRepeat; 3665 if (numRows < 1) numRows = 1; 3666 for (i=0; i < tourNodes.length; i++) { 3667 var nodeId = tourNodes[i]; 3668 var passed = false; 3669 if (filter.length > 0) { 3670 var nodeData = me.player.getNodeUserdata(nodeId); 3671 for (j=0; j < filter.length; j++) { 3672 if (nodeData['tags'].indexOf(filter[j]) != -1) passed = true; 3673 } 3674 } 3675 else passed = true; 3676 if (passed) { 3677 me._thumbnail_cloner__node = document.createElement('div'); 3678 me._thumbnail_cloner.appendChild(me._thumbnail_cloner__node); 3679 me._thumbnail_cloner__node.setAttribute('style','position: absolute; top: ' + (row * me._thumbnail_cloner.ggHeight) + 'px; left:' + (column * me._thumbnail_cloner.ggWidth) + 'px; height: ' + me._thumbnail_cloner.ggHeight + 'px; width: ' + me._thumbnail_cloner.ggWidth + 'px; overflow: hidden;'); 3680 var inst = new SkinCloner_thumbnail_cloner_Class(nodeId, me); 3681 me._thumbnail_cloner__node.appendChild(inst.__div); 3682 me._thumbnail_cloner__node.ggObj=inst; 3683 me.updateSize(inst.__div); 3684 row++; 3685 if (row >= numRows) { 3686 row = 0; 3687 column++; 3688 } 3689 } 3690 } 3691 me._thumbnail_cloner.ggClonerCallChildFunctions('ggUpdateConditionTimer'); 3692 me._thumbnail_cloner.ggUpdating = false; 3693 } 3694 this._thumbnail_cloner.ggClonerCallChildFunctions = function(functionname){ 3695 var stack = []; 3696 var i; 3697 for(i=0; i<me._thumbnail_cloner.childNodes.length; i++) { 3698 stack.push(me._thumbnail_cloner.childNodes[i]); 3699 } 3700 while (stack.length > 0) { 3701 var e = stack.pop(); 3702 if (typeof e[functionname] == 'function') 3703 e[functionname](); 3704 if(e.hasChildNodes()) { 3705 for(i=0; i<e.childNodes.length; i++) { 3706 stack.push(e.childNodes[i]); 3707 } 3708 } 3709 } 3710 } 3711 this._thumbnail_cloner.ggTags = []; 3712 this._thumbnail_cloner.ggId="Thumbnail Cloner"; 3713 this._thumbnail_cloner.ggLeft=-329; 3714 this._thumbnail_cloner.ggTop=31; 3715 this._thumbnail_cloner.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; 3716 this._thumbnail_cloner.ggVisible=true; 3717 this._thumbnail_cloner.className='ggskin ggskin_cloner '; 3718 this._thumbnail_cloner.ggType='cloner'; 3719 hs =''; 3720 hs+='height : 203px;'; 3721 hs+='left : -329px;'; 3722 hs+='overflow : visible;'; 3723 hs+='position : absolute;'; 3724 hs+='top : 31px;'; 3725 hs+='visibility : inherit;'; 3726 hs+='width : 158px;'; 3727 hs+='pointer-events:none;'; 3728 this._thumbnail_cloner.setAttribute('style',hs); 3729 this._thumbnail_cloner.style[domTransform + 'Origin']='100% 100%'; 3730 this._thumbnail_cloner.style[domTransform]=parameterToTransform(this._thumbnail_cloner.ggParameter); 3731 me._thumbnail_cloner.ggIsActive=function() { 3732 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 3733 return this.parentNode.ggIsActive(); 3734 } 3735 return false; 3736 } 3737 me._thumbnail_cloner.ggElementNodeId=function() { 3738 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 3739 return this.parentNode.ggElementNodeId(); 3740 } 3741 return me.player.getCurrentNode(); 3742 } 3743 this._thumbnail_cloner.ggUpdateConditionNodeChange=function () { 3744 var cnode=me.player.getCurrentNode(); 3745 for(var i=0; i<me._thumbnail_cloner.childNodes.length; i++) { 3746 var child=me._thumbnail_cloner.childNodes[i]; 3747 if (child.ggObj && child.ggObj.ggNodeId==cnode) { 3748 var childOffX = child.offsetLeft; 3749 var childOffY = child.offsetTop; 3750 var p = child.parentElement; 3751 while (p != null && p!==this.divSkin) { 3752 if (p.ggType && p.ggType == 'scrollarea') { 3753 if ((p.scrollLeft + p.clientWidth) < (childOffX + child.clientWidth)) { 3754 p.scrollLeft = (childOffX + child.clientWidth) - p.clientWidth; 3755 } 3756 if ((p.scrollTop + p.clientHeight) < (childOffY + child.clientHeight)) { 3757 p.scrollTop = (childOffY + child.clientHeight) - p.clientHeight; 3758 } 3759 if (childOffX < p.scrollLeft) { 3760 p.scrollLeft = childOffX; 3761 } 3762 if (childOffY < p.scrollTop) { 3763 p.scrollTop = childOffY; 3764 } 3765 } 3766 childOffX += p.offsetLeft; 3767 childOffY += p.offsetTop; 3768 p = p.parentElement; 3769 } 3770 } 3771 } 3772 } 3773 this._thumbnail_cloner.ggUpdatePosition=function (useTransition) { 3774 if (useTransition==='undefined') { 3775 useTransition = false; 3776 } 3777 if (!useTransition) { 3778 this.style[domTransition]='none'; 3779 } 3780 if (this.parentNode) { 3781 var w=this.parentNode.offsetWidth; 3782 this.style.left=(this.ggLeft - 0 + w) + 'px'; 3783 var h=this.parentNode.offsetHeight; 3784 this.style.top=(this.ggTop - 0 + h) + 'px'; 3785 } 3786 var w=me.player.getViewerSize().width; 3787 var h=me.player.getViewerSize().height 3788 if ((!me._thumbnail_cloner.ggLastSize) || (me._thumbnail_cloner.ggLastSize.w!=w) || (me._thumbnail_cloner.ggLastSize.h!=h)) { 3789 me._thumbnail_cloner.ggLastSize={ w:w, h:h }; 3790 me._thumbnail_cloner.ggUpdate(); 3791 } 3792 } 3793 this._thumbnail_cloner.ggNodeChange=function () { 3794 me._thumbnail_cloner.ggUpdateConditionNodeChange(); 3795 } 3796 this._rectangle_3.appendChild(this._thumbnail_cloner); 3797 this.divSkin.appendChild(this._rectangle_3); 3798 this._map_1=document.createElement('div');
3799 this._map_1.innerHTML='Map goes here...'; 3800 this._map_1.ggFilter = ''; 3801 this._map_1.ggFilteredIds = []; 3802 this._map_1.ggId="Map 1"; 3803 this._map_1.ggTop=22; 3804 this._map_1.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 3805 this._map_1.ggVisible=true; 3806 this._map_1.className='ggskin ggskin_map '; 3807 this._map_1.ggType='map'; 3808 hs =''; 3809 hs+='background : #fff;'; 3810 hs+='border : 1px solid #000;'; 3811 hs+='cursor : pointer;'; 3812 hs+='height : 214px;'; 3813 hs+='left : 82px;'; 3814 hs+='position : absolute;'; 3815 hs+='top : 22px;'; 3816 hs+='visibility : inherit;'; 3817 hs+='width : 369px;'; 3818 hs+='pointer-events:auto;'; 3819 this._map_1.setAttribute('style',hs); 3820 this._map_1.style[domTransform + 'Origin']='0% 100%'; 3821 me._map_1.ggIsActive=function() { 3822 return false; 3823 } 3824 me._map_1.ggElementNodeId=function() { 3825 return me.player.getCurrentNode(); 3826 } 3827 me._map_1.ggCurrentLogicStatePosition = -1; 3828 me._map_1.ggCurrentLogicStateScaling = -1; 3829 me._map_1.ggCurrentLogicStateVisible = -1; 3830 this._map_1.ggUpdateConditionTimer=function () { 3831 me._map_1.ggRadar.update(); 3832 } 3833 this._map_1.ggUpdateConditionNodeChange=function () { 3834 var newLogicStatePosition; 3835 if ( 3836 (me.player.getIsMobile() == true) 3837 ) 3838 { 3839 newLogicStatePosition = 0; 3840 } 3841 else { 3842 newLogicStatePosition = -1; 3843 } 3844 if (me._map_1.ggCurrentLogicStatePosition != newLogicStatePosition) { 3845 me._map_1.ggCurrentLogicStatePosition = newLogicStatePosition; 3846 me._map_1.style[domTransition]='left none, top none, ' + cssPrefix + 'transform none'; 3847 if (me._map_1.ggCurrentLogicStatePosition == 0) { 3848 me._map_1.style.left='17px'; 3849 me._map_1.ggTop=-305; 3850 me._map_1.ggUpdatePosition(true); 3851 } 3852 else { 3853 me._map_1.style.left='82px'; 3854 me._map_1.ggTop=22; 3855 me._map_1.ggUpdatePosition(true); 3856 } 3857 } 3858 var newLogicStateScaling; 3859 if ( 3860 (me.player.getIsMobile() == true) 3861 ) 3862 { 3863 newLogicStateScaling = 0; 3864 } 3865 else { 3866 newLogicStateScaling = -1; 3867 } 3868 if (me._map_1.ggCurrentLogicStateScaling != newLogicStateScaling) { 3869 me._map_1.ggCurrentLogicStateScaling = newLogicStateScaling; 3870 me._map_1.style[domTransition]='left none, top none, ' + cssPrefix + 'transform none'; 3871 if (me._map_1.ggCurrentLogicStateScaling == 0) { 3872 me._map_1.ggParameter.sx = 0.6; 3873 me._map_1.ggParameter.sy = 0.6; 3874 me._map_1.style[domTransform]=parameterToTransform(me._map_1.ggParameter); 3875 } 3876 else { 3877 me._map_1.ggParameter.sx = 1; 3878 me._map_1.ggParameter.sy = 1; 3879 me._map_1.style[domTransform]=parameterToTransform(me._map_1.ggParameter); 3880 } 3881 } 3882 var newLogicStateVisible; 3883 if ( 3884 (me.player.getIsMobile() == true) 3885 ) 3886 { 3887 newLogicStateVisible = 0; 3888 } 3889 else { 3890 newLogicStateVisible = -1; 3891 } 3892 if (me._map_1.ggCurrentLogicStateVisible != newLogicStateVisible) { 3893 me._map_1.ggCurrentLogicStateVisible = newLogicStateVisible; 3894 me._map_1.style[domTransition]='left none, top none, ' + cssPrefix + 'transform none'; 3895 if (me._map_1.ggCurrentLogicStateVisible == 0) { 3896 me._map_1.style.visibility="hidden"; 3897 me._map_1.ggClearMap(); 3898 me._map_1.ggVisible=false; 3899 } 3900 else { 3901 me._map_1.style.visibility=(Number(me._map_1.style.opacity)>0||!me._map_1.style.opacity)?'inherit':'hidden'; 3902 if (me._map_1.ggMapNotLoaded) { 3903 me._map_1.ggInitMap(); 3904 me._map_1.ggInitMapMarkers(true); 3905 } 3906 me._map_1.ggVisible=true; 3907 } 3908 } 3909 } 3910 this._map_1.ggUpdatePosition=function (useTransition) { 3911 if (useTransition==='undefined') { 3912 useTransition = false; 3913 } 3914 if (!useTransition) { 3915 this.style[domTransition]='none'; 3916 } 3917 if (this.parentNode) { 3918 var h=this.parentNode.offsetHeight; 3919 this.style.top=(this.ggTop - 0 + h) + 'px'; 3920 } 3921 } 3922 this._map_1.ggNodeChange=function () { 3923 if (this.ggLastActivMarker) { 3924 if (this.ggLastActivMarker._div.ggDeactivate) this.ggLastActivMarker._div.ggDeactivate(); 3925 } 3926 var id=me.player.getCurrentNode(); 3927 var marker=this.ggMarkerArray[id]; 3928 if (marker) { 3929 if (marker._div.ggActivate) marker._div.ggActivate(); 3930 } 3931 this.ggLastActivMarker=marker; 3932 me._map_1.ggUpdateConditionNodeChange(); 3933 } 3934 this.divSkin.appendChild(this._map_1); 3935 this._container_3=document.createElement('div'); 3936 this._container_3.ggId="Container 3"; 3937 this._container_3.ggTop=-57; 3938 this._container_3.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; 3939 this._container_3.ggVisible=true; 3940 this._container_3.className='ggskin ggskin_container '; 3941 this._container_3.ggType='container'; 3942 hs =''; 3943 hs+='height : 58px;'; 3944 hs+='left : 11px;'; 3945 hs+='position : absolute;'; 3946 hs+='top : -57px;'; 3947 hs+='visibility : inherit;'; 3948 hs+='width : 174px;'; 3949 hs+='pointer-events:none;'; 3950 this._container_3.setAttribute('style',hs); 3951 this._container_3.style[domTransform + 'Origin']='0% 100%'; 3952 this._container_3.style[domTransform]=parameterToTransform(this._container_3.ggParameter); 3953 me._container_3.ggIsActive=function() { 3954 return false; 3955 } 3956 me._container_3.ggElementNodeId=function() { 3957 return me.player.getCurrentNode(); 3958 } 3959 me._container_3.ggCurrentLogicStateScaling = -1; 3960 me._container_3.ggCurrentLogicStateVisible = -1; 3961 this._container_3.ggUpdateConditionNodeChange=function () { 3962 var newLogicStateScaling; 3963 if ( 3964 (me.player.getIsMobile() == true) 3965 ) 3966 { 3967 newLogicStateScaling = 0; 3968 } 3969 else { 3970 newLogicStateScaling = -1; 3971 } 3972 if (me._container_3.ggCurrentLogicStateScaling != newLogicStateScaling) { 3973 me._container_3.ggCurrentLogicStateScaling = newLogicStateScaling; 3974 me._container_3.style[domTransition]='' + cssPrefix + 'transform none'; 3975 if (me._container_3.ggCurrentLogicStateScaling == 0) { 3976 me._container_3.ggParameter.sx = 0.5; 3977 me._container_3.ggParameter.sy = 0.5; 3978 me._container_3.style[domTransform]=parameterToTransform(me._container_3.ggParameter); 3979 } 3980 else { 3981 me._container_3.ggParameter.sx = 0.9; 3982 me._container_3.ggParameter.sy = 0.9; 3983 me._container_3.style[domTransform]=parameterToTransform(me._container_3.ggParameter); 3984 } 3985 } 3986 var newLogicStateVisible; 3987 if ( 3988 (me.player.getIsMobile() == true) 3989 ) 3990 { 3991 newLogicStateVisible = 0; 3992 } 3993 else { 3994 newLogicStateVisible = -1; 3995 } 3996 if (me._container_3.ggCurrentLogicStateVisible != newLogicStateVisible) { 3997 me._container_3.ggCurrentLogicStateVisible = newLogicStateVisible; 3998 me._container_3.style[domTransition]='' + cssPrefix + 'transform none'; 3999 if (me._container_3.ggCurrentLogicStateVisible == 0) { 4000 me._container_3.style.visibility="hidden"; 4001 me._container_3.ggVisible=false; 4002 } 4003 else { 4004 me._container_3.style.visibility=(Number(me._container_3.style.opacity)>0||!me._container_3.style.opacity)?'inherit':'hidden'; 4005 me._container_3.ggVisible=true; 4006 } 4007 } 4008 } 4009 this._container_3.ggUpdatePosition=function (useTransition) { 4010 if (useTransition==='undefined') { 4011 useTransition = false; 4012 } 4013 if (!useTransition) { 4014 this.style[domTransition]='none'; 4015 } 4016 if (this.parentNode) { 4017 var h=this.parentNode.offsetHeight; 4018 this.style.top=(this.ggTop - 0 + h) + 'px'; 4019 } 4020 } 4021 this._container_3.ggNodeChange=function () { 4022 me._container_3.ggUpdateConditionNodeChange(); 4023 } 4024 this._rectangle_5=document.createElement('div'); 4025 this._rectangle_5.ggId="Rectangle 5"; 4026 this._rectangle_5.ggTop=-49; 4027 this._rectangle_5.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 4028 this._rectangle_5.ggVisible=false; 4029 this._rectangle_5.className='ggskin ggskin_rectangle '; 4030 this._rectangle_5.ggType='rectangle'; 4031 hs =''; 4032 hs+=cssPrefix + 'border-radius : 6px;'; 4033 hs+='border-radius : 6px;'; 4034 hs+='background : #2c2c2c;'; 4035 hs+='border : 1px solid #ffffff;'; 4036 hs+='cursor : pointer;'; 4037 hs+='height : 57px;'; 4038 hs+='left : -2px;'; 4039 hs+='opacity : 0.7;'; 4040 hs+='position : absolute;'; 4041 hs+='top : -49px;'; 4042 hs+='visibility : hidden;'; 4043 hs+='width : 67px;'; 4044 hs+='pointer-events:auto;'; 4045 this._rectangle_5.setAttribute('style',hs); 4046 this._rectangle_5.style[domTransform + 'Origin']='0% 100%'; 4047 me._rectangle_5.ggIsActive=function() { 4048 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 4049 return this.parentNode.ggIsActive(); 4050 } 4051 return false; 4052 } 4053 me._rectangle_5.ggElementNodeId=function() { 4054 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 4055 return this.parentNode.ggElementNodeId(); 4056 } 4057 return me.player.getCurrentNode(); 4058 } 4059 this._rectangle_5.onclick=function (e) { 4060 var flag=me._map_1.ggPositonActive; 4061 if (me.player.transitionsDisabled) { 4062 me._map_1.style[domTransition]='none'; 4063 } else { 4064 me._map_1.style[domTransition]='all 1000ms ease-out 0ms'; 4065 } 4066 if (flag) { 4067 me._map_1.ggParameter.rx=0;me._map_1.ggParameter.ry=0; 4068 me._map_1.style[domTransform]=parameterToTransform(me._map_1.ggParameter); 4069 } else { 4070 me._map_1.ggParameter.rx=-500;me._map_1.ggParameter.ry=0; 4071 me._map_1.style[domTransform]=parameterToTransform(me._map_1.ggParameter); 4072 } 4073 me._map_1.ggPositonActive=!flag; 4074 me._image_30.style[domTransition]='none'; 4075 me._image_30.style.visibility=(Number(me._image_30.style.opacity)>0||!me._image_30.style.opacity)?'inherit':'hidden'; 4076 me._image_30.ggVisible=true; 4077 if (me.player.transitionsDisabled) { 4078 me._steuerung.style[domTransition]='none'; 4079 } else { 4080 me._steuerung.style[domTransition]='all 500ms ease-out 0ms'; 4081 } 4082 me._steuerung.style.opacity='0'; 4083 me._steuerung.style.visibility='hidden'; 4084 } 4085 this._rectangle_5.ggUpdatePosition=function (useTransition) { 4086 if (useTransition==='undefined') { 4087 useTransition = false; 4088 } 4089 if (!useTransition) { 4090 this.style[domTransition]='none'; 4091 } 4092 if (this.parentNode) { 4093 var h=this.parentNode.offsetHeight; 4094 this.style.top=(this.ggTop - 0 + h) + 'px'; 4095 } 4096 } 4097 this._container_3.appendChild(this._rectangle_5); 4098 this._image_30=document.createElement('div'); 4099 this._image_30__img=document.createElement('img'); 4100 this._image_30__img.className='ggskin ggskin_image'; 4101 this._image_30__img.setAttribute('src',basePath + 'images/image_30.png'); 4102 this._image_30__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 4103 this._image_30__img.className='ggskin ggskin_image'; 4104 this._image_30__img['ondragstart']=function() { return false; }; 4105 me.player.checkLoaded.push(this._image_30__img); 4106 this._image_30.appendChild(this._image_30__img); 4107 this._image_30.ggId="Image 30"; 4108 this._image_30.ggTop=-98; 4109 this._image_30.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; 4110 this._image_30.ggVisible=true; 4111 this._image_30.className='ggskin ggskin_image '; 4112 this._image_30.ggType='image'; 4113 hs =''; 4114 hs+='cursor : pointer;'; 4115 hs+='height : 96px;'; 4116 hs+='left : -11px;'; 4117 hs+='position : absolute;'; 4118 hs+='top : -98px;'; 4119 hs+='visibility : inherit;'; 4120 hs+='width : 96px;'; 4121 hs+='pointer-events:auto;'; 4122 this._image_30.setAttribute('style',hs); 4123 this._image_30.style[domTransform + 'Origin']='0% 100%'; 4124 this._image_30.style[domTransform]=parameterToTransform(this._image_30.ggParameter); 4125 me._image_30.ggIsActive=function() { 4126 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 4127 return this.parentNode.ggIsActive(); 4128 } 4129 return false; 4130 } 4131 me._image_30.ggElementNodeId=function() { 4132 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 4133 return this.parentNode.ggElementNodeId(); 4134 } 4135 return me.player.getCurrentNode(); 4136 } 4137 this._image_30.onclick=function (e) { 4138 var flag=me._map_1.ggPositonActive; 4139 if (me.player.transitionsDisabled) { 4140 me._map_1.style[domTransition]='none'; 4141 } else { 4142 me._map_1.style[domTransition]='all 1000ms ease-out 0ms'; 4143 } 4144 if (flag) { 4145 me._map_1.ggParameter.rx=0;me._map_1.ggParameter.ry=0; 4146 me._map_1.style[domTransform]=parameterToTransform(me._map_1.ggParameter); 4147 } else { 4148 me._map_1.ggParameter.rx=0;me._map_1.ggParameter.ry=-250; 4149 me._map_1.style[domTransform]=parameterToTransform(me._map_1.ggParameter); 4150 } 4151 me._map_1.ggPositonActive=!flag; 4152 } 4153 this._image_30.ggUpdatePosition=function (useTransition) { 4154 if (useTransition==='undefined') { 4155 useTransition = false; 4156 } 4157 if (!useTransition) { 4158 this.style[domTransition]='none'; 4159 } 4160 if (this.parentNode) { 4161 var h=this.parentNode.offsetHeight; 4162 this.style.top=(this.ggTop - 0 + h) + 'px'; 4163 } 4164 } 4165 this._container_3.appendChild(this._image_30); 4166 this.divSkin.appendChild(this._container_3); 4167 this._image_21=document.createElement('div'); 4168 this._image_21__img=document.createElement('img'); 4169 this._image_21__img.className='ggskin ggskin_button'; 4170 this._image_21__img.setAttribute('src',basePath + 'images/image_21.png'); 4171 this._image_21__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 4172 this._image_21__img.className='ggskin ggskin_button'; 4173 this._image_21__img['ondragstart']=function() { return false; }; 4174 me.player.checkLoaded.push(this._image_21__img); 4175 this._image_21.appendChild(this._image_21__img); 4176 this._image_21.ggId="Image 21"; 4177 this._image_21.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 4178 this._image_21.ggVisible=true; 4179 this._image_21.className='ggskin ggskin_button '; 4180 this._image_21.ggType='button'; 4181 hs =''; 4182 hs+='height : 116px;'; 4183 hs+='left : 9px;'; 4184 hs+='opacity : 0.7;'; 4185 hs+='position : absolute;'; 4186 hs+='top : 10px;'; 4187 hs+='visibility : inherit;'; 4188 hs+='width : 200px;'; 4189 hs+='pointer-events:auto;'; 4190 this._image_21.setAttribute('style',hs); 4191 this._image_21.style[domTransform + 'Origin']='0% 0%'; 4192 me._image_21.ggIsActive=function() { 4193 return false; 4194 } 4195 me._image_21.ggElementNodeId=function() { 4196 return me.player.getCurrentNode(); 4197 } 4198 this._image_21.onclick=function (e) { 4199 me.player.openUrl("http:\/\/www.steckenberg.de\/",""); 4200 } 4201 this._image_21.onmouseover=function (e) { 4202 if (me.player.transitionsDisabled) { 4203 me._image_21.style[domTransition]='none'; 4204 } else { 4205 me._image_21.style[domTransition]='all 500ms ease-out 0ms'; 4206 } 4207 me._image_21.style.opacity='1'; 4208 me._image_21.style.visibility=me._image_21.ggVisible?'inherit':'hidden'; 4209 } 4210 this._image_21.onmouseout=function (e) { 4211 if (me.player.transitionsDisabled) { 4212 me._image_21.style[domTransition]='none'; 4213 } else { 4214 me._image_21.style[domTransition]='all 500ms ease-out 0ms'; 4215 } 4216 me._image_21.style.opacity='0.6'; 4217 me._image_21.style.visibility=me._image_21.ggVisible?'inherit':'hidden'; 4218 } 4219 me._image_21.ggCurrentLogicStateScaling = -1; 4220 this._image_21.ggUpdateConditionNodeChange=function () { 4221 var newLogicStateScaling; 4222 if ( 4223 (me.player.getIsMobile() == true) 4224 ) 4225 { 4226 newLogicStateScaling = 0; 4227 } 4228 else { 4229 newLogicStateScaling = -1; 4230 } 4231 if (me._image_21.ggCurrentLogicStateScaling != newLogicStateScaling) { 4232 me._image_21.ggCurrentLogicStateScaling = newLogicStateScaling; 4233 me._image_21.style[domTransition]='' + cssPrefix + 'transform none'; 4234 if (me._image_21.ggCurrentLogicStateScaling == 0) { 4235 me._image_21.ggParameter.sx = 0.25; 4236 me._image_21.ggParameter.sy = 0.25; 4237 me._image_21.style[domTransform]=parameterToTransform(me._image_21.ggParameter); 4238 } 4239 else { 4240 me._image_21.ggParameter.sx = 1; 4241 me._image_21.ggParameter.sy = 1; 4242 me._image_21.style[domTransform]=parameterToTransform(me._image_21.ggParameter); 4243 } 4244 } 4245 } 4246 this._image_21.ggUpdatePosition=function (useTransition) { 4247 } 4248 this._image_21.ggNodeChange=function () { 4249 me._image_21.ggUpdateConditionNodeChange(); 4250 } 4251 this.divSkin.appendChild(this._image_21); 4252 this._controller=document.createElement('div'); 4253 this._controller.ggId="controller"; 4254 this._controller.ggLeft=-146; 4255 this._controller.ggTop=-74; 4256 this._controller.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 4257 this._controller.ggVisible=true; 4258 this._controller.className='ggskin ggskin_container '; 4259 this._controller.gg
4259Type='container'; 4260 hs =''; 4261 hs+='height : 73px;'; 4262 hs+='left : -146px;'; 4263 hs+='position : absolute;'; 4264 hs+='top : -74px;'; 4265 hs+='visibility : inherit;'; 4266 hs+='width : 263px;'; 4267 hs+='pointer-events:none;'; 4268 this._controller.setAttribute('style',hs); 4269 this._controller.style[domTransform + 'Origin']='50% 50%'; 4270 me._controller.ggIsActive=function() { 4271 return false; 4272 } 4273 me._controller.ggElementNodeId=function() { 4274 return me.player.getCurrentNode(); 4275 } 4276 this._controller.ggUpdatePosition=function (useTransition) { 4277 if (useTransition==='undefined') { 4278 useTransition = false; 4279 } 4280 if (!useTransition) { 4281 this.style[domTransition]='none'; 4282 } 4283 if (this.parentNode) { 4284 var w=this.parentNode.offsetWidth; 4285 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 4286 var h=this.parentNode.offsetHeight; 4287 this.style.top=(this.ggTop - 0 + h) + 'px'; 4288 } 4289 } 4290 this._down=document.createElement('div'); 4291 this._down__img=document.createElement('img'); 4292 this._down__img.className='ggskin ggskin_svg'; 4293 this._down__img.setAttribute('src',basePath + 'images/down.svg'); 4294 this._down__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 4295 this._down__img['ondragstart']=function() { return false; }; 4296 this._down.appendChild(this._down__img); 4297 this._down__imgo=document.createElement('img'); 4298 this._down__imgo.className='ggskin ggskin_svg'; 4299 this._down__imgo.setAttribute('src',basePath + 'images/down__o.svg'); 4300 this._down__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); 4301 this._down__imgo['ondragstart']=function() { return false; }; 4302 this._down.appendChild(this._down__imgo); 4303 this._down.ggId="down"; 4304 this._down.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 4305 this._down.ggVisible=true; 4306 this._down.className='ggskin ggskin_svg '; 4307 this._down.ggType='svg'; 4308 hs =''; 4309 hs+='cursor : pointer;'; 4310 hs+='height : 32px;'; 4311 hs+='left : 8px;'; 4312 hs+='position : absolute;'; 4313 hs+='top : 18px;'; 4314 hs+='visibility : inherit;'; 4315 hs+='width : 32px;'; 4316 hs+='pointer-events:auto;'; 4317 this._down.setAttribute('style',hs); 4318 this._down.style[domTransform + 'Origin']='50% 50%'; 4319 me._down.ggIsActive=function() { 4320 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 4321 return this.parentNode.ggIsActive(); 4322 } 4323 return false; 4324 } 4325 me._down.ggElementNodeId=function() { 4326 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 4327 return this.parentNode.ggElementNodeId(); 4328 } 4329 return me.player.getCurrentNode(); 4330 } 4331 this._down.onclick=function (e) { 4332 me.player.changeTiltLog(-1,true); 4333 } 4334 this._down.onmouseover=function (e) { 4335 me._down__img.style.visibility='hidden'; 4336 me._down__imgo.style.visibility='inherit'; 4337 } 4338 this._down.onmouseout=function (e) { 4339 me._down__img.style.visibility='inherit'; 4340 me._down__imgo.style.visibility='hidden'; 4341 } 4342 this._down.ggUpdatePosition=function (useTransition) { 4343 } 4344 this._controller.appendChild(this._down); 4345 this._up=document.createElement('div'); 4346 this._up__img=document.createElement('img'); 4347 this._up__img.className='ggskin ggskin_svg'; 4348 this._up__img.setAttribute('src',basePath + 'images/up.svg'); 4349 this._up__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 4350 this._up__img['ondragstart']=function() { return false; }; 4351 this._up.appendChild(this._up__img); 4352 this._up__imgo=document.createElement('img'); 4353 this._up__imgo.className='ggskin ggskin_svg'; 4354 this._up__imgo.setAttribute('src',basePath + 'images/up__o.svg'); 4355 this._up__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); 4356 this._up__imgo['ondragstart']=function() { return false; }; 4357 this._up.appendChild(this._up__imgo); 4358 this._up.ggId="up"; 4359 this._up.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 4360 this._up.ggVisible=true; 4361 this._up.className='ggskin ggskin_svg '; 4362 this._up.ggType='svg'; 4363 hs =''; 4364 hs+='cursor : pointer;'; 4365 hs+='height : 32px;'; 4366 hs+='left : 8px;'; 4367 hs+='position : absolute;'; 4368 hs+='top : -21px;'; 4369 hs+='visibility : inherit;'; 4370 hs+='width : 32px;'; 4371 hs+='pointer-events:auto;'; 4372 this._up.setAttribute('style',hs); 4373 this._up.style[domTransform + 'Origin']='50% 50%'; 4374 me._up.ggIsActive=function() { 4375 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 4376 return this.parentNode.ggIsActive(); 4377 } 4378 return false; 4379 } 4380 me._up.ggElementNodeId=function() { 4381 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 4382 return this.parentNode.ggElementNodeId(); 4383 } 4384 return me.player.getCurrentNode(); 4385 } 4386 this._up.onclick=function (e) { 4387 me.player.changeTiltLog(1,true); 4388 } 4389 this._up.onmouseover=function (e) { 4390 me._up__img.style.visibility='hidden'; 4391 me._up__imgo.style.visibility='inherit'; 4392 } 4393 this._up.onmouseout=function (e) { 4394 me._up__img.style.visibility='inherit'; 4395 me._up__imgo.style.visibility='hidden'; 4396 } 4397 this._up.ggUpdatePosition=function (useTransition) { 4398 } 4399 this._controller.appendChild(this._up); 4400 this._left=document.createElement('div');
4401 this._left__img=document.createElement('img'); 4402 this._left__img.className='ggskin ggskin_svg'; 4403 this._left__img.setAttribute('src',basePath + 'images/left.svg'); 4404 this._left__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 4405 this._left__img['ondragstart']=function() { return false; }; 4406 this._left.appendChild(this._left__img); 4407 this._left__imgo=document.createElement('img'); 4408 this._left__imgo.className='ggskin ggskin_svg'; 4409 this._left__imgo.setAttribute('src',basePath + 'images/left__o.svg'); 4410 this._left__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); 4411 this._left__imgo['ondragstart']=function() { return false; }; 4412 this._left.appendChild(this._left__imgo); 4413 this._left.ggId="left"; 4414 this._left.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 4415 this._left.ggVisible=true; 4416 this._left.className='ggskin ggskin_svg '; 4417 this._left.ggType='svg'; 4418 hs =''; 4419 hs+='cursor : pointer;'; 4420 hs+='height : 32px;'; 4421 hs+='left : -14px;'; 4422 hs+='position : absolute;'; 4423 hs+='top : -1px;'; 4424 hs+='visibility : inherit;'; 4425 hs+='width : 32px;'; 4426 hs+='pointer-events:auto;'; 4427 this._left.setAttribute('style',hs); 4428 this._left.style[domTransform + 'Origin']='50% 50%'; 4429 me._left.ggIsActive=function() { 4430 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 4431 return this.parentNode.ggIsActive(); 4432 } 4433 return false; 4434 } 4435 me._left.ggElementNodeId=function() { 4436 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 4437 return this.parentNode.ggElementNodeId(); 4438 } 4439 return me.player.getCurrentNode(); 4440 } 4441 this._left.onclick=function (e) { 4442 me.player.changePanLog(1,true); 4443 } 4444 this._left.onmouseover=function (e) { 4445 me._left__img.style.visibility='hidden'; 4446 me._left__imgo.style.visibility='inherit'; 4447 } 4448 this._left.onmouseout=function (e) { 4449 me._left__img.style.visibility='inherit'; 4450 me._left__imgo.style.visibility='hidden'; 4451 } 4452 this._left.ggUpdatePosition=function (useTransition) { 4453 } 4454 this._controller.appendChild(this._left); 4455 this._right=document.createElement('div'); 4456 this._right__img=document.createElement('img'); 4457 this._right__img.className='ggskin ggskin_svg'; 4458 this._right__img.setAttribute('src',basePath + 'images/right.svg'); 4459 this._right__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 4460 this._right__img['ondragstart']=function() { return false; }; 4461 this._right.appendChild(this._right__img); 4462 this._right__imgo=document.createElement('img'); 4463 this._right__imgo.className='ggskin ggskin_svg'; 4464 this._right__imgo.setAttribute('src',basePath + 'images/right__o.svg'); 4465 this._right__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); 4466 this._right__imgo['ondragstart']=function() { return false; }; 4467 this._right.appendChild(this._right__imgo); 4468 this._right.ggId="right"; 4469 this._right.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 4470 this._right.ggVisible=true; 4471 this._right.className='ggskin ggskin_svg '; 4472 this._right.ggType='svg'; 4473 hs =''; 4474 hs+='cursor : pointer;'; 4475 hs+='height : 32px;'; 4476 hs+='left : 29px;'; 4477 hs+='position : absolute;'; 4478 hs+='top : -1px;'; 4479 hs+='visibility : inherit;'; 4480 hs+='width : 32px;'; 4481 hs+='pointer-events:auto;'; 4482 this._right.setAttribute('style',hs); 4483 this._right.style[domTransform + 'Origin']='50% 50%'; 4484 me._right.ggIsActive=function() { 4485 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 4486 return this.parentNode.ggIsActive(); 4487 } 4488 return false; 4489 } 4490 me._right.ggElementNodeId=function() { 4491 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 4492 return this.parentNode.ggElementNodeId(); 4493 } 4494 return me.player.getCurrentNode(); 4495 } 4496 this._right.onclick=function (e) { 4497 me.player.changePanLog(-1,true); 4498 } 4499 this._right.onmouseover=function (e) { 4500 me._right__img.style.visibility='hidden'; 4501 me._right__imgo.style.visibility='inherit'; 4502 } 4503 this._right.onmouseout=function (e) { 4504 me._right__img.style.visibility='inherit'; 4505 me._right__imgo.style.visibility='hidden'; 4506 } 4507 this._right.ggUpdatePosition=function (useTransition) { 4508 } 4509 this._controller.appendChild(this._right); 4510 this._zoomin=document.createElement('div'); 4511 this._zoomin__img=document.createElement('img'); 4512 this._zoomin__img.className='ggskin ggskin_svg'; 4513 this._zoomin__img.setAttribute('src',basePath + 'images/zoomin.svg'); 4514 this._zoomin__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 4515 this._zoomin__img['ondragstart']=function() { return false; }; 4516 this._zoomin.appendChild(this._zoomin__img); 4517 this._zoomin__imgo=document.createElement('img'); 4518 this._zoomin__imgo.className='ggskin ggskin_svg'; 4519 this._zoomin__imgo.setAttribute('src',basePath + 'images/zoomin__o.svg'); 4520 this._zoomin__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); 4521 this._zoomin__imgo['ondragstart']=function() { return false; }; 4522 this._zoomin.appendChild(this._zoomin__imgo); 4523 this._zoomin.ggId="zoomin"; 4524 this._zoomin.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 4525 this._zoomin.ggVisible=true; 4526 this._zoomin.className='ggskin ggskin_svg '; 4527 this._zoomin.ggType='svg'; 4528 hs =''; 4529 hs+='cursor : pointer;'; 4530 hs+='height : 32px;'; 4531 hs+='left : 78px;'; 4532 hs+='position : absolute;'; 4533 hs+='top : 10px;'; 4534 hs+='visibility : inherit;'; 4535 hs+='width : 32px;'; 4536 hs+='pointer-events:auto;'; 4537 this._zoomin.setAttribute('style',hs); 4538 this._zoomin.style[domTransform + 'Origin']='50% 50%'; 4539 me._zoomin.ggIsActive=function() { 4540 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 4541 return this.parentNode.ggIsActive(); 4542 } 4543 return false; 4544 } 4545 me._zoomin.ggElementNodeId=function() { 4546 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 4547 return this.parentNode.ggElementNodeId(); 4548 } 4549 return me.player.getCurrentNode(); 4550 } 4551 this._zoomin.onmouseover=function (e) { 4552 me._zoomin__img.style.visibility='hidden'; 4553 me._zoomin__imgo.style.visibility='inherit'; 4554 } 4555 this._zoomin.onmouseout=function (e) { 4556 me._zoomin__img.style.visibility='inherit'; 4557 me._zoomin__imgo.style.visibility='hidden'; 4558 me.elementMouseDown['zoomin']=false; 4559 } 4560 this._zoomin.onmousedown=function (e) { 4561 me.elementMouseDown['zoomin']=true; 4562 } 4563 this._zoomin.onmouseup=function (e) { 4564 me.elementMouseDown['zoomin']=false; 4565 } 4566 this._zoomin.ontouchend=function (e) { 4567 me.elementMouseDown['zoomin']=false; 4568 } 4569 this._zoomin.ggUpdatePosition=function (useTransition) { 4570 } 4571 this._controller.appendChild(this._zoomin); 4572 this._zoomout=document.createElement('div');
4573 this._zoomout__img=document.createElement('img'); 4574 this._zoomout__img.className='ggskin ggskin_svg'; 4575 this._zoomout__img.setAttribute('src',basePath + 'images/zoomout.svg'); 4576 this._zoomout__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 4577 this._zoomout__img['ondragstart']=function() { return false; }; 4578 this._zoomout.appendChild(this._zoomout__img); 4579 this._zoomout__imgo=document.createElement('img'); 4580 this._zoomout__imgo.className='ggskin ggskin_svg'; 4581 this._zoomout__imgo.setAttribute('src',basePath + 'images/zoomout__o.svg'); 4582 this._zoomout__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); 4583 this._zoomout__imgo['ondragstart']=function() { return false; }; 4584 this._zoomout.appendChild(this._zoomout__imgo); 4585 this._zoomout.ggId="zoomout"; 4586 this._zoomout.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 4587 this._zoomout.ggVisible=true; 4588 this._zoomout.className='ggskin ggskin_svg '; 4589 this._zoomout.ggType='svg'; 4590 hs =''; 4591 hs+='cursor : pointer;'; 4592 hs+='height : 32px;'; 4593 hs+='left : 129px;'; 4594 hs+='position : absolute;'; 4595 hs+='top : 10px;'; 4596 hs+='visibility : inherit;'; 4597 hs+='width : 32px;'; 4598 hs+='pointer-events:auto;'; 4599 this._zoomout.setAttribute('style',hs); 4600 this._zoomout.style[domTransform + 'Origin']='50% 50%'; 4601 me._zoomout.ggIsActive=function() { 4602 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 4603 return this.parentNode.ggIsActive(); 4604 } 4605 return false; 4606 } 4607 me._zoomout.ggElementNodeId=function() { 4608 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 4609 return this.parentNode.ggElementNodeId(); 4610 } 4611 return me.player.getCurrentNode(); 4612 } 4613 this._zoomout.onmouseover=function (e) { 4614 me._zoomout__img.style.visibility='hidden'; 4615 me._zoomout__imgo.style.visibility='inherit'; 4616 } 4617 this._zoomout.onmouseout=function (e) { 4618 me._zoomout__img.style.visibility='inherit'; 4619 me._zoomout__imgo.style.visibility='hidden'; 4620 me.elementMouseDown['zoomout']=false; 4621 } 4622 this._zoomout.onmousedown=function (e) { 4623 me.elementMouseDown['zoomout']=true; 4624 } 4625 this._zoomout.onmouseup=function (e) { 4626 me.elementMouseDown['zoomout']=false; 4627 } 4628 this._zoomout.ontouchend=function (e) { 4629 me.elementMouseDown['zoomout']=false; 4630 } 4631 this._zoomout.ggUpdatePosition=function (useTransition) { 4632 } 4633 this._controller.appendChild(this._zoomout); 4634 this._autorotate=document.createElement('div'); 4635 this._autorotate__img=document.createElement('img'); 4636 this._autorotate__img.className='ggskin ggskin_svg'; 4637 this._autorotate__img.setAttribute('src',basePath + 'images/autorotate.svg'); 4638 this._autorotate__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 4639 this._autorotate__img['ondragstart']=function() { return false; }; 4640 this._autorotate.appendChild(this._autorotate__img); 4641 this._autorotate__imgo=document.createElement('img'); 4642 this._autorotate__imgo.className='ggskin ggskin_svg'; 4643 this._autorotate__imgo.setAttribute('src',basePath + 'images/autorotate__o.svg'); 4644 this._autorotate__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); 4645 this._autorotate__imgo['ondragstart']=function() { return false; }; 4646 this._autorotate.appendChild(this._autorotate__imgo); 4647 this._autorotate.ggId="autorotate"; 4648 this._autorotate.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 4649 this._autorotate.ggVisible=true; 4650 this._autorotate.className='ggskin ggskin_svg '; 4651 this._autorotate.ggType='svg'; 4652 hs =''; 4653 hs+='cursor : pointer;'; 4654 hs+='height : 33px;'; 4655 hs+='left : 187px;'; 4656 hs+='position : absolute;'; 4657 hs+='top : 9px;'; 4658 hs+='visibility : inherit;'; 4659 hs+='width : 34px;'; 4660 hs+='pointer-events:auto;'; 4661 this._autorotate.setAttribute('style',hs); 4662 this._autorotate.style[domTransform + 'Origin']='50% 50%'; 4663 me._autorotate.ggIsActive=function() { 4664 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 4665 return this.parentNode.ggIsActive(); 4666 } 4667 return false; 4668 } 4669 me._autorotate.ggElementNodeId=function() { 4670 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 4671 return this.parentNode.ggElementNodeId(); 4672 } 4673 return me.player.getCurrentNode(); 4674 } 4675 this._autorotate.onclick=function (e) { 4676 me.player.toggleAutorotate(); 4677 } 4678 this._autorotate.onmouseover=function (e) { 4679 me._autorotate__img.style.visibility='hidden'; 4680 me._autorotate__imgo.style.visibility='inherit'; 4681 } 4682 this._autorotate.onmouseout=function (e) { 4683 me._autorotate__img.style.visibility='inherit'; 4684 me._autorotate__imgo.style.visibility='hidden'; 4685 } 4686 this._autorotate.ggUpdatePosition=function (useTransition) { 4687 } 4688 this._controller.appendChild(this._autorotate); 4689 this._fullscreen=document.createElement('div'); 4690 this._fullscreen__img=document.createElement('img'); 4691 this._fullscreen__img.className='ggskin ggskin_svg'; 4692 this._fullscreen__img.setAttribute('src',basePath + 'images/fullscreen.svg'); 4693 this._fullscreen__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 4694 this._fullscreen__img['ondragstart']=function() { return false; }; 4695 this._fullscreen.appendChild(this._fullscreen__img); 4696 this._fullscreen__imgo=document.createElement('img'); 4697 this._fullscreen__imgo.className='ggskin ggskin_svg'; 4698 this._fullscreen__imgo.setAttribute('src',basePath + 'images/fullscreen__o.svg'); 4699 this._fullscreen__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); 4700 this._fullscreen__imgo['ondragstart']=function() { return false; }; 4701 this._fullscreen.appendChild(this._fullscreen__imgo); 4702 this._fullscreen.ggId="fullscreen"; 4703 this._fullscreen.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 4704 this._fullscreen.ggVisible=true; 4705 this._fullscreen.className='ggskin ggskin_svg '; 4706 this._fullscreen.ggType='svg'; 4707 hs =''; 4708 hs+='cursor : pointer;'; 4709 hs+='height : 32px;'; 4710 hs+='left : 243px;'; 4711 hs+='position : absolute;'; 4712 hs+='top : 10px;'; 4713 hs+='visibility : inherit;'; 4714 hs+='width : 32px;'; 4715 hs+='pointer-events:auto;'; 4716 this._fullscreen.setAttribute('style',hs); 4717 this._fullscreen.style[domTransform + 'Origin']='50% 50%'; 4718 me._fullscreen.ggIsActive=function() { 4719 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 4720 return this.parentNode.ggIsActive(); 4721 } 4722 return false; 4723 } 4724 me._fullscreen.ggElementNodeId=function() { 4725 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 4726 return this.parentNode.ggElementNodeId(); 4727 } 4728 return me.player.getCurrentNode(); 4729 } 4730 this._fullscreen.onclick=function (e) { 4731 me.player.toggleFullscreen(); 4732 } 4733 this._fullscreen.onmouseover=function (e) { 4734 me._fullscreen__img.style.visibility='hidden'; 4735 me._fullscreen__imgo.style.visibility='inherit'; 4736 } 4737 this._fullscreen.onmouseout=function (e) { 4738 me._fullscreen__img.style.visibility='inherit'; 4739 me._fullscreen__imgo.style.visibility='hidden'; 4740 } 4741 this._fullscreen.ggUpdatePosition=function (useTransition) { 4742 } 4743 this._controller.appendChild(this._fullscreen); 4744 this.divSkin.appendChild(this._controller); 4745 me._image_19.style[domTransition]='none'; 4746 me._image_19.style.opacity='0.3'; 4747 me._image_19.style.visibility=me._image_19.ggVisible?'inherit':'hidden'; 4748 this._map_1.ggRadar={ lastFov : -1, lastPan : -1, lastZoom : -1,activeNodeLatLng : null, poly : null } 4749 this._map_1.ggRadar.update=function() { 4750 if ((typeof google !== 'object') || (typeof google.maps !== 'object')) return; 4751 var radar=me._map_1.ggRadar; 4752 var map=me._map_1.ggMap; 4753 if (!map) return; 4754 var d2r = Math.PI/180 ; 4755 var r2d = 180/Math.PI ; 4756 var fov = me.player.getFov(); 4757 var pan = me.player.getPanNorth(); 4758 var zoom = map.getZoom(); 4759 var gps=me.player.getNodeLatLng(); 4760 var filterpassed = true; 4761 var currentId = me.player.getCurrentNode(); 4762 if (me._map_1.ggFilteredIds.length > 0 && me._map_1.ggFilteredIds.indexOf(currentId) == -1) filterpassed = false; 4763 if ((gps.length>=2) && ((gps[0]!=0) || (gps[1]!=0)) && filterpassed) { 4764 if (zoom<6) zoom = 6; // avoid large radar beams on world map 4765 if ((fov==radar.lastFov) && (pan==radar.lastPan) && (zoom==radar.lastZoom) && (gps[0]==radar.activeNodeLatLng.lat()) && (gps[1]==radar.activeNodeLatLng.lng())) return; 4766 radar.lastPan=pan;radar.lastFov=fov;radar.lastZoom=zoom; 4767 radar.activeNodeLatLng = new google.maps.LatLng(gps[0], gps[1]); 4768 var rLat = 4.0*r2d / Math.pow(2,zoom); // beam size 4769 var rLng = rLat/Math.cos(radar.activeNodeLatLng.lat() * d2r); 4770 var radar_path = []; 4771 radar_path.push(radar.activeNodeLatLng); 4772 var segments=5; 4773 for (i=-segments; i<=segments; i++) { 4774 var angle = (fov / (2*segments)) * i; 4775 var x = -rLng * Math.sin((pan+angle)*d2r) + radar.activeNodeLatLng.lng(); 4776 var y = rLat * Math.cos((pan+angle)*d2r) + radar.activeNodeLatLng.lat(); 4777 radar_path.push(new google.maps.LatLng(y, x)); 4778 } 4779 if (radar.poly) { 4780 radar.poly.setMap(null); 4781 radar.poly = null; 4782 } 4783 radar.poly = new google.maps.Polygon({ 4784 paths: radar_path, 4785 strokeColor: '#ff0000', 4786 strokeOpacity: 0.8, 4787 strokeWeight: 1, 4788 fillColor: '#ff0000', 4789 fillOpacity: 0.35 4790 });
4791 radar.poly.setMap(map); 4792 } else { 4793 if (radar) { 4794 activeNodeLatLng = new google.maps.LatLng(0,0); 4795 if (radar.poly) { 4796 radar.poly.setMap(null); 4797 radar.poly = null; 4798 } 4799 } 4800 } 4801 } 4802 this._map_1.ggMarkerArray=[]; 4803 this._map_1.ggGoogleMarkerArray=[]; 4804 this._map_1.ggInitMap=function() { 4805 me._map_1.ggMapNotLoaded = false; 4806 if ((typeof google !== 'object') || (typeof google.maps !== 'object')) return; 4807 var gps=me.player.getNodeLatLng(); 4808 if ((gps.length>=2) && ((gps[0]!=0) || (gps[1]!=0))) { 4809 activeNodeLatLng = new google.maps.LatLng(gps[0], gps[1]); 4810 } else { 4811 activeNodeLatLng = new google.maps.LatLng(0,0); 4812 } 4813 var mapOptions = { 4814 zoom: 14, 4815 center: activeNodeLatLng, 4816 mapTypeId: google.maps.MapTypeId.HYBRID, 4817 streetViewControl: false 4818 }; 4819 me._map_1.ggMap = new google.maps.Map(me._map_1, mapOptions); 4820 } 4821 this._map_1.ggClearMap=function() { 4822 me._map_1.ggMap = null; 4823 me._map_1.ggClearMapMarkers(); 4824 me._map_1.ggMapNotLoaded = true; 4825 } 4826 this._map_1.ggClearMapMarkers=function() { 4827 for (i = 0; i < me._map_1.ggGoogleMarkerArray.length; i ++) { 4828 me._map_1.ggGoogleMarkerArray[i].setMap(null); 4829 } 4830 me._map_1.ggGoogleMarkerArray=[]; 4831 } 4832 this._map_1.ggInitMapMarkers=function(updateMapBounds) { 4833 me._map_1.ggClearMapMarkers(); 4834 var ids=me.player.getNodeIds(); 4835 me._map_1.ggFilteredIds = []; 4836 if (me._map_1.ggFilter != '') { 4837 var filter = me._map_1.ggFilter.split(','); 4838 for (i=0; i < ids.length; i++) { 4839 var nodeId = ids[i]; 4840 var nodeData = me.player.getNodeUserdata(nodeId); 4841 for (j=0; j < filter.length; j++) { 4842 if (nodeData['tags'].indexOf(filter[j].trim()) != -1) me._map_1.ggFilteredIds.push(nodeId); 4843 } 4844 } 4845 if (me._map_1.ggFilteredIds.length > 0) ids = me._map_1.ggFilteredIds; 4846 } 4847 var marker; 4848 var markerLocation; 4849 var bounds=new google.maps.LatLngBounds(); 4850 for(var i=0;i<ids.length;i++) { 4851 var id=ids[i]; 4852 var gps=me.player.getNodeLatLng(id); 4853 if ((gps.length>=2) && ((gps[0]!=0) || (gps[1]!=0))) { 4854 markerLocation = new google.maps.LatLng(gps[0], gps[1]); 4855 marker = new google.maps.Marker({position: markerLocation,map: me._map_1.ggMap}); 4856 marker.setTitle(me.player.getNodeTitle(id)); 4857 marker.setAnimation(google.maps.Animation.DROP); 4858 marker.setClickable(true); 4859 marker.ggId=id; 4860 google.maps.event.addListener(marker, 'click', function() { 4861 me.player.openNext('{' + this.ggId + '}'); 4862 activeNodeLatLng=me.position; 4863 lastFov=-1; // force radar update 4864 }); 4865 me._map_1.ggGoogleMarkerArray.push(marker); 4866 bounds.extend(markerLocation); 4867 } 4868 } 4869 if (ids.length > 1 && !bounds.isEmpty() && updateMapBounds) { 4870 me._map_1.ggMap.fitBounds(bounds); 4871 } 4872 this.ggLastActivMarker = null; 4873 if (this.ggUpdateConditionNodeChange) this.ggUpdateConditionNodeChange(); 4874 this.ggRadar.lastFov = -1; 4875 } 4876 this.divSkin.ggUpdateSize=function(w,h) { 4877 me.updateSize(me.divSkin); 4878 } 4879 this.divSkin.ggViewerInit=function() { 4880 me._thumbnail_cloner.ggUpdate(me._thumbnail_cloner.ggTags); 4881 me._map_1.ggInitMap(); 4882 me._map_1.ggInitMapMarkers(true); 4883 } 4884 this.divSkin.ggLoaded=function() { 4885 me._loading.style[domTransition]='none'; 4886 me._loading.style.visibility='hidden'; 4887 me._loading.ggVisible=false; 4888 } 4889 this.divSkin.ggReLoaded=function() { 4890 me._loading.style[domTransition]='none'; 4891 me._loading.style.visibility=(Number(me._loading.style.opacity)>0||!me._loading.style.opacity)?'inherit':'hidden'; 4892 me._loading.ggVisible=true; 4893 } 4894 this.divSkin.ggLoadedLevels=function() { 4895 } 4896 this.divSkin.ggReLoadedLevels=function() { 4897 } 4898 this.divSkin.ggEnterFullscreen=function() { 4899 } 4900 this.divSkin.ggExitFullscreen=function() { 4901 } 4902 this.skinTimerEvent(); 4903 }; 4904 this.hotspotProxyClick=function(id) { 4905 } 4906 this.hotspotProxyOver=function(id) { 4907 } 4908 this.hotspotProxyOut=function(id) { 4909 } 4910 this.ggHotspotCallChildFunctions=function(functionname) { 4911 var stack = me.player.getCurrentPointHotspots(); 4912 while (stack.length > 0) { 4913 var e = stack.pop(); 4914 if (typeof e[functionname] == 'function') { 4915 e[functionname](); 4916 } 4917 if(e.hasChildNodes()) { 4918 for(var i=0; i<e.childNodes.length; i++) { 4919 stack.push(e.childNodes[i]); 4920 } 4921 } 4922 } 4923 } 4924 this.changeActiveNode=function(id) { 4925 me.ggUserdata=me.player.userdata; 4926 me._logo_3dshot.ggNodeChange(); 4927 me._steuerung.ggNodeChange(); 4928 me._container_1.ggNodeChange(); 4929 me._bedienungsanleitung.ggNodeChange(); 4930 me._container_2.ggNodeChange(); 4931 me._image_1.ggNodeChange(); 4932 me._rectangle_3.ggNodeChange(); 4933 me._thumbnail_cloner.ggNodeChange(); 4934 me._map_1.ggNodeChange(); 4935 me._container_3.ggNodeChange(); 4936 me._image_21.ggNodeChange(); 4937 } 4938 this.skinTimerEvent=function() { 4939 setTimeout(function() { me.skinTimerEvent(); }, 10); 4940 me.ggCurrentTime=new Date().getTime(); 4941 me._loadingtext.ggUpdateText(); 4942 var hs=''; 4943 if (me._loadingbar.ggParameter) { 4944 hs+=parameterToTransform(me._loadingbar.ggParameter) + ' '; 4945 } 4946 hs+='scale(' + (1 * me.player.getPercentLoaded() + 0) + ',1.0) ';
4947 me._loadingbar.style[domTransform]=hs; 4948 me._title.ggUpdateText(); 4949 me._author.ggUpdateText(); 4950 me._datetime.ggUpdateText(); 4951 me._copyright.ggUpdateText(); 4952 if (me.elementMouseDown['image_2']) { 4953 me.player.changeFovLog(-1,true); 4954 } 4955 if (me.elementMouseDown['image_3']) { 4956 me.player.changeFovLog(1,true); 4957 } 4958 me._image_5.ggUpdateConditionTimer(); 4959 me._image_6.ggUpdateConditionTimer(); 4960 me._thumbnail_cloner.ggClonerCallChildFunctions('ggUpdateConditionTimer'); 4961 me._map_1.ggUpdateConditionTimer(); 4962 if (me.elementMouseDown['zoomin']) { 4963 me.player.changeFovLog(-1,true); 4964 } 4965 if (me.elementMouseDown['zoomout']) { 4966 me.player.changeFovLog(1,true); 4967 } 4968 me.ggHotspotCallChildFunctions('ggUpdateConditionTimer'); 4969 }; 4970 function SkinHotspotClass(skinObj,hotspot) { 4971 var me=this; 4972 var flag=false; 4973 this.player=skinObj.player; 4974 this.skin=skinObj; 4975 this.hotspot=hotspot; 4976 var nodeId=String(hotspot.url); 4977 nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; 4978 this.ggUserdata=this.skin.player.getNodeUserdata(nodeId); 4979 this.elementMouseDown=[]; 4980 this.elementMouseOver=[]; 4981 4982 this.findElements=function(id,regex) { 4983 return me.skin.findElements(id,regex); 4984 } 4985 4986 if (hotspot.skinid=='ht_image') { 4987 this.__div=document.createElement('div'); 4988 this.__div.ggId="ht_image"; 4989 this.__div.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 4990 this.__div.ggVisible=true; 4991 this.__div.className='ggskin ggskin_hotspot '; 4992 this.__div.ggType='hotspot'; 4993 hs =''; 4994 hs+='height : 5px;'; 4995 hs+='left : 350px;'; 4996 hs+='position : absolute;'; 4997 hs+='top : 50px;'; 4998 hs+='visibility : inherit;'; 4999 hs+='width : 5px;'; 5000 hs+='pointer-events:auto;'; 5001 this.__div.setAttribute('style',hs); 5002 this.__div.style[domTransform + 'Origin']='50% 50%'; 5003 me.__div.ggIsActive=function() { 5004 return me.player.getCurrentNode()==this.ggElementNodeId(); 5005 } 5006 me.__div.ggElementNodeId=function() { 5007 return me.hotspot.url.substr(1, me.hotspot.url.length - 2); 5008 } 5009 this.__div.onclick=function (e) { 5010 me.skin._image_popup.style[domTransition]='none'; 5011 me.skin._image_popup.style.visibility=(Number(me.skin._image_popup.style.opacity)>0||!me.skin._image_popup.style.opacity)?'inherit':'hidden'; 5012 me.skin._image_popup.ggVisible=true; 5013 me.skin._popup_image.ggText=me.hotspot.url; 5014 me.skin._popup_image__img.src=me.skin._popup_image.ggText; 5015 me.skin._screentint.style[domTransition]='none'; 5016 me.skin._screentint.style.visibility=(Number(me.skin._screentint.style.opacity)>0||!me.skin._screentint.style.opacity)?'inherit':'hidden'; 5017 me.skin._screentint.ggVisible=true; 5018 me.skin.hotspotProxyClick(me.hotspot.id); 5019 } 5020 this.__div.onmouseover=function (e) { 5021 me.player.setActiveHotspot(me.hotspot); 5022 me.elementMouseOver['_div']=true; 5023 me.skin.hotspotProxyOver(me.hotspot.id); 5024 } 5025 this.__div.onmouseout=function (e) { 5026 me.player.setActiveHotspot(null); 5027 me.elementMouseOver['_div']=false; 5028 me.skin.hotspotProxyOut(me.hotspot.id); 5029 } 5030 this.__div.ontouchend=function (e) { 5031 me.elementMouseOver['_div']=false; 5032 } 5033 this.__div.ggUpdatePosition=function (useTransition) { 5034 } 5035 this._tt_ht_image=document.createElement('div'); 5036 this._tt_ht_image__text=document.createElement('div'); 5037 this._tt_ht_image.className='ggskin ggskin_textdiv'; 5038 this._tt_ht_image.ggTextDiv=this._tt_ht_image__text; 5039 this._tt_ht_image.ggId="tt_ht_image"; 5040 this._tt_ht_image.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 5041 this._tt_ht_image.ggVisible=false; 5042 this._tt_ht_image.className='ggskin ggskin_text '; 5043 this._tt_ht_image.ggType='text'; 5044 hs =''; 5045 hs+='height : 17px;'; 5046 hs+='left : -48px;'; 5047 hs+='position : absolute;'; 5048 hs+='top : 37px;'; 5049 hs+='visibility : hidden;'; 5050 hs+='width : 95px;'; 5051 hs+='pointer-events:auto;'; 5052 this._tt_ht_image.setAttribute('style',hs); 5053 this._tt_ht_image.style[domTransform + 'Origin']='50% 50%'; 5054 hs ='position:absolute;'; 5055 hs+='cursor: default;'; 5056 hs+='left: 0px;'; 5057 hs+='top: 0px;'; 5058 hs+='width: auto;'; 5059 hs+='height: auto;'; 5060 hs+='background: #7f7b7e;'; 5061 hs+='border: 3px solid #1b89c4;'; 5062 hs+='border-radius: 3px;'; 5063 hs+=cssPrefix + 'border-radius: 3px;'; 5064 hs+='color: rgba(255,255,255,1);'; 5065 hs+='text-align: center;'; 5066 hs+='white-space: nowrap;'; 5067 hs+='padding: 0px 1px 0px 1px;'; 5068 hs+='overflow: hidden;'; 5069 this._tt_ht_image__text.setAttribute('style',hs); 5070 this._tt_ht_image__text.innerHTML=" "+me.hotspot.title+" "; 5071 this._tt_ht_image.appendChild(this._tt_ht_image__text); 5072 me._tt_ht_image.ggIsActive=function() { 5073 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 5074 return this.parentNode.ggIsActive(); 5075 } 5076 return false; 5077 } 5078 me._tt_ht_image.ggElementNodeId=function() { 5079 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 5080 return this.parentNode.ggElementNodeId(); 5081 } 5082 return me.ggNodeId; 5083 } 5084 me._tt_ht_image.ggCurrentLogicStateVisible = -1; 5085 this._tt_ht_image.ggUpdateConditionTimer=function () { 5086 var newLogicStateVisible; 5087 if ( 5088 (me.elementMouseOver['_div'] == true) 5089 ) 5090 { 5091 newLogicStateVisible = 0; 5092 } 5093 else { 5094 newLogicStateVisible = -1; 5095 } 5096 if (me._tt_ht_image.ggCurrentLogicStateVisible != newLogicStateVisible) { 5097 me._tt_ht_image.ggCurrentLogicStateVisible = newLogicStateVisible; 5098 me._tt_ht_image.style[domTransition]=''; 5099 if (me._tt_ht_image.ggCurrentLogicStateVisible == 0) { 5100 me._tt_ht_image.style.visibility=(Number(me._tt_ht_image.style.opacity)>0||!me._tt_ht_image.style.opacity)?'inherit':'hidden'; 5101 me._tt_ht_image.ggVisible=true; 5102 } 5103 else { 5104 me._tt_ht_image.style.visibility="hidden"; 5105 me._tt_ht_image.ggVisible=false; 5106 } 5107 } 5108 } 5109 this._tt_ht_image.ggUpdatePosition=function (useTransition) { 5110 this.style[domTransition]='none'; 5111 this.ggTextDiv.style.left=((101-this.ggTextDiv.offsetWidth)/2) + 'px'; 5112 } 5113 this.__div.appendChild(this._tt_ht_image); 5114 this._ht_image_image=document.createElement('div'); 5115 this._ht_image_image__img=document.createElement('img'); 5116 this._ht_image_image__img.className='ggskin ggskin_image'; 5117 this._ht_image_image__img.setAttribute('src',basePath + 'images/ht_image_image.png'); 5118 this._ht_image_image__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 5119 this._ht_image_image__img.className='ggskin ggskin_image'; 5120 this._ht_image_image__img['ondragstart']=function() { return false; }; 5121 me.player.checkLoaded.push(this._ht_image_image__img); 5122 this._ht_image_image.appendChild(this._ht_image_image__img); 5123 this._ht_image_image.ggId="ht_image_image"; 5124 this._ht_image_image.ggParameter={ rx:0,ry:0,a:0,sx:1.5,sy:1.5 }; 5125 this._ht_image_image.ggVisible=true; 5126 this._ht_image_image.className='ggskin ggskin_image '; 5127 this._ht_image_image.ggType='image'; 5128 hs =''; 5129 hs+='height : 59px;'; 5130 hs+='left : -27px;'; 5131 hs+='position : absolute;'; 5132 hs+='top : -31px;'; 5133 hs+='visibility : inherit;'; 5134 hs+='width : 60px;'; 5135 hs+='pointer-events:auto;'; 5136 this._ht_image_image.setAttribute('style',hs); 5137 this._ht_image_image.style[domTransform + 'Origin']='50% 50%'; 5138 this._ht_image_image.style[domTransform]=parameterToTransform(this._ht_image_image.ggParameter); 5139 me._ht_image_image.ggIsActive=function() { 5140 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 5141 return this.parentNode.ggIsActive(); 5142 } 5143 return false; 5144 } 5145 me._ht_image_image.ggElementNodeId=function() { 5146 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 5147 return this.parentNode.ggElementNodeId(); 5148 } 5149 return me.ggNodeId; 5150 } 5151 this._ht_image_image.onmouseover=function (e) { 5152 if (me.player.transitionsDisabled) { 5153 me._ht_image_image.style[domTransition]='none'; 5154 } else { 5155 me._ht_image_image.style[domTransition]='all 500ms ease-out 0ms'; 5156 } 5157 me._ht_image_image.ggParameter.sx=1.55;me._ht_image_image.ggParameter.sy=1.55; 5158 me._ht_image_image.style[domTransform]=parameterToTransform(me._ht_image_image.ggParameter); 5159 } 5160 this._ht_image_image.onmouseout=function (e) { 5161 if (me.player.transitionsDisabled) { 5162 me._ht_image_image.style[domTransition]='none'; 5163 } else { 5164 me._ht_image_image.style[domTransition]='all 500ms ease-out 0ms'; 5165 } 5166 me._ht_image_image.ggParameter.sx=1;me._ht_image_image.ggParameter.sy=1; 5167 me._ht_image_image.style[domTransform]=parameterToTransform(me._ht_image_image.ggParameter); 5168 } 5169 this._ht_image_image.ggUpdatePosition=function (useTransition) { 5170 } 5171 this.__div.appendChild(this._ht_image_image); 5172 this.hotspotTimerEvent=function() { 5173 setTimeout(function() { me.hotspotTimerEvent(); }, 10); 5174 if (me.elementMouseOver['_div']) { 5175 } 5176 me._tt_ht_image.ggUpdateConditionTimer(); 5177 } 5178 this.hotspotTimerEvent(); 5179 } else 5180 if (hotspot.skinid=='ht_node') { 5181 this.__div=document.createElement('div'); 5182 this.__div.ggId="ht_node"; 5183 this.__div.ggLeft=-881; 5184 this.__div.ggTop=-515; 5185 this.__div.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 5186 this.__div.ggVisible=true; 5187 this.__div.className='ggskin ggskin_hotspot '; 5188 this.__div.ggType='hotspot'; 5189 hs =''; 5190 hs+='cursor : pointer;'; 5191 hs+='height : 5px;'; 5192 hs+='left : -881px;'; 5193 hs+='position : absolute;'; 5194 hs+='top : -515px;'; 5195 hs+='visibility : inherit;'; 5196 hs+='width : 5px;'; 5197 hs+='pointer-events:auto;'; 5198 this.__div.setAttribute('style',hs); 5199 this.__div.style[domTransform + 'Origin']='50% 50%'; 5200 me.__div.ggIsActive=function() { 5201 return me.player.getCurrentNode()==this.ggElementNodeId(); 5202 } 5203 me.__div.ggElementNodeId=function() {
5204 return me.hotspot.url.substr(1, me.hotspot.url.length - 2); 5205 } 5206 this.__div.onclick=function (e) { 5207 me.player.openUrl(me.hotspot.url,me.hotspot.target); 5208 me.skin.hotspotProxyClick(me.hotspot.id); 5209 } 5210 this.__div.onmouseover=function (e) { 5211 me.player.setActiveHotspot(me.hotspot); 5212 me.elementMouseOver['_div']=true; 5213 me.skin.hotspotProxyOver(me.hotspot.id); 5214 } 5215 this.__div.onmouseout=function (e) { 5216 me.player.setActiveHotspot(null); 5217 me.elementMouseOver['_div']=false; 5218 me.skin.hotspotProxyOut(me.hotspot.id); 5219 } 5220 this.__div.ontouchend=function (e) { 5221 me.elementMouseOver['_div']=false; 5222 } 5223 me.__div.ggCurrentLogicStateScaling = -1; 5224 this.__div.ggUpdateConditionNodeChange=function () { 5225 var newLogicStateScaling; 5226 if ( 5227 (me.player.getIsMobile() == true) 5228 ) 5229 { 5230 newLogicStateScaling = 0; 5231 } 5232 else { 5233 newLogicStateScaling = -1; 5234 } 5235 if (me.__div.ggCurrentLogicStateScaling != newLogicStateScaling) { 5236 me.__div.ggCurrentLogicStateScaling = newLogicStateScaling; 5237 me.__div.style[domTransition]='' + cssPrefix + 'transform none'; 5238 if (me.__div.ggCurrentLogicStateScaling == 0) { 5239 me.__div.ggParameter.sx = 0.7; 5240 me.__div.ggParameter.sy = 0.7; 5241 me.__div.style[domTransform]=parameterToTransform(me.__div.ggParameter); 5242 } 5243 else { 5244 me.__div.ggParameter.sx = 1; 5245 me.__div.ggParameter.sy = 1; 5246 me.__div.style[domTransform]=parameterToTransform(me.__div.ggParameter); 5247 } 5248 } 5249 } 5250 this.__div.ggUpdatePosition=function (useTransition) { 5251 if (useTransition==='undefined') { 5252 useTransition = false; 5253 } 5254 if (!useTransition) { 5255 this.style[domTransition]='none'; 5256 } 5257 if (this.parentNode) { 5258 var w=this.parentNode.offsetWidth; 5259 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 5260 var h=this.parentNode.offsetHeight; 5261 this.style.top=(this.ggTop - 0 + h/2) + 'px'; 5262 } 5263 } 5264 this.__div.ggNodeChange=function () { 5265 me.__div.ggUpdateConditionNodeChange(); 5266 } 5267 this._hotspot_preview=document.createElement('div'); 5268 this._hotspot_preview.ggId="hotspot_preview"; 5269 this._hotspot_preview.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 5270 this._hotspot_preview.ggVisible=false; 5271 this._hotspot_preview.className='ggskin ggskin_container '; 5272 this._hotspot_preview.ggType='container'; 5273 hs =''; 5274 hs+='height : 100px;'; 5275 hs+='left : -77px;'; 5276 hs+='position : absolute;'; 5277 hs+='top : -33px;'; 5278 hs+='visibility : hidden;'; 5279 hs+='width : 150px;'; 5280 hs+='pointer-events:none;'; 5281 this._hotspot_preview.setAttribute('style',hs); 5282 this._hotspot_preview.style[domTransform + 'Origin']='50% 50%'; 5283 me._hotspot_preview.ggIsActive=function() { 5284 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 5285 return this.parentNode.ggIsActive(); 5286 } 5287 return false; 5288 } 5289 me._hotspot_preview.ggElementNodeId=function() { 5290 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 5291 return this.parentNode.ggElementNodeId(); 5292 } 5293 return me.ggNodeId; 5294 } 5295 me._hotspot_preview.ggCurrentLogicStateVisible = -1; 5296 this._hotspot_preview.ggUpdateConditionTimer=function () { 5297 var newLogicStateVisible; 5298 if ( 5299 (me.elementMouseOver['_div'] == true) 5300 ) 5301 { 5302 newLogicStateVisible = 0; 5303 } 5304 else { 5305 newLogicStateVisible = -1; 5306 } 5307 if (me._hotspot_preview.ggCurrentLogicStateVisible != newLogicStateVisible) { 5308 me._hotspot_preview.ggCurrentLogicStateVisible = newLogicStateVisible; 5309 me._hotspot_preview.style[domTransition]=''; 5310 if (me._hotspot_preview.ggCurrentLogicStateVisible == 0) { 5311 me._hotspot_preview.style.visibility=(Number(me._hotspot_preview.style.opacity)>0||!me._hotspot_preview.style.opacity)?'inherit':'hidden'; 5312 me._hotspot_preview.ggVisible=true; 5313 } 5314 else { 5315 me._hotspot_preview.style.visibility="hidden"; 5316 me._hotspot_preview.ggVisible=false; 5317 } 5318 } 5319 } 5320 this._hotspot_preview.ggUpdatePosition=function (useTransition) { 5321 } 5322 this._preview_picture_frame_=document.createElement('div'); 5323 this._preview_picture_frame_.ggId="preview_picture_frame "; 5324 this._preview_picture_frame_.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 5325 this._preview_picture_frame_.ggVisible=true; 5326 this._preview_picture_frame_.className='ggskin ggskin_rectangle '; 5327 this._preview_picture_frame_.ggType='rectangle'; 5328 hs =''; 5329 hs+=cssPrefix + 'border-radius : 5px;'; 5330 hs+='border-radius : 5px;'; 5331 hs+='background : #7f7f7f;'; 5332 hs+='border : 0px solid #ffffff;'; 5333 hs+='cursor : default;'; 5334 hs+='height : 100px;'; 5335 hs+='left : 0px;'; 5336 hs+='position : absolute;'; 5337 hs+='top : 0px;'; 5338 hs+='visibility : inherit;'; 5339 hs+='width : 150px;'; 5340 hs+='pointer-events:auto;'; 5341 this._preview_picture_frame_.setAttribute('style',hs); 5342 this._preview_picture_frame_.style[domTransform + 'Origin']='50% 50%'; 5343 me._preview_picture_frame_.ggIsActive=function() { 5344 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 5345 return this.parentNode.ggIsActive(); 5346 } 5347 return false; 5348 } 5349 me._preview_picture_frame_.ggElementNodeId=function() { 5350 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 5351 return this.parentNode.ggElementNodeId(); 5352 } 5353 return me.ggNodeId; 5354 } 5355 this._preview_picture_frame_.ggUpdatePosition=function (useTransition) { 5356 } 5357 this._hotspot_preview.appendChild(this._preview_picture_frame_); 5358 this._preview_nodeimage=document.createElement('div'); 5359 this._preview_nodeimage__img=document.createElement('img'); 5360 this._preview_nodeimage__img.className='ggskin ggskin_nodeimage'; 5361 this._preview_nodeimage__img.setAttribute('src',basePath + "images/preview_nodeimage_" + nodeId + ".png"); 5362 this._preview_nodeimage.ggNodeId=nodeId; 5363 this._preview_nodeimage__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 5364 this._preview_nodeimage__img.className='ggskin ggskin_nodeimage'; 5365 this._preview_nodeimage__img['ondragstart']=function() { return false; }; 5366 this._preview_nodeimage.appendChild(this._preview_nodeimage__img); 5367 this._preview_nodeimage.ggId="Preview NodeImage"; 5368 this._preview_nodeimage.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 5369 this._preview_nodeimage.ggVisible=true; 5370 this._preview_nodeimage.className='ggskin ggskin_nodeimage '; 5371 this._preview_nodeimage.ggType='nodeimage'; 5372 hs =''; 5373 hs+='height : 90px;'; 5374 hs+='left : 5px;'; 5375 hs+='position : absolute;'; 5376 hs+='top : 5px;'; 5377 hs+='visibility : inherit;'; 5378 hs+='width : 140px;'; 5379 hs+='pointer-events:auto;'; 5380 this._preview_nodeimage.setAttribute('style',hs); 5381 this._preview_nodeimage.style[domTransform + 'Origin']='50% 50%'; 5382 me._preview_nodeimage.ggIsActive=function() { 5383 return me.player.getCurrentNode()==this.ggElementNodeId(); 5384 } 5385 me._preview_nodeimage.ggElementNodeId=function() { 5386 return this.ggNodeId; 5387 } 5388 this._preview_nodeimage.ggUpdatePosition=function (useTransition) { 5389 } 5390 this._hotspot_preview.appendChild(this._preview_nodeimage); 5391 this._tooltip=document.createElement('div'); 5392 this._tooltip__text=document.createElement('div'); 5393 this._tooltip.className='ggskin ggskin_textdiv'; 5394 this._tooltip.ggTextDiv=this._tooltip__text; 5395 this._tooltip.ggId="tooltip"; 5396 this._tooltip.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 5397 this._tooltip.ggVisible=true; 5398 this._tooltip.className='ggskin ggskin_text '; 5399 this._tooltip.ggType='text'; 5400 hs =''; 5401 hs+='height : 20px;'; 5402 hs+='left : 3px;'; 5403 hs+='position : absolute;'; 5404 hs+='top : 76px;'; 5405 hs+='visibility : inherit;'; 5406 hs+='width : 140px;'; 5407 hs+='pointer-events:auto;'; 5408 this._tooltip.setAttribute('style',hs); 5409 this._tooltip.style[domTransform + 'Origin']='50% 50%'; 5410 hs ='position:absolute;'; 5411 hs+='cursor: default;'; 5412 hs+='left: 0px;'; 5413 hs+='top: 0px;'; 5414 hs+='width: 140px;'; 5415 hs+='height: 20px;'; 5416 hs+='background: #7f7f7f;'; 5417 hs+='border: 0px solid #1d85c4;'; 5418 hs+='border-radius: 2px;'; 5419 hs+=cssPrefix + 'border-radius: 2px;'; 5420 hs+='color: rgba(255,255,255,1);'; 5421 hs+='text-align: center;'; 5422 hs+='white-space: nowrap;'; 5423 hs+='padding: 0px 1px 0px 1px;'; 5424 hs+='overflow: hidden;'; 5425 this._tooltip__text.setAttribute('style',hs); 5426 this._tooltip__text.innerHTML=me.hotspot.title; 5427 this._tooltip.appendChild(this._tooltip__text); 5428 me._tooltip.ggIsActive=function() { 5429 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 5430 return this.parentNode.ggIsActive(); 5431 } 5432 return false; 5433 } 5434 me._tooltip.ggElementNodeId=function() { 5435 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 5436 return this.parentNode.ggElementNodeId(); 5437 } 5438 return me.ggNodeId; 5439 } 5440 this._tooltip.ggUpdatePosition=function (useTransition) { 5441 } 5442 this._hotspot_preview.appendChild(this._tooltip); 5443 this._checkmark_tick0=document.createElement('div'); 5444 this._checkmark_tick0__img=document.createElement('img'); 5445 this._checkmark_tick0__img.className='ggskin ggskin_svg'; 5446 this._checkmark_tick0__img.setAttribute('src',basePath + 'images/checkmark_tick0.svg'); 5447 this._checkmark_tick0__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 5448 this._checkmark_tick0__img['ondragstart']=function() { return false; }; 5449 this._checkmark_tick0.appendChild(this._checkmark_tick0__img); 5450 this._checkmark_tick0.ggId="checkmark_tick"; 5451 this._checkmark_tick0.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 5452 this._checkmark_tick0.ggVisible=false; 5453 this._checkmark_tick0.className='ggskin ggskin_svg '; 5454 this._checkmark_tick0.ggType='svg'; 5455 hs =''; 5456 hs+='height : 20px;'; 5457 hs+='left : 123px;'; 5458 hs+='position : absolute;'; 5459 hs+='top : 7px;'; 5460 hs+='visibility : hidden;'; 5461 hs+='width : 20px;'; 5462 hs+='pointer-events:auto;'; 5463 this._checkmark_tick0.setAttribute('style',hs); 5464 this._checkmark_tick0.style[domTransform + 'Origin']='50% 50%'; 5465 me._checkmark_tick0.ggIsActive=function() { 5466 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 5467 return this.parentNode.ggIsActive(); 5468 } 5469 return false; 5470 } 5471 me._checkmark_tick0.ggElementNodeId=function() { 5472 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 5473 return this.parentNode.ggElementNodeId(); 5474 } 5475 return me.ggNodeId; 5476 } 5477 me._checkmark_tick0.ggCurrentLogicStateVisible = -1; 5478 this._checkmark_tick0.ggUpdateConditionTimer=function () { 5479 var newLogicStateVisible; 5480 if ( 5481 (me.player.nodeVisited(me._checkmark_tick0.ggElementNodeId()) == true) || 5482 (me._checkmark_tick0.ggIsActive() == true) 5483 ) 5484 { 5485 newLogicStateVisible = 0; 5486 } 5487 else { 5488 newLogicStateVisible = -1; 5489 } 5490 if (me._checkmark_tick0.ggCurrentLogicStateVisible != newLogicStateVisible) { 5491 me._checkmark_tick0.ggCurrentLogicStateVisible = newLogicStateVisible; 5492 me._checkmark_tick0.style[domTransition]=''; 5493 if (me._checkmark_tick0.ggCurrentLogicStateVisible == 0) { 5494 me._checkmark_tick0.style.visibility=(Number(me._checkmark_tick0.style.opacity)>0||!me._checkmark_tick0.style.opacity)?'inherit':'hidden'; 5495 me._checkmark_tick0.ggVisible=true; 5496 } 5497 else { 5498 me._checkmark_tick0.style.visibility="hidden"; 5499 me._checkmark_tick0.ggVisible=false; 5500 } 5501 } 5502 } 5503 this._checkmark_tick0.ggUpdatePosition=function (useTransition) { 5504 } 5505 this._hotspot_preview.appendChild(this._checkmark_tick0); 5506 this.__div.appendChild(this._hotspot_preview); 5507 this._ht_node_image=document.createElement('div'); 5508 this._ht_node_image__img=document.createElement('img'); 5509 this._ht_node_image__img.className='ggskin ggskin_image'; 5510 this._ht_node_image__img.setAttribute('src',basePath + 'images/ht_node_image.png'); 5511 this._ht_node_image__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 5512 this._ht_node_image__img.className='ggskin ggskin_image'; 5513 this._ht_node_image__img['ondragstart']=function() { return false; }; 5514 me.player.checkLoaded.push(this._ht_node_image__img); 5515 this._ht_node_image.appendChild(this._ht_node_image__img); 5516 this._ht_node_image.ggId="ht_node_image"; 5517 this._ht_node_image.ggLeft=-65; 5518 this._ht_node_image.ggTop=62; 5519 this._ht_node_image.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 5520 this._ht_node_image.ggVisible=true; 5521 this._ht_node_image.className='ggskin ggskin_image '; 5522 this._ht_node_image.ggType='image'; 5523 hs =''; 5524 hs+='cursor : pointer;'; 5525 hs+='height : 89px;'; 5526 hs+='left : -65px;'; 5527 hs+='position : absolute;'; 5528 hs+='top : 62px;'; 5529 hs+='visibility : inherit;'; 5530 hs+='width : 125px;'; 5531 hs+='pointer-events:auto;'; 5532 this._ht_node_image.setAttribute('style',hs); 5533 this._ht_node_image.style[domTransform + 'Origin']='50% 50%'; 5534 me._ht_node_image.ggIsActive=function() { 5535 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 5536 return this.parentNode.ggIsActive(); 5537 } 5538 return false; 5539 } 5540 me._ht_node_image.ggElementNodeId=function() { 5541 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 5542 return this.parentNode.ggElementNodeId(); 5543 } 5544 return me.ggNodeId; 5545 } 5546 this._ht_node_image.onmouseover=function (e) { 5547 if (me.player.transitionsDisabled) { 5548 me._ht_node_image.style[domTransition]='none'; 5549 } else { 5550 me._ht_node_image.style[domTransition]='all 1000ms ease-out 0ms'; 5551 } 5552 me._ht_node_image.ggParameter.a="360.0000"; 5553 me._ht_node_image.style[domTransform]=parameterToTransform(me._ht_node_image.ggParameter); 5554 } 5555 this._ht_node_image.onmouseout=function (e) { 5556 var flag=me._ht_node_image.ggAngleActive; 5557 if (me.player.transitionsDisabled) { 5558 me._ht_node_image.style[domTransition]='none'; 5559 } else { 5560 me._ht_node_image.style[domTransition]='all 1000ms ease-out 0ms'; 5561 } 5562 if (flag) { 5563 me._ht_node_image.ggParameter.a=0; 5564 me._ht_node_image.style[domTransform]=parameterToTransform(me._ht_node_image.ggParameter); 5565 } else { 5566 me._ht_node_image.ggParameter.a="0.0000"; 5567 me._ht_node_image.style[domTransform]=parameterToTransform(me._ht_node_image.ggParameter); 5568 } 5569 me._ht_node_image.ggAngleActive=!flag; 5570 } 5571 this._ht_node_image.ggUpdatePosition=function (useTransition) { 5572 if (useTransition==='undefined') { 5573 useTransition = false; 5574 } 5575 if (!useTransition) { 5576 this.style[domTransition]='none'; 5577 } 5578 if (this.parentNode) { 5579 var w=this.parentNode.offsetWidth; 5580 this.style.left=(this.ggLeft - 0 + w/2) + 'px'; 5581 var h=this.parentNode.offsetHeight; 5582 this.style.top=(this.ggTop - 0 + h/2) + 'px'; 5583 } 5584 } 5585 this.__div.appendChild(this._ht_node_image); 5586 this.hotspotTimerEvent=function() { 5587 setTimeout(function() { me.hotspotTimerEvent(); }, 10); 5588 if (me.elementMouseOver['_div']) { 5589 } 5590 me._hotspot_preview.ggUpdateConditionTimer(); 5591 me._checkmark_tick0.ggUpdateConditionTimer(); 5592 } 5593 this.hotspotTimerEvent(); 5594 } else 5595 if (hotspot.skinid=='ht_url') { 5596 this.__div=document.createElement('div'); 5597 this.__div.ggId="ht_url"; 5598 this.__div.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 5599 this.__div.ggVisible=true; 5600 this.__div.className='ggskin ggskin_hotspot '; 5601 this.__div.ggType='hotspot'; 5602 hs =''; 5603 hs+='height : 5px;'; 5604 hs+='left : 250px;'; 5605 hs+='position : absolute;'; 5606 hs+='top : 50px;'; 5607 hs+='visibility : inherit;'; 5608 hs+='width : 5px;'; 5609 hs+='pointer-events:auto;'; 5610 this.__div.setAttribute('style',hs); 5611 this.__div.style[domTransform + 'Origin']='50% 50%'; 5612 me.__div.ggIsActive=function() { 5613 return me.player.getCurrentNode()==this.ggElementNodeId(); 5614 } 5615 me.__div.ggElementNodeId=function() {
5616 return me.hotspot.url.substr(1, me.hotspot.url.length - 2); 5617 } 5618 this.__div.onclick=function (e) { 5619 me.player.openUrl(me.hotspot.url,me.hotspot.target); 5620 me.skin.hotspotProxyClick(me.hotspot.id); 5621 } 5622 this.__div.onmouseover=function (e) { 5623 me.player.setActiveHotspot(me.hotspot); 5624 me.elementMouseOver['_div']=true; 5625 me.skin.hotspotProxyOver(me.hotspot.id); 5626 } 5627 this.__div.onmouseout=function (e) { 5628 me.player.setActiveHotspot(null); 5629 me.elementMouseOver['_div']=false; 5630 me.skin.hotspotProxyOut(me.hotspot.id); 5631 } 5632 this.__div.ontouchend=function (e) { 5633 me.elementMouseOver['_div']=false; 5634 } 5635 this.__div.ggUpdatePosition=function (useTransition) { 5636 } 5637 this._tt_ht_url=document.createElement('div'); 5638 this._tt_ht_url__text=document.createElement('div'); 5639 this._tt_ht_url.className='ggskin ggskin_textdiv'; 5640 this._tt_ht_url.ggTextDiv=this._tt_ht_url__text; 5641 this._tt_ht_url.ggId="tt_ht_url"; 5642 this._tt_ht_url.ggParameter={ rx:0,ry:0,a:0,sx:0.8,sy:0.8 }; 5643 this._tt_ht_url.ggVisible=false; 5644 this._tt_ht_url.className='ggskin ggskin_text '; 5645 this._tt_ht_url.ggType='text'; 5646 hs =''; 5647 hs+='height : 27px;'; 5648 hs+='left : -79px;'; 5649 hs+='position : absolute;'; 5650 hs+='top : 4px;'; 5651 hs+='visibility : hidden;'; 5652 hs+='width : 126px;'; 5653 hs+='pointer-events:auto;'; 5654 this._tt_ht_url.setAttribute('style',hs); 5655 this._tt_ht_url.style[domTransform + 'Origin']='50% 50%'; 5656 this._tt_ht_url.style[domTransform]=parameterToTransform(this._tt_ht_url.ggParameter); 5657 hs ='position:absolute;'; 5658 hs+='cursor: default;'; 5659 hs+='left: 0px;'; 5660 hs+='top: 0px;'; 5661 hs+='width: auto;'; 5662 hs+='height: auto;'; 5663 hs+='background: #f78f8f;'; 5664 hs+='border: 5px solid #f2faff;'; 5665 hs+='border-radius: 4px;'; 5666 hs+=cssPrefix + 'border-radius: 4px;'; 5667 hs+='color: rgba(0,0,0,1);'; 5668 hs+='text-align: center;'; 5669 hs+='white-space: nowrap;'; 5670 hs+='padding: 1px 2px 1px 2px;'; 5671 hs+='overflow: hidden;'; 5672 this._tt_ht_url__text.setAttribute('style',hs); 5673 this._tt_ht_url__text.innerHTML=" "+me.hotspot.title+" "; 5674 this._tt_ht_url.appendChild(this._tt_ht_url__text); 5675 me._tt_ht_url.ggIsActive=function() { 5676 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 5677 return this.parentNode.ggIsActive(); 5678 } 5679 return false; 5680 } 5681 me._tt_ht_url.ggElementNodeId=function() { 5682 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 5683 return this.parentNode.ggElementNodeId(); 5684 } 5685 return me.ggNodeId; 5686 } 5687 me._tt_ht_url.ggCurrentLogicStateVisible = -1; 5688 this._tt_ht_url.ggUpdateConditionTimer=function () { 5689 var newLogicStateVisible; 5690 if ( 5691 (me.elementMouseOver['_div'] == true) 5692 ) 5693 { 5694 newLogicStateVisible = 0; 5695 } 5696 else { 5697 newLogicStateVisible = -1; 5698 } 5699 if (me._tt_ht_url.ggCurrentLogicStateVisible != newLogicStateVisible) { 5700 me._tt_ht_url.ggCurrentLogicStateVisible = newLogicStateVisible; 5701 me._tt_ht_url.style[domTransition]=''; 5702 if (me._tt_ht_url.ggCurrentLogicStateVisible == 0) { 5703 me._tt_ht_url.style.visibility=(Number(me._tt_ht_url.style.opacity)>0||!me._tt_ht_url.style.opacity)?'inherit':'hidden'; 5704 me._tt_ht_url.ggVisible=true; 5705 } 5706 else { 5707 me._tt_ht_url.style.visibility="hidden"; 5708 me._tt_ht_url.ggVisible=false; 5709 } 5710 } 5711 } 5712 this._tt_ht_url.ggUpdatePosition=function (useTransition) { 5713 this.style[domTransition]='none'; 5714 this.ggTextDiv.style.left=((138-this.ggTextDiv.offsetWidth)/2) + 'px'; 5715 } 5716 this.__div.appendChild(this._tt_ht_url); 5717 this._ht_url_image=document.createElement('div'); 5718 this._ht_url_image__img=document.createElement('img'); 5719 this._ht_url_image__img.className='ggskin ggskin_image'; 5720 this._ht_url_image__img.setAttribute('src',basePath + 'images/ht_url_image.png'); 5721 this._ht_url_image__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 5722 this._ht_url_image__img.className='ggskin ggskin_image'; 5723 this._ht_url_image__img['ondragstart']=function() { return false; }; 5724 me.player.checkLoaded.push(this._ht_url_image__img); 5725 this._ht_url_image.appendChild(this._ht_url_image__img); 5726 this._ht_url_image.ggId="ht_url_image"; 5727 this._ht_url_image.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 5728 this._ht_url_image.ggVisible=true; 5729 this._ht_url_image.className='ggskin ggskin_image '; 5730 this._ht_url_image.ggType='image'; 5731 hs =''; 5732 hs+='height : 35px;'; 5733 hs+='left : -28px;'; 5734 hs+='position : absolute;'; 5735 hs+='top : -36px;'; 5736 hs+='visibility : inherit;'; 5737 hs+='width : 35px;'; 5738 hs+='pointer-events:auto;'; 5739 this._ht_url_image.setAttribute('style',hs); 5740 this._ht_url_image.style[domTransform + 'Origin']='50% 50%'; 5741 me._ht_url_image.ggIsActive=function() { 5742 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 5743 return this.parentNode.ggIsActive(); 5744 } 5745 return false; 5746 } 5747 me._ht_url_image.ggElementNodeId=function() { 5748 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 5749 return this.parentNode.ggElementNodeId(); 5750 } 5751 return me.ggNodeId; 5752 } 5753 this._ht_url_image.onmouseover=function (e) { 5754 if (me.player.transitionsDisabled) { 5755 me._ht_url_image.style[domTransition]='none'; 5756 } else { 5757 me._ht_url_image.style[domTransition]='all 500ms ease-out 0ms'; 5758 } 5759 me._ht_url_image.ggParameter.sx=1.6;me._ht_url_image.ggParameter.sy=1.6; 5760 me._ht_url_image.style[domTransform]=parameterToTransform(me._ht_url_image.ggParameter); 5761 } 5762 this._ht_url_image.onmouseout=function (e) { 5763 if (me.player.transitionsDisabled) { 5764 me._ht_url_image.style[domTransition]='none'; 5765 } else { 5766 me._ht_url_image.style[domTransition]='all 500ms ease-out 0ms'; 5767 } 5768 me._ht_url_image.ggParameter.sx=1;me._ht_url_image.ggParameter.sy=1; 5769 me._ht_url_image.style[domTransform]=parameterToTransform(me._ht_url_image.ggParameter); 5770 } 5771 this._ht_url_image.ggUpdatePosition=function (useTransition) { 5772 } 5773 this.__div.appendChild(this._ht_url_image); 5774 this.hotspotTimerEvent=function() { 5775 setTimeout(function() { me.hotspotTimerEvent(); }, 10); 5776 if (me.elementMouseOver['_div']) { 5777 } 5778 me._tt_ht_url.ggUpdateConditionTimer(); 5779 } 5780 this.hotspotTimerEvent(); 5781 } else 5782 { 5783 this.__div=document.createElement('div'); 5784 this.__div.ggId="ht_info"; 5785 this.__div.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 5786 this.__div.ggVisible=true; 5787 this.__div.className='ggskin ggskin_hotspot '; 5788 this.__div.ggType='hotspot'; 5789 hs =''; 5790 hs+='cursor : pointer;'; 5791 hs+='height : 5px;'; 5792 hs+='left : 459px;'; 5793 hs+='position : absolute;'; 5794 hs+='top : 51px;'; 5795 hs+='visibility : inherit;'; 5796 hs+='width : 5px;'; 5797 hs+='pointer-events:auto;'; 5798 this.__div.setAttribute('style',hs); 5799 this.__div.style[domTransform + 'Origin']='50% 50%'; 5800 me.__div.ggIsActive=function() { 5801 return me.player.getCurrentNode()==this.ggElementNodeId(); 5802 } 5803 me.__div.ggElementNodeId=function() {
5804 return me.hotspot.url.substr(1, me.hotspot.url.length - 2); 5805 } 5806 this.__div.onclick=function (e) { 5807 me.skin._information.ggVisible = !me.skin._information.ggVisible; 5808 var flag=me.skin._information.ggVisible; 5809 me.skin._information.style[domTransition]='none'; 5810 me.skin._information.style.visibility=((flag)&&(Number(me.skin._information.style.opacity)>0||!me.skin._information.style.opacity))?'inherit':'hidden'; 5811 me.skin._info_title.ggText="<b>"+me.hotspot.title+"<\/b>"; 5812 me.skin._info_title.ggTextDiv.innerHTML=me.skin._info_title.ggText; 5813 if (me.skin._info_title.ggUpdateText) { 5814 me.skin._info_title.ggUpdateText=function() { 5815 var hs="<b>"+me.hotspot.title+"<\/b>"; 5816 if (hs!=this.ggText) { 5817 this.ggText=hs; 5818 this.ggTextDiv.innerHTML=hs; 5819 if (this.ggUpdatePosition) this.ggUpdatePosition(); 5820 } 5821 } 5822 } 5823 if (me.skin._info_title.ggUpdatePosition) { 5824 me.skin._info_title.ggUpdatePosition(); 5825 } 5826 me.skin._info_title.ggTextDiv.scrollTop = 0; 5827 me.skin._info_text_body.ggText=me.hotspot.description; 5828 me.skin._info_text_body.ggTextDiv.innerHTML=me.skin._info_text_body.ggText; 5829 if (me.skin._info_text_body.ggUpdateText) { 5830 me.skin._info_text_body.ggUpdateText=function() { 5831 var hs=me.hotspot.description; 5832 if (hs!=this.ggText) { 5833 this.ggText=hs; 5834 this.ggTextDiv.innerHTML=hs; 5835 if (this.ggUpdatePosition) this.ggUpdatePosition(); 5836 } 5837 } 5838 } 5839 if (me.skin._info_text_body.ggUpdatePosition) { 5840 me.skin._info_text_body.ggUpdatePosition(); 5841 } 5842 me.skin._info_text_body.ggTextDiv.scrollTop = 0; 5843 me.skin.hotspotProxyClick(me.hotspot.id); 5844 } 5845 this.__div.onmouseover=function (e) { 5846 me.player.setActiveHotspot(me.hotspot); 5847 me.elementMouseOver['_div']=true; 5848 me.skin.hotspotProxyOver(me.hotspot.id); 5849 } 5850 this.__div.onmouseout=function (e) { 5851 me.player.setActiveHotspot(null); 5852 me.elementMouseOver['_div']=false; 5853 me.skin.hotspotProxyOut(me.hotspot.id); 5854 } 5855 this.__div.ontouchend=function (e) { 5856 me.elementMouseOver['_div']=false; 5857 } 5858 this.__div.ggUpdatePosition=function (useTransition) { 5859 } 5860 this._tt_information=document.createElement('div'); 5861 this._tt_information__text=document.createElement('div'); 5862 this._tt_information.className='ggskin ggskin_textdiv'; 5863 this._tt_information.ggTextDiv=this._tt_information__text; 5864 this._tt_information.ggId="tt_information"; 5865 this._tt_information.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 5866 this._tt_information.ggVisible=false; 5867 this._tt_information.className='ggskin ggskin_text '; 5868 this._tt_information.ggType='text'; 5869 hs =''; 5870 hs+='height : 20px;'; 5871 hs+='left : -47px;'; 5872 hs+='position : absolute;'; 5873 hs+='top : 37px;'; 5874 hs+='visibility : hidden;'; 5875 hs+='width : 98px;'; 5876 hs+='pointer-events:auto;'; 5877 this._tt_information.setAttribute('style',hs); 5878 this._tt_information.style[domTransform + 'Origin']='50% 50%'; 5879 hs ='position:absolute;'; 5880 hs+='cursor: default;'; 5881 hs+='left: 0px;'; 5882 hs+='top: 0px;'; 5883 hs+='width: auto;'; 5884 hs+='height: auto;'; 5885 hs+='background: #276fb5;'; 5886 hs+='background: rgba(39,111,181,0.666667);'; 5887 hs+='border: 0px solid #000000;'; 5888 hs+='color: rgba(255,255,255,1);'; 5889 hs+='text-align: center;'; 5890 hs+='white-space: nowrap;'; 5891 hs+='padding: 0px 1px 0px 1px;'; 5892 hs+='overflow: hidden;'; 5893 this._tt_information__text.setAttribute('style',hs); 5894 this._tt_information__text.innerHTML=" "+me.hotspot.title+" "; 5895 this._tt_information.appendChild(this._tt_information__text); 5896 me._tt_information.ggIsActive=function() { 5897 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 5898 return this.parentNode.ggIsActive(); 5899 } 5900 return false; 5901 } 5902 me._tt_information.ggElementNodeId=function() { 5903 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 5904 return this.parentNode.ggElementNodeId(); 5905 } 5906 return me.ggNodeId; 5907 } 5908 me._tt_information.ggCurrentLogicStateVisible = -1; 5909 this._tt_information.ggUpdateConditionTimer=function () { 5910 var newLogicStateVisible; 5911 if ( 5912 (me.elementMouseOver['_div'] == true) 5913 ) 5914 { 5915 newLogicStateVisible = 0; 5916 } 5917 else { 5918 newLogicStateVisible = -1; 5919 } 5920 if (me._tt_information.ggCurrentLogicStateVisible != newLogicStateVisible) { 5921 me._tt_information.ggCurrentLogicStateVisible = newLogicStateVisible; 5922 me._tt_information.style[domTransition]=''; 5923 if (me._tt_information.ggCurrentLogicStateVisible == 0) { 5924 me._tt_information.style.visibility=(Number(me._tt_information.style.opacity)>0||!me._tt_information.style.opacity)?'inherit':'hidden'; 5925 me._tt_information.ggVisible=true; 5926 } 5927 else { 5928 me._tt_information.style.visibility="hidden"; 5929 me._tt_information.ggVisible=false; 5930 } 5931 } 5932 } 5933 this._tt_information.ggUpdatePosition=function (useTransition) { 5934 this.style[domTransition]='none'; 5935 this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px'; 5936 } 5937 this.__div.appendChild(this._tt_information); 5938 this._ht_info_image=document.createElement('div'); 5939 this._ht_info_image__img=document.createElement('img'); 5940 this._ht_info_image__img.className='ggskin ggskin_image'; 5941 this._ht_info_image__img.setAttribute('src',basePath + 'images/ht_info_image.png'); 5942 this._ht_info_image__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 5943 this._ht_info_image__img.className='ggskin ggskin_image'; 5944 this._ht_info_image__img['ondragstart']=function() { return false; }; 5945 me.player.checkLoaded.push(this._ht_info_image__img); 5946 this._ht_info_image.appendChild(this._ht_info_image__img); 5947 this._ht_info_image.ggId="ht_info_image"; 5948 this._ht_info_image.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 5949 this._ht_info_image.ggVisible=true; 5950 this._ht_info_image.className='ggskin ggskin_image '; 5951 this._ht_info_image.ggType='image'; 5952 hs =''; 5953 hs+='height : 51px;'; 5954 hs+='left : -24px;'; 5955 hs+='position : absolute;'; 5956 hs+='top : -34px;'; 5957 hs+='visibility : inherit;'; 5958 hs+='width : 51px;'; 5959 hs+='pointer-events:auto;'; 5960 this._ht_info_image.setAttribute('style',hs); 5961 this._ht_info_image.style[domTransform + 'Origin']='50% 50%'; 5962 me._ht_info_image.ggIsActive=function() { 5963 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 5964 return this.parentNode.ggIsActive(); 5965 } 5966 return false; 5967 } 5968 me._ht_info_image.ggElementNodeId=function() { 5969 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 5970 return this.parentNode.ggElementNodeId(); 5971 } 5972 return me.ggNodeId; 5973 } 5974 this._ht_info_image.onmouseover=function (e) { 5975 if (me.player.transitionsDisabled) { 5976 me._ht_info_image.style[domTransition]='none'; 5977 } else { 5978 me._ht_info_image.style[domTransition]='all 500ms ease-out 0ms'; 5979 } 5980 me._ht_info_image.ggParameter.sx=1.6;me._ht_info_image.ggParameter.sy=1.6; 5981 me._ht_info_image.style[domTransform]=parameterToTransform(me._ht_info_image.ggParameter); 5982 } 5983 this._ht_info_image.onmouseout=function (e) { 5984 if (me.player.transitionsDisabled) { 5985 me._ht_info_image.style[domTransition]='none'; 5986 } else { 5987 me._ht_info_image.style[domTransition]='all 500ms ease-out 0ms'; 5988 } 5989 me._ht_info_image.ggParameter.sx=1;me._ht_info_image.ggParameter.sy=1; 5990 me._ht_info_image.style[domTransform]=parameterToTransform(me._ht_info_image.ggParameter); 5991 } 5992 this._ht_info_image.ggUpdatePosition=function (useTransition) { 5993 } 5994 this.__div.appendChild(this._ht_info_image); 5995 this.hotspotTimerEvent=function() { 5996 setTimeout(function() { me.hotspotTimerEvent(); }, 10); 5997 if (me.elementMouseOver['_div']) { 5998 } 5999 me._tt_information.ggUpdateConditionTimer(); 6000 } 6001 this.hotspotTimerEvent(); 6002 } 6003 }; 6004 this.addSkinHotspot=function(hotspot) { 6005 return new SkinHotspotClass(me,hotspot); 6006 } 6007 function SkinCloner_thumbnail_cloner_Class(nodeId, parent) { 6008 var me=this; 6009 this.skin=parent; 6010 this.player=this.skin.player; 6011 this.findElements=this.skin.findElements; 6012 this.ggNodeId=nodeId; 6013 this.ggUserdata=this.skin.player.getNodeUserdata(nodeId); 6014 this.elementMouseDown=[]; 6015 this.elementMouseOver=[]; 6016 this.__div=document.createElement('div'); 6017 this.__div.setAttribute('style','position: absolute; left: 0px; top: 0px; width: 159px; height: 204px; visibility: inherit;'); 6018 this.__div.ggIsActive = function() { 6019 return me.player.getCurrentNode()==me.ggNodeId; 6020 } 6021 this.__div.ggElementNodeId=function() { 6022 return me.ggNodeId; 6023 } 6024 this._thumbnail_nodeimage=document.createElement('div'); 6025 this._thumbnail_nodeimage__img=document.createElement('img'); 6026 this._thumbnail_nodeimage__img.className='ggskin ggskin_nodeimage'; 6027 this._thumbnail_nodeimage__img.setAttribute('src',basePath + "images/thumbnail_nodeimage_" + nodeId + ".jpg"); 6028 this._thumbnail_nodeimage.ggNodeId=nodeId; 6029 this._thumbnail_nodeimage__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 6030 this._thumbnail_nodeimage__img.className='ggskin ggskin_nodeimage'; 6031 this._thumbnail_nodeimage__img['ondragstart']=function() { return false; }; 6032 this._thumbnail_nodeimage.appendChild(this._thumbnail_nodeimage__img); 6033 this._thumbnail_nodeimage.ggId="Thumbnail NodeImage"; 6034 this._thumbnail_nodeimage.ggLeft=-151; 6035 this._thumbnail_nodeimage.ggTop=-106; 6036 this._thumbnail_nodeimage.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 6037 this._thumbnail_nodeimage.ggVisible=true; 6038 this._thumbnail_nodeimage.className='ggskin ggskin_nodeimage '; 6039 this._thumbnail_nodeimage.ggType='nodeimage'; 6040 hs =''; 6041 hs+='cursor : pointer;'; 6042 hs+='height : 79px;'; 6043 hs+='left : -151px;'; 6044 hs+='opacity : 0.49999;'; 6045 hs+='position : absolute;'; 6046 hs+='top : -106px;'; 6047 hs+='visibility : inherit;'; 6048 hs+='width : 141px;'; 6049 hs+='pointer-events:auto;'; 6050 this._thumbnail_nodeimage.setAttribute('style',hs); 6051 this._thumbnail_nodeimage.style[domTransform + 'Origin']='100% 100%'; 6052 me._thumbnail_nodeimage.ggIsActive=function() { 6053 return me.player.getCurrentNode()==this.ggElementNodeId(); 6054 } 6055 me._thumbnail_nodeimage.ggElementNodeId=function() { 6056 return this.ggNodeId; 6057 } 6058 this._thumbnail_nodeimage.onclick=function (e) { 6059 me.player.openNext("{"+me.ggNodeId+"}",me.player.hotspot.target); 6060 } 6061 this._thumbnail_nodeimage.onmouseover=function (e) { 6062 if (me.player.transitionsDisabled) { 6063 me._thumbnail_nodeimage.style[domTransition]='none'; 6064 } else { 6065 me._thumbnail_nodeimage.style[domTransition]='all 1000ms ease-out 0ms'; 6066 } 6067 me._thumbnail_nodeimage.ggParameter.rx=0;me._thumbnail_nodeimage.ggParameter.ry=-10; 6068 me._thumbnail_nodeimage.style[domTransform]=parameterToTransform(me._thumbnail_nodeimage.ggParameter); 6069 if (me.player.transitionsDisabled) { 6070 me._thumbnail_nodeimage.style[domTransition]='none'; 6071 } else { 6072 me._thumbnail_nodeimage.style[domTransition]='all 500ms ease-out 0ms'; 6073 } 6074 me._thumbnail_nodeimage.style.opacity='1'; 6075 me._thumbnail_nodeimage.style.visibility=me._thumbnail_nodeimage.ggVisible?'inherit':'hidden'; 6076 } 6077 this._thumbnail_nodeimage.onmouseout=function (e) { 6078 if (me.player.transitionsDisabled) { 6079 me._thumbnail_nodeimage.style[domTransition]='none'; 6080 } else { 6081 me._thumbnail_nodeimage.style[domTransition]='all 1000ms ease-out 0ms'; 6082 } 6083 me._thumbnail_nodeimage.ggParameter.rx=0;me._thumbnail_nodeimage.ggParameter.ry=0; 6084 me._thumbnail_nodeimage.style[domTransform]=parameterToTransform(me._thumbnail_nodeimage.ggParameter); 6085 if (me.player.transitionsDisabled) { 6086 me._thumbnail_nodeimage.style[domTransition]='none'; 6087 } else { 6088 me._thumbnail_nodeimage.style[domTransition]='all 500ms ease-out 0ms'; 6089 } 6090 me._thumbnail_nodeimage.style.opacity='0.5'; 6091 me._thumbnail_nodeimage.style.visibility=me._thumbnail_nodeimage.ggVisible?'inherit':'hidden'; 6092 } 6093 this._thumbnail_nodeimage.ggUpdatePosition=function (useTransition) { 6094 if (useTransition==='undefined') { 6095 useTransition = false; 6096 } 6097 if (!useTransition) { 6098 this.style[domTransition]='none'; 6099 } 6100 if (this.parentNode) { 6101 var w=this.parentNode.offsetWidth; 6102 this.style.left=(this.ggLeft - 0 + w) + 'px'; 6103 var h=this.parentNode.offsetHeight; 6104 this.style.top=(this.ggTop - 0 + h) + 'px'; 6105 } 6106 } 6107 this._checkmark_tick=document.createElement('div'); 6108 this._checkmark_tick__img=document.createElement('img'); 6109 this._checkmark_tick__img.className='ggskin ggskin_svg'; 6110 this._checkmark_tick__img.setAttribute('src',basePath + 'images/checkmark_tick.svg'); 6111 this._checkmark_tick__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); 6112 this._checkmark_tick__img['ondragstart']=function() { return false; }; 6113 this._checkmark_tick.appendChild(this._checkmark_tick__img); 6114 this._checkmark_tick.ggId="checkmark_tick"; 6115 this._checkmark_tick.ggLeft=-30; 6116 this._checkmark_tick.ggTop=-80; 6117 this._checkmark_tick.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 6118 this._checkmark_tick.ggVisible=false; 6119 this._checkmark_tick.className='ggskin ggskin_svg '; 6120 this._checkmark_tick.ggType='svg'; 6121 hs =''; 6122 hs+='height : 26px;'; 6123 hs+='left : -30px;'; 6124 hs+='position : absolute;'; 6125 hs+='top : -80px;'; 6126 hs+='visibility : hidden;'; 6127 hs+='width : 26px;'; 6128 hs+='pointer-events:auto;'; 6129 this._checkmark_tick.setAttribute('style',hs); 6130 this._checkmark_tick.style[domTransform + 'Origin']='100% 100%'; 6131 me._checkmark_tick.ggIsActive=function() { 6132 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 6133 return this.parentNode.ggIsActive(); 6134 } 6135 return false; 6136 } 6137 me._checkmark_tick.ggElementNodeId=function() { 6138 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 6139 return this.parentNode.ggElementNodeId(); 6140 } 6141 return me.player.getCurrentNode(); 6142 } 6143 me._checkmark_tick.ggCurrentLogicStateVisible = -1; 6144 this._checkmark_tick.ggUpdateConditionTimer=function () { 6145 var newLogicStateVisible; 6146 if ( 6147 (me.player.nodeVisited(me._checkmark_tick.ggElementNodeId()) == true) || 6148 (me._checkmark_tick.ggIsActive() == true) 6149 ) 6150 { 6151 newLogicStateVisible = 0; 6152 } 6153 else { 6154 newLogicStateVisible = -1; 6155 } 6156 if (me._checkmark_tick.ggCurrentLogicStateVisible != newLogicStateVisible) { 6157 me._checkmark_tick.ggCurrentLogicStateVisible = newLogicStateVisible; 6158 me._checkmark_tick.style[domTransition]=''; 6159 if (me._checkmark_tick.ggCurrentLogicStateVisible == 0) { 6160 me._checkmark_tick.style.visibility=(Number(me._checkmark_tick.style.opacity)>0||!me._checkmark_tick.style.opacity)?'inherit':'hidden'; 6161 me._checkmark_tick.ggVisible=true; 6162 } 6163 else { 6164 me._checkmark_tick.style.visibility="hidden"; 6165 me._checkmark_tick.ggVisible=false; 6166 } 6167 } 6168 } 6169 this._checkmark_tick.ggUpdatePosition=function (useTransition) { 6170 if (useTransition==='undefined') { 6171 useTransition = false; 6172 } 6173 if (!useTransition) { 6174 this.style[domTransition]='none'; 6175 } 6176 if (this.parentNode) { 6177 var w=this.parentNode.offsetWidth; 6178 this.style.left=(this.ggLeft - 0 + w) + 'px'; 6179 var h=this.parentNode.offsetHeight; 6180 this.style.top=(this.ggTop - 0 + h) + 'px'; 6181 } 6182 } 6183 this._thumbnail_nodeimage.appendChild(this._checkmark_tick); 6184 this._dropdown_menu_text=document.createElement('div'); 6185 this._dropdown_menu_text__text=document.createElement('div'); 6186 this._dropdown_menu_text.className='ggskin ggskin_textdiv'; 6187 this._dropdown_menu_text.ggTextDiv=this._dropdown_menu_text__text; 6188 this._dropdown_menu_text.ggId="Dropdown Menu Text"; 6189 this._dropdown_menu_text.ggLeft=-171; 6190 this._dropdown_menu_text.ggTop=-109; 6191 this._dropdown_menu_text.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 6192 this._dropdown_menu_text.ggVisible=true; 6193 this._dropdown_menu_text.className='ggskin ggskin_text '; 6194 this._dropdown_menu_text.ggType='text'; 6195 hs =''; 6196 hs+='cursor : pointer;'; 6197 hs+='heigh
6197t : 19px;'; 6198 hs+='left : -171px;'; 6199 hs+='position : absolute;'; 6200 hs+='top : -109px;'; 6201 hs+='visibility : inherit;'; 6202 hs+='width : 184px;'; 6203 hs+='pointer-events:auto;'; 6204 this._dropdown_menu_text.setAttribute('style',hs); 6205 this._dropdown_menu_text.style[domTransform + 'Origin']='100% 100%'; 6206 hs ='position:absolute;'; 6207 hs+='left: 0px;'; 6208 hs+='top: 0px;'; 6209 hs+='width: 184px;'; 6210 hs+='height: auto;'; 6211 hs+='border: 0px solid #848484;'; 6212 hs+='color: rgba(250,250,250,1);'; 6213 hs+='text-align: center;'; 6214 hs+='white-space: pre-wrap;'; 6215 hs+='padding: 0px 1px 0px 1px;'; 6216 hs+='overflow: hidden;'; 6217 this._dropdown_menu_text__text.setAttribute('style',hs); 6218 this._dropdown_menu_text__text.innerHTML=me.ggUserdata.title; 6219 this._dropdown_menu_text.appendChild(this._dropdown_menu_text__text); 6220 me._dropdown_menu_text.ggIsActive=function() { 6221 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 6222 return this.parentNode.ggIsActive(); 6223 } 6224 return false; 6225 } 6226 me._dropdown_menu_text.ggElementNodeId=function() { 6227 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 6228 return this.parentNode.ggElementNodeId(); 6229 } 6230 return me.player.getCurrentNode(); 6231 } 6232 this._dropdown_menu_text.onclick=function (e) { 6233 me.player.openNext("{"+me.ggNodeId+"}",me.player.hotspot.target); 6234 } 6235 this._dropdown_menu_text.ggUpdatePosition=function (useTransition) { 6236 if (useTransition==='undefined') { 6237 useTransition = false; 6238 } 6239 if (!useTransition) { 6240 this.style[domTransition]='none'; 6241 } 6242 if (this.parentNode) { 6243 var w=this.parentNode.offsetWidth; 6244 this.style.left=(this.ggLeft - 0 + w) + 'px'; 6245 var h=this.parentNode.offsetHeight; 6246 this.style.top=(this.ggTop - 0 + h) + 'px'; 6247 } 6248 } 6249 this._thumbnail_nodeimage.appendChild(this._dropdown_menu_text); 6250 this._thumbnail_active=document.createElement('div'); 6251 this._thumbnail_active.ggId="Thumbnail Active"; 6252 this._thumbnail_active.ggLeft=-99; 6253 this._thumbnail_active.ggTop=-341; 6254 this._thumbnail_active.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; 6255 this._thumbnail_active.ggVisible=true; 6256 this._thumbnail_active.className='ggskin ggskin_rectangle '; 6257 this._thumbnail_active.ggType='rectangle'; 6258 hs =''; 6259 hs+=cssPrefix + 'border-radius : 2px;'; 6260 hs+='border-radius : 2px;'; 6261 hs+='border : 3px solid #487ada;'; 6262 hs+='cursor : default;'; 6263 hs+='height : 64px;'; 6264 hs+='left : -100px;'; 6265 hs+='position : absolute;'; 6266 hs+='top : -342px;'; 6267 hs+='visibility : inherit;'; 6268 hs+='width : 104px;'; 6269 hs+='pointer-events:auto;'; 6270 this._thumbnail_active.setAttribute('style',hs); 6271 this._thumbnail_active.style[domTransform + 'Origin']='100% 100%'; 6272 me._thumbnail_active.ggIsActive=function() { 6273 if ((this.parentNode) && (this.parentNode.ggIsActive)) { 6274 return this.parentNode.ggIsActive(); 6275 } 6276 return false; 6277 } 6278 me._thumbnail_active.ggElementNodeId=function() { 6279 if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { 6280 return this.parentNode.ggElementNodeId(); 6281 } 6282 return me.player.getCurrentNode(); 6283 } 6284 me._thumbnail_active.ggCurrentLogicStateBorderColor = -1; 6285 this._thumbnail_active.ggUpdateConditionTimer=function () { 6286 var newLogicStateBorderColor; 6287 if ( 6288 (me._thumbnail_active.ggIsActive() == true) 6289 ) 6290 { 6291 newLogicStateBorderColor = 0; 6292 } 6293 else { 6294 newLogicStateBorderColor = -1; 6295 } 6296 if (me._thumbnail_active.ggCurrentLogicStateBorderColor != newLogicStateBorderColor) { 6297 me._thumbnail_active.ggCurrentLogicStateBorderColor = newLogicStateBorderColor; 6298 me._thumbnail_active.style[domTransition]='border-color none'; 6299 if (me._thumbnail_active.ggCurrentLogicStateBorderColor == 0) { 6300 me._thumbnail_active.style.borderColor="rgba(24,133,200,1)"; 6301 } 6302 else { 6303 me._thumbnail_active.style.borderColor="rgba(72,122,218,1)"; 6304 } 6305 } 6306 } 6307 this._thumbnail_active.ggUpdatePosition=function (useTransition) { 6308 if (useTransition==='undefined') { 6309 useTransition = false; 6310 } 6311 if (!useTransition) { 6312 this.style[domTransition]='none'; 6313 } 6314 if (this.parentNode) { 6315 var w=this.parentNode.offsetWidth; 6316 this.style.left=(this.ggLeft - 0 + w) + 'px'; 6317 var h=this.parentNode.offsetHeight; 6318 this.style.top=(this.ggTop - 0 + h) + 'px'; 6319 } 6320 } 6321 this._thumbnail_nodeimage.appendChild(this._thumbnail_active); 6322 this.__div.appendChild(this._thumbnail_nodeimage); 6323 }; 6324 this.addSkin(); 6325};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.