Jump to content

MARCELO

Members
  • Posts

    80
  • Joined

  • Last visited

Posts posted by MARCELO

  1. RIGHT. BUT THERE ARE THOUSANDS OF WEBHOSTS. COULD YOU TELL ME ONE THAT ALLOWS ME TO DO IT? 

    IS IT A FREE SERVICE AND IS IT A SIMPLE THING TO DO (LIKE USING GOOGLE DRIVE)?

    THANKS INGOLME!

  2. Hi. I tried to obtain imagens and videos sources for my own videos, for codes like 

    <video autoplay muted loop id="myVideo">
      <source src="rain.mp4" type="video/mp4">
    </video>

    but i still dont know how to do it. What i have in mind is a website where i can upload this videos and generate an url with .mp4 in the end. But i can t find this kind of service!

    How can i obtain a source to my video? Step by step...

     MANY THANKS!

     

     

     

  3. Thanks, Ingolme. But that s not all. In the same link

    https://www.w3schools.com/code/tryit.asp?filename=FOSJLJBZP7JA

    i want to:

    1 - change the style only of the item HELLO  in the navbar, so i m trying to add something like these style="font-family:verdana;font-size:300%;" , but there s no effect.

    2 - when hovering in the navbar, i would like only the words to change color, and not all the box. I tried to rewrite this code but i didn t obtain success.

    /* Change the link color to #111 (black) on hover */
    li a:hover {
        background-color: #111;
    }

    And to make things worst, i want only the word HOME to change the color, not all of them. So, how can i specify one item?

     

    Thanks again!

  4. HELLO!

    IN THIS URL

    https://www.w3schools.com/code/tryit.asp?filename=FOQNYKJAA4MH

    i m trying to 

    1- Add a sticky menu to a video background and

    2- Have a sticky menu with different style (font, color and size of the item and box) for each item of the navbar, so instead of this:  HOME  NEWS CONTACT -

    i was looking for this: HOME         NEWS CONTACT .....(but also considering the font and color which i couldn t change here).

    What s wrong with my menu and how can i have the itens this way?

    THANKS.

     

     

  5. Ingolme has given me important tips in this html:

    https://www.w3schools.com/code/tryit.asp?filename=FOMFZ9OYGA7L

    However, i can t organize the content the way i would like to. In the link above, we have something like this:

    Lorem ipsum dolor sit amet, an his etiam torquatos. Tollit soleat phaedrum te duo, eum cu recteque expetendis neglegentur. Cu mentitum maiestatis persequeris pro, pri ponderum tractatos ei. Id qui nemore latine molestiae, ad mutat oblique delicatissimi pro.

     

    I would like to show some content side by side like this:

    XXXXXXXXXXXXXXXXXXXXXXXXXXXXX               YYYYYYYYYYYYYYYYYYYYYYYYY

    but all i can get is this:

    XXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

     

    and i also would like to have something like this:

     

    XXXXXXXXXXXXXXXXXXXXXXXXXXXXX               Picture or buttom to a link.

    but in this case,  pictures or  buttom aren´t even appearing.

     

    Is there anything i can do?

     

    Thanks.

  6. I ve been studying that website codes for months, and i have also been looking for alternative plugins in MANY websites to bring this effect to the one i want, but  couldn t  develop one for my own.

    That s why i brought this topic to discussion. 

     

    THANKS!

  7. In the website below, there s a special auto zoom in and out effect. I looked for HTML, CSS, JAVA and could not find it exactly.

    This is one of the most nice effects in images i´ve seen!

    Does anyone know how to reproduce it?

    THe website is this, and its just enter the website and you´ll see:

    www.icasei.com.br

    Thanks!

     

  8. Right!

    Thank u very much!!!!!!!

    Just one thing: is it possible to start the menu with the picture, in the example you gave me? i tried to change your code so i could have

      PICTURE - HOME -  NEWS - CONTACT - ,  instead of   - HOME -  NEWS - CONTACT- PICTURE . Although it might seem simple, i spend some time without success

     

     

  9. I NEED  THE SECTIONS OF A WEBPAGE TO BE WITH  DIFFERENT COLORS. THE CODE BELOW (FROM W3 SCHOOLS) HAS ONLY ONE WHITE SECTION AND I WANT TO ADD MORE SECTIONS IN DIFFERENT COLORS. DOES ANYONE COULD TRY IT?

     

    THANKS!

    <!DOCTYPE html>
    <html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
    * {
        box-sizing: border-box;
    }

    body {
        margin: 0;
        font-family: Arial;
        font-size: 17px;
    }

    #myVideo {
        position: fixed;
        right: 0;
        bottom: 0;
        min-width: 100%; 
        min-height: 100%;
    }

    .content {
        position: fixed;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        color: #f1f1f1;
        width: 100%;
        padding: 20px;
    }

    #myBtn {
        width: 200px;
        font-size: 18px;
        padding: 10px;
        border: none;
        background: #000;
        color: #fff;
        cursor: pointer;
    }

    #myBtn:hover {
        background: #ddd;
        color: black;
    }
    </style>
    </head>
    <body>

    <video autoplay muted loop id="myVideo">
      <source src="rain.mp4" type="video/mp4">
      Your browser does not support HTML5 video.
    </video>

    <div class="content">
      <h1>Heading</h1>
      <p>Lorem ipsum dolor sit amet, an his etiam torquatos. Tollit soleat phaedrum te duo, eum cu recteque expetendis neglegentur. Cu mentitum maiestatis persequeris pro, pri ponderum tractatos ei. Id qui nemore latine molestiae, ad mutat oblique delicatissimi pro.</p>
      <button id="myBtn" onclick="myFunction()">Pause</button>
    </div>

    <script>
    var video = document.getElementById("myVideo");
    var btn = document.getElementById("myBtn");

    function myFunction() {
      if (video.paused) {
        video.play();
        btn.innerHTML = "Pause";
      } else {
        video.pause();
        btn.innerHTML = "Play";
      }
    }
    </script>

    </body>
    </html>

     

     

     
  10. I would like to play some videos in my website from Vimeo. I want to use them as background and others just with autoplay function.

    Here´s what i dont know how to do:

     <source src="movie.mp4" type="video/mp4">
      <source src="movie.ogg" type="video/ogg">

     

    OR

     

       <source src="PATH_TO_MP4" type="video/mp4" />Your browser does not support the video tag. I suggest you upgrade your browser.
                <source src="PATH_TO_WEBM" type="video/webm" />Your browser does not supp

     

    I heard i need to upload my videos in special websites  (and Vimeo is not one of them) to have a source. Is it true?

×
×
  • Create New...