Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="pl">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <title>NowHoliday</title>
- <meta name="description" content="travel">
- <meta name="keywords" content="travel">
- <meta name="author" content="Karol Woźniak">
- <meta http-equiv="X-Ua-Compatible" content="IE=edge">
- <link rel="stylesheet" href="css/bootstrap.min.css">
- <link rel="stylesheet" href="css/bootstrap.css">
- <link rel="stylesheet" href="swiper.min.css">
- <link href="https://fonts.googleapis.com/css?family=Saira+Extra+Condensed&display=swap" rel="stylesheet">
- </head>
- <style>
- @import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
- html {
- scroll-behavior: smooth;
- }
- ::-webkit-scrollbar {
- width: 13px;
- }
- ::-webkit-scrollbar-track {
- background: #fff;
- }
- ::-webkit-scrollbar-thumb {
- background: #640064;
- }
- ::-webkit-scrollbar-thumb:hover {
- background: #640064;
- }
- body {
- background-color: white;
- color: #000000;
- font-family: 'Montserrat', sans-serif;
- position: relative;
- }
- .display_none {
- display: none;
- }
- h1 {
- font-size: 36px;
- font-weight: 400;
- color: rgb(38, 82, 156);
- margin: 20px;
- }
- .modal {
- color: black;
- }
- .navbar {
- min-height: 57px;
- }
- .nav-link {
- border-bottom: solid #ffffff00;
- }
- .bg-nawigacja {
- background-color: black !important;
- }
- #container {
- width: 100%;
- height: 100%;
- margin-top: 58px;
- }
- #kontakt {
- width: 90%;
- margin: auto;
- margin-top: 50px;
- padding: 30px;
- color: #640064;
- }
- .btnsend {
- color: white;
- background: #640064;
- }
- #regulamin {
- width: 90%;
- margin: auto;
- }
- #regulamintresc {
- text-align: center;
- }
- #stworzone {
- margin-top: 50px;
- text-align: center;
- }
- .form-control {
- border: 0px !important;
- border-bottom: 1.5px solid #640054 !important;
- border-radius: 5%;
- background: #64006424;
- transition: background 0.5s;
- }
- .form-control:focus {
- background: purple;
- color: white;
- }
- #portfolio {
- height: 100%;
- }
- #portfolio h1 {
- text-align: center;
- }
- iframe {
- margin-top: 20px;
- height: 400px;
- width: 100%;
- }
- .kontaktsend {
- width: 10px;
- }
- .bd-color {
- background-color: white;
- }
- body > main {
- font-size: 14px;
- max-width: 1920px;
- margin: auto;
- }
- #omnie {
- background-image: url(tlo_gora.jpg);
- background-attachment: fixed;
- background-position: bottom;
- background-repeat: no-repeat;
- min-height: 500px;
- padding-top: 50px;
- }
- #produkty {
- padding: 20px;
- }
- .card {
- position: relative;
- background: #fff;
- max-width: 400px;
- height: 500px;
- margin: 0 auto;
- padding: 10px;
- border: 2px solid rgba(100, 0, 100, 0.3);
- }
- .card .content {
- widows: 400px;
- padding: 30px;
- box-sizing: border-box;
- color: #000;
- }
- .card .content a {
- display: inline-block;
- margin: 10px 0 0;
- padding: 10px 20px;
- text-decoration: none;
- border: 2px solid #000;
- color: #000;
- font-weight: 600;
- }
- .card .sliderText {
- position: relative;
- width: 100%;
- height: 200px;
- display: flex;
- justify-content: center;
- align-items: center;
- background: #640064;
- }
- .card .sliderText h3 {
- color: #fff;
- font-size: 3em;
- }
- #klienci h1 {
- text-align: center;
- }
- #omnie img {
- max-width: 500px;
- }
- #infoomnie {
- text-align: center;
- margin-top: 100px;
- }
- #zdjecie img {
- width: 100%;
- }
- #omnietekst {
- width: 100%;
- color: white;
- background: rgba(100, 0, 100, 0.4);
- opacity:
- }
- #textarea {
- max-width: 500px;
- margin: auto;
- opacity: 1;
- padding: 1px 0px 15px 0px;
- font-size: 26px
- }
- #textarea > h1 {
- color: white;
- font-size: 50px;
- }
- .row {
- width: 100%;
- margin: auto;
- }
- .alert {
- text-align: left;
- }
- .cookies {
- font-size: 14px;
- }
- #acc_cookies {
- font-size: 16px;
- }
- #motywtxt {
- float: left;
- margin-right: 8px;
- }
- @media screen and (min-width: 992px) {
- #motywtxt {
- transition: 0.5s;
- transform: scaleX(0);
- transform-origin: 100% 100%;
- }
- }
- .scalex {
- transform: scaleX(1) !important;
- }
- .img-thumbnail{
- border: 1px solid #640064 !important;
- box-shadow: 1px 2px 8px 1px black;
- }
- </style>
- <body>
- <header>
- <!-- START: REGULAMIN -->
- <div class="modal fade" id="regulamin" tabindex="-1" aria-labelledby="regulamin_naglowek" aria-hidden="true">
- <div class="modal-dialog modal-lg">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title" id="regulamin_naglowek">Regulamin</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <ul id="regulations">
- <li class="regulaminli">Nacisnij klawisz na klawiaturze</li>
- <li class="regulaminli">Pellentesque tincidunt augue quis felis pretium, ut venenatis turpis auctor.</li>
- <li class="regulaminli">Maecenas at felis tincidunt, faucibus sapien vel, iaculis eros.</li>
- <li class="regulaminli">Pellentesque eget arcu vitae ligula sollicitudin aliquam ut ac leo.</li>
- <li class="regulaminli">Phasellus convallis sem rhoncus, tempor nisl in, bibendum ipsum.</li>
- <li class="regulaminli">Integer pulvinar urna quis fermentum dignissim.</li>
- <li class="regulaminli">Morbi tincidunt sem vitae nulla egestas, a pharetra nibh malesuada.</li>
- <li class="regulaminli">Sed porttitor erat sed finibus iaculis.</li>
- <li class="regulaminli">Mauris quis turpis sodales, pharetra eros sit amet, porttitor elit.</li>
- <li class="regulaminli">Sed eget nibh tempus, accumsan neque eu, tempor libero.</li>
- <li class="regulaminli">Maecenas ac odio id orci faucibus semper.</li>
- <li class="regulaminli">Donec tincidunt dui id quam dictum viverra.</li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- <div class="modal fade" id="login" tabindex="-1" aria-labelledby="login" aria-hidden="true">
- <div class="modal-dialog modal-lg">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title" id="login_header">Zaloguj / Zarejestruj się</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <div class="row">
- <div class="col-md-6 col-xl-6">
- <h5>Zaloguj się</h5>
- <p>Masz już u nas konto? Zaloguj się :)</p>
- <form id="contact-form1" name="contact-form" action="mail.php" method="POST">
- <div class="row">
- <div class="col-md-12">
- <div class="md-form">
- <input type="text" id="loginlog" name="Login" class="form-control" placeholder="Login">
- <br>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-md-12">
- <div class="md-form">
- <input type="password" id="passwordlog" name="password" class="form-control" placeholder="Hasło">
- <br>
- </div>
- </div>
- </div>
- <div class="center-on-small-only">
- <a id="formsend" class="btn btn-lg btn-block btnsend" onclick="" style="color: white;">Zaloguj się</a>
- </div>
- </form>
- </div>
- <div class="col-md-6 col-xl-6">
- <h5>Zarejestruj się</h5>
- <p>Nie masz jeszcze u nas konta? Zarejestruj się!</p>
- <form id="contact-form2" name="contact-form" action="mail.php" method="POST">
- <div class="row">
- <div class="col-md-12">
- <div class="md-form">
- <input type="text" id="loginreg" name="Login" class="form-control" placeholder="Login">
- <br>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-md-12">
- <div class="md-form">
- <input type="text" id="Emailreg" name="Email" class="form-control" placeholder="Email">
- <br>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-md-12">
- <div class="md-form">
- <input type="password" id="passwordreg" name="password" class="form-control" placeholder="Hasło">
- <br>
- </div>
- </div>
- </div>
- <div class="center-on-small-only">
- <a id="formsend" class="btn btn-lg btn-block btnsend" onclick="" style="color: white;">Zarejestruj się</a>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- KONIEC: REGULAMIN -->
- <nav id="navgora" class="navbar fixed-top navbar-expand-lg navbar-light bd-color">
- <a class="navbar-brand" href="#">NowHoliday</a>
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent-4" aria-controls="navbarSupportedContent-4" aria-expanded="false" aria-label="Toggle navigation">
- <span class="navbar-toggler-icon"></span>
- </button>
- <div class="collapse navbar-collapse nawigacja" id="navbarSupportedContent-4">
- <ul class="navbar-nav nawigacja2 ml-auto">
- <li class="nav-item">
- <a class="nav-link light" id="motyw">
- <p id="motywtxt">Zmień motyw </p> <i id="mtw" class="fas fa-moon"></i>
- </a>
- </li>
- <li class="nav-item">
- <a class="nav-link" id="nvbttn1" href="#omnie"><i class="fa fa-home" aria-hidden="true"></i> Start</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" id="nvbttn2" href="#produkty"><i class="fa fa-plane" aria-hidden="true"></i> Wyjazdy</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" id="nvbttn3" href="#galeria"><i class="fa fa-camera" aria-hidden="true"></i> Galeria</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" id="nvbttn4" href="#kontakt"><i class="fa fa-phone" aria-hidden="true"></i> Kontakt</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" id="nvbttn5" type="button" data-toggle="modal" data-target="#regulamin"><i class="fa fa-list-alt" aria-hidden="true"></i> Regulamin</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" id="nvbttn6" type="button" data-toggle="modal" data-target="#login"><i class="fa fa-sign-in" aria-hidden="true"></i> Logowanie</a>
- </li>
- </ul>
- </div>
- </nav>
- </header>
- <main>
- <div id="container">
- <div id="omnie" data-spy="scroll" data-target="#navgora" data-offset="0">
- <div id="infoomnie">
- <div id="omnietekst">
- <div id="textarea">
- <h1>NowHoliday</h1>Lecimy tam gdzie wiatr nas niesie!
- </div>
- </div>
- </div>
- </div>
- <div id="portfolio">
- <div id="produkty">
- <h1> Najbliższe wycieczki:</h1>
- <div class="bd-example">
- <div id="carouselExampleCaptions" class="carousel slide" data-ride="carousel">
- <ol class="carousel-indicators">
- <li data-target="#carouselExampleCaptions" data-slide-to="0" class="active"></li>
- <li data-target="#carouselExampleCaptions" data-slide-to="1"></li>
- <li data-target="#carouselExampleCaptions" data-slide-to="2"></li>
- </ol>
- <div class="carousel-inner">
- <div class="carousel-item active">
- <img src="zdjecie1.jpg" class="d-block w-100" alt="Grecja">
- <div class="carousel-caption d-none d-md-block">
- <h5>Grecja</h5>
- <p>14 dniowy wyjazd. Cena 6000zł</p>
- </div>
- </div>
- <div class="carousel-item">
- <img src="zdjecie2.jpg" class="d-block w-100" alt="Hiszpania">
- <div class="carousel-caption d-none d-md-block">
- <h5>Hiszpania</h5>
- <p>5 dniowy wyjazd. Cena 1600zł</p>
- </div>
- </div>
- <div class="carousel-item">
- <img src="zdjecie3.jpg" class="d-block w-100" alt="Amsterdam">
- <div class="carousel-caption d-none d-md-block">
- <h5>Amsterdam</h5>
- <p>7 dniowy wyjazd. Cena 11000zł</p>
- </div>
- </div>
- </div>
- <a class="carousel-control-prev" href="#carouselExampleCaptions" role="button" data-slide="prev">
- <span class="carousel-control-prev-icon" aria-hidden="true"></span>
- <span class="sr-only">Poprzednie</span>
- </a>
- <a class="carousel-control-next" href="#carouselExampleCaptions" role="button" data-slide="next">
- <span class="carousel-control-next-icon" aria-hidden="true"></span>
- <span class="sr-only">Następne</span>
- </a>
- </div>
- </div>
- </div>
- <div id="galeria">
- <h1>Galeria zdjęć</h1>
- <hr class="mt-2 mb-5">
- <div class="row text-center text-lg-left">
- <div class="col-lg-3 col-md-4 col-sm-6 col-12">
- <a href="#" class="d-block mb-4 h-100">
- <img class="img-fluid img-thumbnail" src="https://source.unsplash.com/pWkk7iiCoDM/400x300" alt="">
- </a>
- </div>
- <div class="col-lg-3 col-md-4 col-sm-6 col-12">
- <a href="#" class="d-block mb-4 h-100">
- <img class="img-fluid img-thumbnail" src="https://source.unsplash.com/aob0ukAYfuI/400x300" alt="">
- </a>
- </div>
- <div class="col-lg-3 col-md-4 col-sm-6 col-12">
- <a href="#" class="d-block mb-4 h-100">
- <img class="img-fluid img-thumbnail" src="https://source.unsplash.com/EUfxH-pze7s/400x300" alt="">
- </a>
- </div>
- <div class="col-lg-3 col-md-4 col-sm-6 col-12">
- <a href="#" class="d-block mb-4 h-100">
- <img class="img-fluid img-thumbnail" src="https://source.unsplash.com/M185_qYH8vg/400x300" alt="">
- </a>
- </div>
- <div class="col-lg-3 col-md-4 col-sm-6 col-12">
- <a href="#" class="d-block mb-4 h-100">
- <img class="img-fluid img-thumbnail" src="https://source.unsplash.com/sesveuG_rNo/400x300" alt="">
- </a>
- </div>
- <div class="col-lg-3 col-md-4 col-sm-6 col-12">
- <a href="#" class="d-block mb-4 h-100">
- <img class="img-fluid img-thumbnail" src="https://source.unsplash.com/AvhMzHwiE_0/400x300" alt="">
- </a>
- </div>
- <div class="col-lg-3 col-md-4 col-sm-6 col-12">
- <a href="#" class="d-block mb-4 h-100">
- <img class="img-fluid img-thumbnail" src="https://source.unsplash.com/2gYsZUmockw/400x300" alt="">
- </a>
- </div>
- <div class="col-lg-3 col-md-4 col-sm-6 col-12">
- <a href="#" class="d-block mb-4 h-100">
- <img class="img-fluid img-thumbnail" src="https://source.unsplash.com/EMSDtjVHdQ8/400x300" alt="">
- </a>
- </div>
- <div class="col-lg-3 col-md-4 col-sm-6 col-12">
- <a href="#" class="d-block mb-4 h-100">
- <img class="img-fluid img-thumbnail" src="https://source.unsplash.com/8mUEy0ABdNE/400x300" alt="">
- </a>
- </div>
- <div class="col-lg-3 col-md-4 col-sm-6 col-12">
- <a href="#" class="d-block mb-4 h-100">
- <img class="img-fluid img-thumbnail" src="https://source.unsplash.com/G9Rfc1qccH4/400x300" alt="">
- </a>
- </div>
- <div class="col-lg-3 col-md-4 col-sm-6 col-12">
- <a href="#" class="d-block mb-4 h-100">
- <img class="img-fluid img-thumbnail" src="https://source.unsplash.com/aJeH0KcFkuc/400x300" alt="">
- </a>
- </div>
- <div class="col-lg-3 col-md-4 col-sm-6 col-12">
- <a href="#" class="d-block mb-4 h-100">
- <img class="img-fluid img-thumbnail" src="https://source.unsplash.com/p2TQ-3Bh3Oo/400x300" alt="">
- </a>
- </div>
- </div>
- </div>
- <div style="clear: both"></div>
- <div id="kontakt">
- <section class="section">
- <h2 class="section-heading h1 pt-4">Kontakt</h2>
- <p class="section-description">Masz jakieś pytanie? Chcesz złożyć u mnie zlecenie. Skontaktuj się ze mną!</p>
- <div class="row">
- <div class="col-md-4 col-xl-3">
- <ul class="contact-icons">
- <li><i class="fa fa-map-marker fa-2x"></i>
- <p>Łaska 61, 98-331 Zduńska Wola</p>
- </li>
- <li><i class="fa fa-phone fa-2x"></i>
- <p>+42 421 392 2</p>
- </li>
- <li><i class="fa fa-envelope fa-2x"></i>
- <p>kontakt@zse-zdwola.pl</p>
- </li>
- </ul>
- </div>
- <div class="col-md-8 col-xl-9">
- <form id="contact-form3" name="contact-form" action="mail.php" method="POST">
- <div class="row">
- <div class="col-md-6">
- <div class="md-form">
- <input type="text" id="name" name="name" class="form-control" placeholder="Imię">
- <label class="display_none" for="message">Imię</label><br>
- </div>
- </div>
- <div class="col-md-6">
- <div class="md-form">
- <input type="text" id="email" name="email" class="form-control" placeholder="E-mail">
- <label class="display_none" for="message">E-Mail</label><br>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-md-12">
- <div class="md-form">
- <input type="text" id="subject" name="subject" class="form-control" placeholder="Temat">
- <label class="display_none" for="message">Temat</label><br>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-md-12">
- <div class="md-form">
- <textarea type="text" id="message" name="message" rows="2" class="form-control md-textarea" placeholder="Treść"></textarea>
- <label class="display_none" for="message">Treść</label><br>
- </div>
- </div>
- </div>
- </form>
- <div class="center-on-small-only">
- <a id="formsend" class="btn btn-lg btn-block btnsend" onclick="" style="color: white;">Wyślij wiadomość</a>
- </div>
- <div class="status"></div>
- </div>
- <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d4325.26923519599!2d18.944823161099706!3d51.5989293977662!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x471a5b7a2a1a96cd%3A0x1d7d13942ee3c475!2s%C5%81aska%2061%2C%2098-311%20Zdu%C5%84ska%20Wola!5e1!3m2!1spl!2spl!4v1573750614389!5m2!1spl!2spl" frameborder="0" style="border:0;" allowfullscreen=""></iframe>
- </div>
- </section>
- </div>
- </div>
- </div>
- </main>
- <!-- START: STOPKA -->
- <footer>
- <div style="clear: both">
- <div id="stworzone">@2021 by Karol Woźniak. Proudly created for ZSE</div>
- </div>
- </footer>
- <!-- KONIEC: STOPKA -->
- <!-- START: CIASTECZKA -->
- <div class="alert fixed-bottom alert-dark fade show cookies" role="alert">
- <div class="col"><strong>Ciasteczka!</strong> Nasza strona wykorzystuje ciasteczka, aby świadczyć usługi na najwyższym poziomie. Dalsze korzystanie ze strony oznacza, że zgadzasz się na ich użycie</div>
- <div class="col"><button type="button" class="close" data-dismiss="alert" aria-label="Close">
- <span id="acc_cookies" aria-hidden="true">Zgadzam się!</span>
- </button></div>
- </div>
- <!-- KONIEC: CIASTECZKA -->
- <!-- START: SKRYPTY -->
- <!-- SKRYPT ZMIANY MOTYWU -->
- <script>
- const nvbtn = document.getElementById("motyw");
- console.log(motyw);
- const kontakt = document.getElementById("kontakt");
- console.log(kontakt);
- const h1 = document.getElementsByTagName("h1");
- console.log(h1);
- const navbc = document.getElementsByClassName("bd-color");
- const body = document.querySelector("body");
- console.log(body);
- const nav = document.getElementById("navgora");
- console.log(navgora);
- const mtw = document.getElementById("mtw");
- console.log(mtw);
- nvbtn.addEventListener("click", function() {
- // PRZEJSCIE NA CIEMNY MOTYW
- if (nvbtn.classList.contains("light") == true) {
- nvbtn.classList.remove("light");
- mtw.classList.remove("fa-moon");
- mtw.classList.add("fa-sun");
- mtw.style.color = "yellow";
- body.style.backgroundColor = "#18191a";
- body.style.transition = "1s";
- body.style.color = "#ffffff";
- kontakt.style.color = "#ffffff";
- if (h1.length > 0) {
- for (let i = 0; i < h1.length; i++) {
- h1[i].style.color = "#ffffff";
- }
- }
- if (navbc.length > 0) {
- for (let i = 0; i < navbc.length; i++) {
- navbc[i].style.backgroundColor = "#18191a";
- navbc[i].style.transition = "1s";
- }
- }
- nav.classList.remove("navbar-light");
- nav.classList.add("navbar-dark");
- }
- // PRZEJSCIE NA JASNY MOTYW
- else {
- nvbtn.classList.add("light");
- mtw.classList.remove("fa-sun");
- mtw.classList.add("fa-moon");
- mtw.style.color = "";
- body.style.backgroundColor = "";
- body.style.color = "";
- kontakt.style.color = "";
- if (h1.length > 0) {
- for (let i = 0; i < h1.length; i++) {
- h1[i].style.color = "";
- }
- }
- if (navbc.length > 0) {
- for (let i = 0; i < navbc.length; i++) {
- navbc[i].style.backgroundColor = "";
- }
- }
- nav.classList.remove("navbar-dark");
- nav.classList.add("navbar-light");
- }
- });
- // Kolor przycisku wyślij
- const formsend = document.getElementById("formsend");
- formsend.addEventListener("mousemove", function() {
- formsend.style.background = "purple";
- formsend.style.transition = "all 1s ease-out 0s";
- })
- formsend.addEventListener("mouseout", function() {
- formsend.style.background = "";
- })
- // Podkreślenie przycisków nawigacji
- const nvbttn1 = document.getElementById("nvbttn1");
- nvbttn1.addEventListener("mousemove", function() {
- nvbttn1.style.borderBottom = "solid";
- nvbttn1.style.transition = "all 0.2s ease 0s";
- })
- nvbttn1.addEventListener("mouseout", function() {
- nvbttn1.style.borderBottom = "";
- })
- const nvbttn2 = document.getElementById("nvbttn2");
- nvbttn2.addEventListener("mousemove", function() {
- nvbttn2.style.borderBottom = "solid";
- nvbttn2.style.transition = "all 0.2s ease 0s";
- })
- nvbttn2.addEventListener("mouseout", function() {
- nvbttn2.style.borderBottom = "";
- })
- const nvbttn3 = document.getElementById("nvbttn3");
- nvbttn3.addEventListener("mousemove", function() {
- nvbttn3.style.borderBottom = "solid";
- nvbttn3.style.transition = "all 0.2s ease 0s";
- })
- nvbttn3.addEventListener("mouseout", function() {
- nvbttn3.style.borderBottom = "";
- })
- const nvbttn4 = document.getElementById("nvbttn4");
- nvbttn4.addEventListener("mousemove", function() {
- nvbttn4.style.borderBottom = "solid";
- nvbttn4.style.transition = "all 0.2s ease 0s";
- })
- nvbttn4.addEventListener("mouseout", function() {
- nvbttn4.style.borderBottom = "";
- })
- const nvbttn5 = document.getElementById("nvbttn5");
- nvbttn5.addEventListener("mousemove", function() {
- nvbttn5.style.borderBottom = "solid";
- nvbttn5.style.transition = "all 0.2s ease 0s";
- })
- nvbttn5.addEventListener("mouseout", function() {
- nvbttn5.style.borderBottom = "";
- })
- const nvbttn6 = document.getElementById("nvbttn6");
- nvbttn6.addEventListener("mousemove", function() {
- nvbttn6.style.borderBottom = "solid";
- nvbttn6.style.transition = "all 0.2s ease 0s";
- })
- nvbttn6.addEventListener("mouseout", function() {
- nvbttn6.style.borderBottom = "";
- })
- // Formatowanie nagłówka, Zmiana tekstu i dodanie tekstu
- const regulamin = document.getElementById("regulamin_naglowek");
- regulamin.innerHTML = "<p><b>Regulamin</b></p>"
- const ul = document.getElementById("regulations").getElementsByTagName("li");
- ul[1].textContent = "Tutaj jakiś tekst";
- ul[2].textContent = "Tutaj też jakiś tekst";
- var newEl = document.createElement('li');
- var textEl = document.createTextNode('dodany tekst');
- newEl.appendChild(textEl);
- var position = document.getElementsByTagName('ul')[0];
- position.appendChild(newEl);
- // Zmiana koloru linijki regulaminu po wciśnięciu przycisku na klawiaturze
- const html = document.querySelector("html");
- const regulaminli = document.querySelectorAll("li.regulaminli");
- console.log(regulaminli);
- html.addEventListener("keydown", function() {
- regulaminli[0].style.color = "green";
- })
- html.addEventListener("keyup", function() {
- regulaminli[0].style.color = "black";
- })
- // Pojawianie się tekstu zmiany motywu
- const motywtxt = document.getElementById("motywtxt");
- motyw.addEventListener("mouseover", function() {
- motywtxt.classList.add("scalex");
- })
- motyw.addEventListener("mouseout", function() {
- motywtxt.classList.remove("scalex");
- })
- const mail = document.getElementById("Emailreg");
- mail.addEventListener('blur', function(){
- const i=nick.value;
- if(i.Reg)
- })
- </script>
- <!-- -->
- <script src="https://kit.fontawesome.com/0a17ea94fd.js" crossorigin="anonymous"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
- <script src="js/bootstrap.min.js"></script>
- <!-- KONIEC: SKRYPTY -->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement