Commit 8ae07743 authored by sbiego's avatar sbiego

fixed some errors about placeholder path and initialization in main.js

parent 54b751f5
......@@ -405,8 +405,8 @@ $(document).ready(function(){
Modernizr.load([
{
test: Modernizr.placeholder,
nope: '_include/js/placeholder.js',
complete : function() {
nope: '../brushed/js/placeholder.js', //custom vision add
/*complete : function() {
if (!Modernizr.placeholder) {
Placeholders.init({
live: true,
......@@ -415,7 +415,7 @@ $(document).ready(function(){
textColor: "#999"
});
}
}
}*/
}
]);
......
......@@ -80,18 +80,6 @@
<!-- Fullscreen !-->
<script>
/*function toggleFullscreenButton(style) {
var fs_icon = document.getElementById("fullscreen-icon");
var fs_alert = document.getElementById("fullscreen-alert");
if(style == "maximize") {
fs_icon.className = "font-icon-resize-small";
fs_alert.style.visibility = "hidden";
}
else {
fs_icon.className = "font-icon-resize-full";
}
}*/
function toggleFullscreen(elem) {
elem = elem || document.documentElement;
var fs_icon = document.getElementById("fullscreen-icon");
......@@ -124,7 +112,6 @@
}
}
}
</script>
<a id="fullscreen-button" href="#" onclick="toggleFullscreen()"><i id="fullscreen-icon" class="font-icon-resize-full"></i></a>
<!--<input type="button" value="click to go fullscreen" onclick="requestFullScreen()">!-->
......@@ -132,7 +119,7 @@
<div id="fullscreen-alert" class="alert alert-slide fade in">
<a class="close" data-dismiss="alert" href="#">×</a>
<i class="font-icon-exclamation"></i>
Per una migliore visione del sito <a href="#" onclick=""><b>passa a schermo intero</b></a> premendo <b>F11</b> altrimenti chiudi questa notifica.
Per una migliore visione del sito <a href="#" onclick="toggleFullscreen()"><b>passa a schermo intero</b></a> premendo <b>F11</b> altrimenti chiudi questa notifica.
</div>
<!-- end fullscreen button !-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment