Subversion Repositories LCARS

Rev

Rev 84 | Rev 86 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 84 Rev 85
Line 116... Line 116...
116
      */
116
      */
117
?>
117
?>
118
    </script>
118
    </script>
119
    <?php /* <bgsound src="media/interface/sound/beginop.wav" loop="infinite"> */ ?>
119
    <?php /* <bgsound src="media/interface/sound/beginop.wav" loop="infinite"> */ ?>
120
  </head>
120
  </head>
121
  <body class="fade-in">
121
  <body class="fade-in" onload="if (typeof this.ontouchstart != 'undefined') this.ontouchstart = function () {}">
122
    <div id="content">
122
    <div id="content">
123
      <h1 style="text-align: center"><img
123
      <h1 style="text-align: center"><img
124
            src="media/video/img/vulcan_hand-black-bg.png"
124
            src="media/video/img/vulcan_hand-black-bg.png"
125
            width="120"
125
            width="120"
126
            height="168"
126
            height="168"
127
            alt="<?php echo _("Vulcan greeting"); ?>"
127
            alt="<?php echo _("Vulcan greeting"); ?>"
128
            title=""
128
            title=""
129
            style="border: none"
129
            style="border: none; cursor: default"
130
            onmouseover="return setStatus(this.title)"
130
            onmouseover="return setStatus(this.title)"
131
            onmouseout="return resetStatus()"><br>
131
            onmouseout="return resetStatus()"><br>
132
        <?php echo _("Welcome to PointedEars’ Website"); ?></h1>
132
        <?php echo _("Welcome to PointedEars’ Website"); ?></h1>
133
<?php
133
<?php
134
  if (!$printable)
134
  if (!$printable)
Line 363... Line 363...
363
            <div class="title"><span>Home</span></div>
363
            <div class="title"><span>Home</span></div>
364
            <a href="index.html"
364
            <a href="index.html"
365
               title="Language selection"
365
               title="Language selection"
366
               tabindex="1"
366
               tabindex="1"
367
               class="button left right" id="cmd1"
367
               class="button left right" id="cmd1"
-
 
368
               onmouseover="return setStatus(this.title + ': ' + this.href)"
-
 
369
               onmouseout="return resetStatus()"
-
 
370
               onfocus="return this.onmouseover()"
-
 
371
               onblur="return this.onmouseout()"
368
               ><abbr class="text" title="Language selection">Language</abbr></a>
372
               ><abbr class="text" title="Language selection">Language</abbr></a>
369
            <a href="index.<?php echo $language; ?>?printable=1"
373
            <a href="index.<?php echo $language; ?>?printable=1"
370
               title="<?php echo _('Printable version'); ?>"
374
               title="<?php echo _('Printable version'); ?>"
371
               tabindex="1"
375
               tabindex="1"
372
               class="button left right" id="cmd2"
376
               class="button left right" id="cmd2"
-
 
377
               onmouseover="return setStatus(this.title + ': ' + this.href)"
-
 
378
               onmouseout="return resetStatus()"
-
 
379
               onfocus="return this.onmouseover()"
-
 
380
               onblur="return this.onmouseout()"
373
               ><span class="text"><?php echo _("Printable"); ?></span></a>
381
               ><span class="text"><?php echo _("Printable"); ?></span></a>
374
            <div id="cmd3" class="button left right" style="cursor: not-allowed">&nbsp;</div>
382
            <div id="cmd3" class="button left right" style="cursor: not-allowed">&nbsp;</div>
375
            <script type="text/javascript">
383
            <script type="text/javascript">
376
              var fullScreen = (function () {
384
              var fullScreen = (function () {
377
                var _isHostMethod = jsx.object.isHostMethod;
385
                var _isHostMethod = jsx.object.isHostMethod;
378
               
386
               
379
                return {
387
                return {
380
                  isSupportedBy: function (elem) {
388
                  isSupportedBy: function (elem) {
381
                    var prefixes = ["", "mozR", "webkitR"];
389
                    var prefixes = ["r", "mozR", "webkitR"];
382
                    var suffix = "equestFullscreen";
390
                    var suffix = "equestFullscreen";
383
391
384
                    for (var i = 0, len = prefixes.length; i < len; ++i)
392
                    for (var i = 0, len = prefixes.length; i < len; ++i)
385
                    {
393
                    {
386
                      var prefix = prefixes[i];
394
                      var prefix = prefixes[i];
Line 397... Line 405...
397
                  isEnabled: function () {
405
                  isEnabled: function () {
398
                    return document.fullscreenEnabled || document.mozFullscreenEnabled || document.webkitFullscreenEnabled;
406
                    return document.fullscreenEnabled || document.mozFullscreenEnabled || document.webkitFullscreenEnabled;
399
                  },
407
                  },
400
408
401
                  cancel: function (target, oldHandler, textTarget) {
409
                  cancel: function (target, oldHandler, textTarget) {
402
                    var prefixes = ["", "mozC", "webkitC"];
410
                    var prefixes = ["c", "mozC", "webkitC"];
403
                    var suffix = "ancelFullScreen";
411
                    var suffix = "ancelFullScreen";
404
412
405
                    for (var i = 0, len = prefixes.length; i < len; ++i)
413
                    for (var i = 0, len = prefixes.length; i < len; ++i)
406
                    {
414
                    {
407
                      var prefix = prefixes[i];
415
                      var prefix = prefixes[i];
Line 445... Line 453...
445
                };
453
                };
446
              }());
454
              }());
447
            </script>
455
            </script>
448
            <div id="cmd4" class="button left right"
456
            <div id="cmd4" class="button left right"
449
                 onclick="fullScreen.requestOn(document.documentElement, this, this.firstChild)"
457
                 onclick="fullScreen.requestOn(document.documentElement, this, this.firstChild)"
-
 
458
                 onkeyup="if (event.keyCode == 13) { this.onclick(); this.onmouseup(); }"
450
                 onmouseup="this.blur()"
459
                 onmouseup="this.blur()"
451
                 tabindex="1"
460
                 tabindex="1"
452
                 ><span class="text"><script type="text/javascript">
461
                 ><span class="text"><script type="text/javascript">
453
                   if (fullScreen.isSupportedBy(document.documentElement))
462
                   if (fullScreen.isSupportedBy(document.documentElement))
454
                   {
463
                   {