Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
And is it worth the time spent?
It's easier to go through the materials here - https://heim.ifi.uio.no/~trygver/themes/mvc/mvc-in...
What is often called MVC on the web today is not the original MVC. In fact, another buzzword, like a thread of OOP or rest, which they call everything in a row to make it sound more solid
. Badoo also had an article on the blog how they did the original mvc.
function toggleFullScreen() {
if (!document.fullscreenElement && // alternative standard method
!document.mozFullScreenElement && !document.webkitFullscreenElement) { // current working methods
if (document.documentElement.requestFullscreen) {
document.documentElement.requestFullscreen();
} else if (document.documentElement.mozRequestFullScreen) {
document.documentElement.mozRequestFullScreen();
} else if (document.documentElement.webkitRequestFullscreen) {
document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);
}
return true
} else {
if (document.cancelFullScreen) {
document.cancelFullScreen();
} else if (document.mozCancelFullScreen) {
document.mozCancelFullScreen();
} else if (document.webkitCancelFullScreen) {
document.webkitCancelFullScreen();
}
return false
}
}
toggleFullScreen() && document.body.style.display = ('none');
function toggleFullScreen() {
if (!document.fullscreenElement && // alternative standard method
!document.mozFullScreenElement && !document.webkitFullscreenElement) { // current working methods
if (document.documentElement.requestFullscreen) {
document.documentElement.requestFullscreen() && return true;
} else if (document.documentElement.mozRequestFullScreen) {
document.documentElement.mozRequestFullScreen() && return true;
} else if (document.documentElement.webkitRequestFullscreen) {
document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT) && return true;
}
} else {
if (document.cancelFullScreen) {
document.cancelFullScreen() && return false;
} else if (document.mozCancelFullScreen) {
document.mozCancelFullScreen() && return false;
} else if (document.webkitCancelFullScreen) {
document.webkitCancelFullScreen() && return false
}
}
}
toggleFullScreen() && document.body.style.display = ('none');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question