How to create a 3D object

Asked

Viewed 31 times

-2

Hello,
I’m thinking about making a website that’s fixed on a single screen. When clicked on the options menu, the screens would be presented as a slide, similar to what happens today on Android systems, in the application menu. Each of those films would be a "page" of my site. If anyone has any idea where to start.

  • Your question, besides being quite broad, is mainly based on opinions. To avoid gaining negative votes, it is interesting to read the area Asking of Help Center to find out what types of questions are accepted here.

1 answer

0


Good you can start creating the body with the exact height of the user screen.

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

Create content div’s with height 100%;

With a menu (film?) you will make the call for each content.

Div’s will have display: None, and by jquery you will hide the div q no longer need to be displayed and showing what 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 another 600000 possibilities, it all depends on your creativity and learning patience. You asked for a start, there you are.

  • Very good. I’ll do it and see where it goes. Thank you

Browser other questions tagged

You are not signed in. Login or sign up in order to post.