• HARI INI SAYA AKAN MEMPOST CARA MEMBUAT TOMBOL LOGIN DENGAN JAVA SCRIPT BESERTA LAYOUT KEDUANYA.

    NGGAK USAH NUNGGU LAMA-LAMA INI DIA LAYOUT 1-NYA

     LAYOUT 1

    TAMPILAN LAYOUT 1


     INI CODE TAMPILAN LAYOUT 1

    <html>
    <head>
    <title></title>
    </head>
    <script>function userlogin() { var myform = document.login;
        if (myform.username.value == "Naar48" && myform.pass.value == "naarnime48")
           window.location.href = "layout 2.html";
        else if (myform.username.value != "Naar48" && myform.pass.value == "naarnime48")
               alert("username yang anda masukkan salah!")
        else if (myform.username.value == "Naar48" && myform.pass.value != "naarnime48")
           alert("password yang anda masukkan salah!")
        else if (myform.username.value == "" && myform.pass.value == "")
           alert("silahkan masukkan password dan username dahulu!")
        else
               alert("username dan password yang anda masukkan salah!");
     }
    </script>
    <body>
    <body bgcolor="black">
    <table width="100%" height="10%" valign="top">
    <td bgcolor="orange">
    <font size="6" color="white"><marquee scrollamount="10" direction="right" scrollamount="10" align="center" behavior="alternate"><strong>NAARNIME48</font></marquee></strong>
    </td>
    <p><table border="1"width="475"height="250"align="center"valign="middle">
    <p>.</p>
    <p>.</p>
    <td bgcolor="yellow">
    <font size="5" color="red"><strong>WELCOME</font></strong>
    <hr noshade>
    <p><center><font size="6" color="blue"><strong>LOGIN</font></strong></center></p>
    <form name="login">
    <center><p><font size="5" color="black">Username &nbsp;&nbsp;<input type="text" name="username"></p></font>
    <p><font size="5" color="black">Password &nbsp;&nbsp;<input type="password" name="pass"</p></font></center>
    <center><p><input type="button" value="login" onclick="userlogin ()">&nbsp;&nbsp;<input type="reset" value="reset"></p></center>
    </td>
    </table>
    </form>
    <p>.</p>
    <p>.</p>
    <p>.</p>
    <table width="100%" height="10%" valign="bottom">
    <p><td><center><img src="1.jpg" height="100" width="8%">
    <img src="2.jpg" height="100" width="8%">
    <img src="3.jpg" height="100" width="8%">
    <img src="4.png" height="100" width="8%">
    <img src="5.jpg" height="100" width="8%">
    <img src="6.jpg" height="100" width="8%">
    <img src="7.png" height="100" width="8%">
    <img src="8.png" height="100" width="8%">
    <img src="9.png" height="100" width="8%">
    <img src="10.jpg" height="100" width="8%"></td></center></p>
    </table>
    </body>
    </html>

    - YANG BERWARNA HIJAU UNTUK MEMASUKKAN GAMBAR
    - YANG BERWARNA ORANGE UNTUK MEMASUKKAN TOMBOL LOGIN
    - YANG BERWARNA KUNING UNTUK CODINGAN JAVA SCRIPT-NYA



    LAYOUT 2

    TAMPILAN LAYOUT 2


    INI CODE TAMPILAN LAYOUT 2

    <html>
    <head>
    <title>Layout 2</title>
    </head>
    <body>
    <body bgcolor="black">
       
    <center><table width="80%" height="20%"></center>
           
            <td bgcolor="orange">
            <strong><center><font size="6" color="white">WELCOME TO NAARNIME48</center></font></strong>
            <marquee scrollamount="10" behavior="alternate"><p><font size="5" color="white">WORLD FOR 48FANSCLUB AND OTAKU ANIME</font></p></marquee>
            </td>
    <center><table width="80%" height="15%">
    <p><td>
        <center><img src="a.jpg" width="10%" height="100">
            <img src="b.jpg" width="10%" height="100">
            <img src="c.jpg" width="10%" height="100">
            <img src="d.jpg" width="10%" height="100">
            <img src="e.jpg" width="10%" height="100">
            <img src="f.jpg" width="10%" height="100">
            <img src="g.jpg" width="10%" height="100">
            <img src="h.jpg" width="10%" height="100">
            <img src="i.jpg" width="10%" height="100"></center></td></p>


    <center><table width="80%" height="5%"></center>
        <p>
        <td bgcolor="orange">
        <hr size=3 align=center noshade>  
            <center><a href=""><font size="4" color="red"><strong>MENU</a></font></strong><font color="orange">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>
            <a href=""><font size="4" color="purple"><strong>48FAMILY</a></font></strong><font color="orange">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>
            <a href=""><font size="4" color="green"><strong>ANIME</a></font></strong><font color="orange">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>
            <a href=""><font size="4" color="blue"><strong>STREAMING</a></font></strong></center>
        <hr size=3 align=center noshade>  
        </td>
    <center><table width="80%" height="100%"></center>
        <p>
        <td bgcolor="orange">
    <font size="6"><center>ANOTHER LIVE ACTION</font></p></center>
    <p>
    <center>
    <video controls>
    <source src="video.mp4" type="video/mp4">
    </video></p></center>
           
        </td>
    </table>
    </body>
    </html>

    - YANG BERWARNA PINK UNTUK MEMASUKKAN VIDEO
    - YANG BERWARNA HIJAU UNTUK MEMASUKKAN GAMBAR


    DESAIN LAYOUT 1 DAN 2 BISA KALIAN UBAH SESUAI  KEINGINAN KALIAN.

    SELAMAT MENCOBA GUYS !!!!!!!!!!



    0 komentar

  • Copyright © - NaarNime48 - NaarNime48 - Powered by Blogger - Designed by Johanes Djogan