Bläddra i källkod

Improved 'no javascript' warning.

tags/1.0
Matthew Petroff 13 år sedan
förälder
incheckning
07669aef25
2 ändrade filer med 1 tillägg och 4 borttagningar
  1. +0
    -3
      src/js/pannellum.js
  2. +1
    -1
      src/pannellum.htm

+ 0
- 3
src/js/pannellum.js Visa fil

@@ -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 Visa fil

@@ -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>


Laddar…
Avbryt
Spara