Sfoglia il codice sorgente

Improved 'no javascript' warning.

tags/1.0
Matthew Petroff 13 anni fa
parent
commit
07669aef25
2 ha cambiato i file con 1 aggiunte e 4 eliminazioni
  1. +0
    -3
      src/js/pannellum.js
  2. +1
    -1
      src/pannellum.htm

+ 0
- 3
src/js/pannellum.js Vedi File

@@ -17,9 +17,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

// hide javascript required message
document.getElementById('nojavascript').style.display = 'none';

if(getURLParameter('logo') == 'yes')
{
document.getElementById('pannellum_logo').style.display = 'inline';


+ 1
- 1
src/pannellum.htm Vedi File

@@ -9,7 +9,7 @@
<body>
<div id="container"></div>
<div id="nojavascript"><p>Javascript is required to view this panorama.<br>(It could be worse, you could need a plugin.)</p></div>
<noscript><div id="nojavascript"><p>Javascript is required to view this panorama.<br>(It could be worse; you could need a plugin.)</p></div></noscript>
<div id="panorama_info">
<div id="title_box"></div>


Caricamento…
Annulla
Salva