forked from qwerty/tupali
mejoraras vista aplicacion
This commit is contained in:
parent
803be0bed5
commit
c50f2704f8
11
index.php
11
index.php
@ -587,7 +587,7 @@ if('serviceWorker' in navigator) {
|
|||||||
loadArticle(6,$form,'galeria',$registros,'scroll-galeria');
|
loadArticle(6,$form,'galeria',$registros,'scroll-galeria');
|
||||||
loadArticle(7,$form,'galeria',$registros,'scroll-galeria');
|
loadArticle(7,$form,'galeria',$registros,'scroll-galeria');
|
||||||
|
|
||||||
var count = 8;
|
var count2 = 8;
|
||||||
$('div').scroll(function() {
|
$('div').scroll(function() {
|
||||||
var offset = $('#scroll-galeria div').length;
|
var offset = $('#scroll-galeria div').length;
|
||||||
var \$this = $(this);
|
var \$this = $(this);
|
||||||
@ -598,8 +598,8 @@ if('serviceWorker' in navigator) {
|
|||||||
|
|
||||||
|
|
||||||
if (isScrolledToEnd) {
|
if (isScrolledToEnd) {
|
||||||
loadArticle(count,$form,'galeria',$registros,'scroll-galeria');
|
loadArticle(count2,$form,'galeria',$registros,'scroll-galeria');
|
||||||
count++;
|
count2++;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -697,7 +697,10 @@ if('serviceWorker' in navigator) {
|
|||||||
</section>
|
</section>
|
||||||
<section id='listado' class='' >
|
<section id='listado' class='' >
|
||||||
<div class='container-fluid'>
|
<div class='container-fluid'>
|
||||||
<div id='scroll-content' style='overflow-y: scroll; overflow-x: hidden; max-height: calc(100vh - 50px); min-height: calc(100vh - 50px); '>
|
<div style='overflow-y: scroll; overflow-x: hidden; max-height: calc(100vh - 50px); min-height: calc(100vh - 50px); '>
|
||||||
|
<table id='scroll-content' class='table table-bordered'>
|
||||||
|
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user