Kinderarztsuche: Ergebnisse für Grtringen

Kinderärzte in Grtringen für Vorsorgeuntersuchungen U2-U11


Fehler



var cont;
var Paging;
var prev = new Array();

$(document).ready(function()
{
subinit();
});

function subinit()
{
if(JSA==0)
{
setTimeout("subinit()",1000);
return;
}
cont = $('#content #liste_erg LI:visible');
//alert("OK: "+cont.length);
if(cont.length>6)
{
$('.cont_pagination').show();
} else
{
$('.cont_pagination').hide();
}
Paging=$(".pagination").paging(cont.length, {
format: '(q -) nncnn (- p)',
perpage: 5,
lapping: 0,
page: 1,
onFormat: function(type) {
switch (type) {
case 'block':
if (!this.active)
return '';
else if (this.value != this.page)
return '
' + this.value + '
';
return '
' + this.value + '
';
case 'left':
if (this.active)
return '';
return('');
case 'right':
if (this.active)
return '
'+this.value+'
';
return('');
case 'next':
if (this.active)
return '';
return '
Weiter >
';
case 'prev':
return "Zurück";
case 'first':
return "Start";
case 'last':
return("Letzte");
case "leap":
if (this.active)
return "";
return "***";
case 'fill':
if (this.active)
return "...  ";
return "";
}
},
onSelect: function (page)
{
var data = this.slice;
console.log("Select: "+prev+" / "+data);
cont.slice(prev[0], prev[1]).hide();
cont.slice(data[0], data[1]).fadeIn();
prev = data;
return true;
}
});
//$(window).hashchange(function() {
// if (window.location.hash)
// Paging.setPage(window.location.hash.substr(1));
// else
// Paging.setPage(1);
//});

//$(window).hashchange();

var adressen=new Array(); $('#map-ka-sucherg').gmap3({ map:{ address: "Deutschland, ", options:{ zoom: 11 } }, 'marker': { values:adressen, options:{ draggable: false }, events: { click: function(marker, event, context) { var map = $(this).gmap3("get"), infowindow = $(this).gmap3({get:{name:"infowindow"}}); if (infowindow) { infowindow.open(map, marker); infowindow.setContent(context.data); } else { $(this).gmap3({ infowindow:{ anchor:marker, options:{content: context.data} } }); } } } } });

}

Themen-Navigation

Das könnte dich auch interessieren:

Teile diesen Artikel in deinen sozialen Netzwerken:

Das könnte dich auch interessieren