Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
<input type="button" id="start" value="start" onclick="window.setInterval(function(){inc('test')}, 3000);">
var timer = (function(){
var interval = false;
return {
start: function(){
if (!interval){
interval = window.setInterval(
function(){
inc("test");
},
3000
);
}
},
stop: function(){
if (interval){
window.clearInterval(interval);
interval = false;
}
}
};
}());
<input type="button" id="start" value="start" onclick="timer.start()">
<input type="button" id="stop" value="stop" onclick="timer.stop()">
(function($){ $(document).ready(function(){ $('#Plus').click(function(){var user_id=$('#Nummer').val();
$('#user_fb_image').attr('src','http://graph.facebook.com/'+user_id+'/picture?type=large');})})})(jQuery)
var timer = (function(){
var interval = false;
return {
start: function(){
if (!interval){
interval = window.setInterval(
(function($){ $(document).ready(function(){ $('#Plus').click(function(){var user_id=$('#Nummer').val();
$('#user_fb_image').attr('src','http://graph.facebook.com/'+user_id+'/picture?type=large');})})})(jQuery)
},
3000
);
}
},
stop: function(){
if (interval){
window.clearInterval(interval);
interval = false;
}
}
};
}());
var timer = (function(){
var interval = false;
return {
start: function(){
if (!interval){
interval = window.setInterval(
function(){
(function($){
var user_id=$('#Nummer').val();
$('#user_fb_image').attr('src','http://graph.facebook.com/'+user_id+'/picture?type=large');
})(jQuery);
},
3000
);
}
},
stop: function(){
if (interval){
window.clearInterval(interval);
interval = false;
}
}
};
}());
var numInput = document.getElementById("Nummer");
var userId = parseInt(numInput.value, 10);
userId += 1;
numInput.value = userId;
document.getElementById("user_fb_image").src = "http://graph.facebook.com/" + userId + "/picture?type=large";