-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task/slider #2
base: dev
Are you sure you want to change the base?
Task/slider #2
Conversation
slider.html
Outdated
</div> | ||
</section> | ||
|
||
<script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vc manja pq colocamos esse tipo de script no fim da pagina?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pra ler depois que a pagina abrir??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chamam de javascript nao intrusivo. desse jeito vc sabe que a sua pagina vai carregar ele por ultimo.
slider.html
Outdated
showDivs(slideIndex += n); | ||
} | ||
|
||
function showDivs(n) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vc que criou essas funcoes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
claro que não kkkkk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kkk entao vamos apagar. e vc vai fazer do zero. E to falando serio 😈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
concodo
css/style.css
Outdated
-webkit-animation: fadein 1s; /* Safari and Chrome */ | ||
-o-animation: fadein 1s; /* Opera */ | ||
} | ||
@keyframes fadein { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jkdfskfjjh ah fsa hsfadjhsdfajfdshajkfesahjkfad
slider.html
Outdated
var slideIndex = 1; | ||
showDivs(slideIndex); | ||
|
||
function plusDivs(n) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
por skldfjflçds jlkqwjlkfjsdahj fkodsç
slider.html
Outdated
showDivs(slideIndex += n); | ||
} | ||
|
||
function showDivs(n) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
concodo
slider.html
Outdated
var x = document.getElementsByClassName("item"); | ||
for (i = 0; i < x.length; i++) { | ||
x[i].style.display = "none"; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fsajç hshaf fwqeahfsad
Teste ....
Em 10 de mar de 2018 9:52 AM, "Felipe Verissimo" <[email protected]>
escreveu:
… ***@***.**** requested changes on this pull request.
------------------------------
In slider.html
<#2 (comment)>:
> + <h1>AQUI INICIAMOS GRANDES COISAS</h1>
+ </div>
+ </div>
+ <div class="item" style="background: url('img/imagem2.jpg');"></div>
+ <div class="item" style="background: url('img/imagem3.jpg');"></div>
+ <button class="button display-left" onclick="plusDivs(-1)">❮</button>
+ <button class="button display-right" onclick="plusDivs(+1)">❯</button>
+ </div>
+ </div>
+ </section>
+
+ <script>
+ var slideIndex = 1;
+ showDivs(slideIndex);
+
+ function plusDivs(n) {
por skldfjflçds jlkqwjlkfjsdahj fkodsç
------------------------------
In slider.html
<#2 (comment)>:
> + <div class="item" style="background: url('img/imagem3.jpg');"></div>
+ <button class="button display-left" onclick="plusDivs(-1)">❮</button>
+ <button class="button display-right" onclick="plusDivs(+1)">❯</button>
+ </div>
+ </div>
+ </section>
+
+ <script>
+ var slideIndex = 1;
+ showDivs(slideIndex);
+
+ function plusDivs(n) {
+ showDivs(slideIndex += n);
+ }
+
+ function showDivs(n) {
concodo
------------------------------
In slider.html
<#2 (comment)>:
> + if (n < 1) {slideIndex = x.length}
+ for (i = 0; i < x.length; i++) {
+ x[i].style.display = "none";
+ }
+ x[slideIndex-1].style.display = "block";
+ }
+
+ var slideIndex = 0;
+ carousel();
+
+ function carousel() {
+ var i;
+ var x = document.getElementsByClassName("item");
+ for (i = 0; i < x.length; i++) {
+ x[i].style.display = "none";
+ }
fsajç hshaf fwqeahfsad
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#2 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfkyOWllYQrAFopTwiKEs6yQ_KxlwIm0ks5tc8ylgaJpZM4ShwOL>
.
|
Criado o laytout do sliders, junto css, e JS