Team:Freiburg/gallery

From 2013.igem.org

(Difference between revisions)
Line 160: Line 160:
     document.getElementById('button1').onclick = function()
     document.getElementById('button1').onclick = function()
{alert('rsge');}})
{alert('rsge');}})
-
var bildAktuell = 1
+
-
var maxPic = 5;
+
-
$(function() {
+
-
$(".nextPage").click(function() {
+
-
if (bildAktuell >= maxPic) {
+
-
bildAktuell = 0;
+
-
}
+
-
bildAktuell++;
+
-
$("p#pixNumberTop").text(bildAktuell+' / '+maxPic);
+
-
$("p#pixNumberBottom").text(bildAktuell+' / '+maxPic);
+
-
+
-
// IVW push
+
-
ivwUpdate();
+
-
// GA push
+
-
gaUpdate();
+
-
 
+
-
if (0 && bildAktuell == 0) {
+
-
$('.adPlatzhalter').load('/adholder.html');
+
-
}
+
-
+
-
});
+
-
 
+
-
$(".prevPage").click(function() {
+
-
if (bildAktuell == 1) {
+
-
bildAktuell = maxPic+1;
+
-
}
+
-
bildAktuell--;
+
-
$("p#pixNumberTop").text(bildAktuell+' / '+maxPic);
+
-
$("p#pixNumberBottom").text(bildAktuell+' / '+maxPic);
+
-
+
-
// IVW push
+
-
ivwUpdate();
+
-
// GA push
+
-
gaUpdate();
+
-
 
+
-
if (0 && bildAktuell == 0) {
+
-
$('.adPlatzhalter').load('/adholder.html');
+
-
}
+
-
+
-
});
+
-
});
+
-
 
+
-
function ivwUpdate() {
+
-
$("body").append("<img src=\""+IVW+"?r="+escape(document.referrer)+"&d="+(Math.random()*100000)+"\" width=\"1\" height=\"1\" alt=\"szmtag\" style=\"position:absolute; top:-1000px; display:none;\" />");
+
-
}
+
-
 
+
-
function gaUpdate() {
+
-
if(typeof(pageTracker) != "undefined"){
+
-
pageTracker._trackPageview( location.pathname );
+
-
}
+
-
}
+
-
 
+
</script>
</script>

Revision as of 14:03, 1 October 2013

  1. Ein Laster hat auf der A5 bei der Ausfahrt Bad Krozingen Hunderte von Getränkekisten verloren. Foto: Patrick Seeger

  2. Ein Laster hat auf der A5 bei der Ausfahrt Bad Krozingen Hunderte von Getränkekisten verloren. Foto: Patrick Seeger

  3. Ein Laster hat auf der A5 bei der Ausfahrt Bad Krozingen Hunderte von Getränkekisten verloren. Foto: Patrick Seeger

  4. Ein Laster hat auf der A5 bei der Ausfahrt Bad Krozingen Hunderte von Getränkekisten verloren. Foto: Patrick Seeger

  5. Ein Laster hat auf der A5 bei der Ausfahrt Bad Krozingen Hunderte von Getränkekisten verloren. Foto: Patrick Seeger