Javascript-форум (https://javascript.ru/forum/)
-   jQuery (https://javascript.ru/forum/jquery/)
-   -   Паралакс, что-то глючит (https://javascript.ru/forum/jquery/52674-paralaks-chto-glyuchit.html)

рони 20.11.2015 02:55

helgajijka,
ссылки на тему
https://codyhouse.co/demo/page-scrol.../parallax.html
https://codyhouse.co/demo/pull-out-i...ect/index.html
http://codyhouse.co/demo/fixed-backg...ect/index.html
https://codyhouse.co/demo/alternate-...und/index.html

helgajijka 21.11.2015 15:55

рони,
Спасибо Вам еще раз!
Я тут закопалась немного, и в итоге посмотрела Ваши ссылки, только сейчас))
Все таки хочу выложить как в нашем случае пришлось сделать, так, чтобы дизайнеру понравилось)) вообще решение оказалось на сss.

<!DOCTYPE HTML>
<html>
<head>
  <title>Template</title>
  <meta charset="utf-8">
  <style type="text/css">
  html, body{
      height: 100%;
      margin: 0px;
      padding: 0px;
  }
  .logo-block{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 620px;
    background-image: url("http://javascript.ru/forum/images/ca_serenity/misc/logo.gif");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: 1;
  }
.wrapper{
    position: relative;
    min-height: 100%;
    height: auto;
    padding-top: 620px;
    z-index: 100;
}
.logo-text{
    position: absolute;
    top: 0;
    left: 10%;   
    background-color: transparent;
}
 .logo{
  padding: 200px 0 0;
  font-size: 50px;
  color: #fff;
  text-align: center;
 }
 .section-promo-block{
     height: 1000px;
     background:  #333;
  }

  </style>
</head>
<body>
   <div class="logo-block"></div>
     <div class="wrapper">
        <div class="logo-text">
             <div class="logo">
                 <h1>Промо заголовок</h1>
             </div>           
        </div>
       <div class="section-promo-block"></div>
        <footer></footer>
     </div>
</body>
</html>

рони 21.11.2015 16:05

helgajijka,
:)


Часовой пояс GMT +3, время: 06:13.