How to create a 3D object [closed]

-2

Hello,
I'm thinking of making a website that is set on a single screen. When clicked in the options menu, the screens would appear as a slide, similar to what happens today on Android systems, in the application menu. Being that each such film would be a "page" of my site. If anyone has any idea where I can start, I would appreciate it.

    
asked by anonymous 26.04.2017 / 16:42

1 answer

0

Well you can start by creating the body with the exact height of the user's screen.

$(document).ready(function(){
var altura = $(window).height();
body.style.height = altura+'px';
});

Create content divs with height 100%;

With a menu (movie?) you will make the call to each content.

The div's will have display: none, and by jquery you'll be hiding the div that does not need to be displayed anymore and showing the one you need to display

example:

    $('#Ltest').click(function(){

    if(ltest2.style.display == 'block')
    {
        $('#ltest2').fadeOut();
        $('#ltest').delay(400).fadeToggle('slow');
    }
    else
    {
        $('#ltest').fadeToggle('slow');
    }

Of course this is just an example or a way to be done .. There are 600 thousand other possibilities, it all depends on your creativity and learning patience. You asked for a start, there it is.

    
26.04.2017 / 16:50