pagina info listata

This commit is contained in:
Andrea Condoluci 2017-03-18 16:15:57 +01:00
parent fa9a02e619
commit fee0615860
2 changed files with 41 additions and 41 deletions

View file

@ -160,7 +160,7 @@
<!-- /header -->
<!-- Home page -->
<div data-role="page" id="index" data-dom-cache="true" data-theme="a" class="ui-page">
<!-- <div data-role="page" id="index" data-dom-cache="true" data-theme="a" class="ui-page">
<center><p><img src="image/xm-logo.png" class="rwd" /></p>
<ul data-role="listview" data-inset="true">
<li>
@ -168,7 +168,7 @@
<img src="./image/ilovexm24_puzzle-300x300.jpg" class="ui-li-thumb">
<h2>I love XM24</h2>
<p>Bla blabla</p>
<!--p class="ui-li-aside">iOS</p-->
<!-p class="ui-li-aside">iOS</p-=>
</a>
</li>
<li>
@ -176,7 +176,7 @@
<img src="./image/xm24-particolare2.jpeg" class="ui-li-thumb">
<h2>Info e comunicati</h2>
<p>Bla Bla blabla</p>
<!--p class="ui-li-aside">BlackBerry</p-->
<!--p class="ui-li-aside">BlackBerry</p-=>
</a>
</li>
<li>
@ -188,11 +188,11 @@
</li>
</ul>
</center>
<!--a class="minibox orange nav" href="#eventi"> Eventi</a>
<!=-a class="minibox orange nav" href="#eventi"> Eventi</a>
<a class="minibox green nav" href="#lab"> Laboratori</a>
<a class="minibox green nav" href="#ultime"> News</a>
<a class="minibox green nav" href="#tag"> Tag</a>
<a class="minibox blue nav" href="#quotidiano"> Un post a caso</a-->
<a class="minibox blue nav" href="#quotidiano"> Un post a caso</a ==>
<br/ style="clear:both;">
<div id="aggiornahome">Aggiorna i contenuti dal sito XM24 di tanto in tanto.
@ -223,8 +223,21 @@
<input type="button" value="OK" onclick='$("#benvenuta").popup("close");alterContent(#info);' />
</div>
</div>
</div> -->
<div data-role="page" id="info" data-prev="index" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
<div role="main" class="ui-content">
<center><p><img src="image/xm-logo.png" class="rwd" /></p></center>
<div class="ui-body">
<p class="introlettera">Info e comunicati</p>
<p id="mostralistainfo" class="listatovirgole listevoci">
<img class="gifloader" src="./image/ajax_loader_red_512.gif" />
</p>
</div>
<!-- chiude body-->
</div>
<!--chiude content -->
</div>
</div>
<div data-role="page" id="events" data-prev="index" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
@ -254,20 +267,7 @@
<!--chiude content -->
</div>
<!-- chiude pagina -->
<div data-role="page" id="info" data-prev="index" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
<div role="main" class="ui-content">
<div class="ui-body">
<p class="introlettera">Info e comunicati</p>
<p id="mostralistainfo" class="listatovirgole listevoci">
<img class="gifloader" src="./image/ajax_loader_red_512.gif" />
</p>
</div>
<!-- chiude body-->
</div>
<!--chiude content -->
</div>
<!-- chiude pagina -->
<div data-role="page" id="quotidiano" data-transition="slide" data-prev="index" data-next="" data-dom-cache="true" data-theme="a" class="ui-page">
<div role="main" class="ui-content">

View file

@ -135,6 +135,7 @@ function setFirstRun() {
}
}
};
/*per link in browser di default */
document.addEventListener("deviceready", onDeviceReady, false);
//le cose all'inizio
@ -142,14 +143,13 @@ function onDeviceReady() {
// console.log('deviceready');
createDB();
setFirstRun();
$("#navheader").addClass("hide");
$("#navfooter").addClass("hide");
$("a.nav").on("click", function (event) {
// Prevent the usual navigation behavior
event.preventDefault();
hrefseguente = $(this).attr("href");
alterContent(hrefseguente);
});
alterContent("#info");
};
function overlayblock() {