Posts by Will • 315 points
16 posts
-
-2
votes1
answer27
viewsQ: How to replace a word in javascript?
How to replace the word "Minutes" with "Minutes" inside the div.info-box? <div class="info-box"> <span class="date-info">13 de julho de 2021</span> <span…
javascriptasked Will 315 -
0
votes2
answers73
viewsQ: How to add class with pure javascript (no jQuery)
I would like to know how to do that when the second element from the first ul receive the class ". active" the class image ". img2" receive a class of type "active-image" with pure javascript.…
javascriptasked Will 315 -
0
votes3
answers98
viewsQ: How to select a specific ul with jquery
$('.menu-expand').click(function () { $(this).find('ul').toggleClass("menu-mobile-expandido"); }); I would select not any ul, but the first ul within the class .menu-expand. I tried to use…
-
0
votes1
answer57
viewsQ: Theme / Wordpress template for Woocommerce with simulator
How should I search on a Woocommerce theme that allows the site user to assemble their product? I need to create a website with a simulator like this site: http://makeacake.com.br Someone recommends…
-
0
votes1
answer302
viewsQ: Parallax.js does not work in Chrome for Mobile
The effect Parallax.js (http://pixelcog.github.io/parallax.js/) works only for desktop browsers. Something can be done to make the effect visible on mobile devices? I’m using the default classes and…
-
1
votes2
answers265
viewsQ: Redirect to browser language based subdomain
What is the correct method to direct a site’s navigation to a specific page based on the user’s browser language? I have a website (www.site.com) with the default language in English and I need…
-
13
votes2
answers2314
viewsQ: Translation of static website content into 4 languages
What tool have you used to release the option of translating content from a static HTML site to another language? Some jquery plugin, some api? What is the best practice currently aiming at…
-
0
votes1
answer175
viewsQ: Div display only after full upload of the same (Preloader)
Hello, everybody! I don’t know anything about javascript, but I would like to change this js code so that the contents of a particular div only appear after loading it and not after loading the…
-
1
votes2
answers106
viewsQ: Optimized javascript snippet writing (semantics)
Hello, everybody! I would like to know the correct way to write this simple Javascript excerpt: By clicking on the div ". plus", all the Divs ". contents" are expanding. What is the correct writing…
-
1
votes1
answer685
viewsQ: How to upload images only after clicking button
Hello, everybody! I would like to know how I can make several li’s be loaded only when the user clicks the "see more". In the following example, I would like that, when accessing the page, only the…
-
1
votes2
answers406
viewsQ: Menu link color changes when scroll is over its respective section
Hello, everybody! Which Javascript code should I insert so that when the user is browsing (scrolling) over some section the "li a" receives a new class so that the color of the link is changed?…
-
4
votes2
answers2528
viewsQ: To undo the mouse scroll (zoom) action on a google map Iframe
How to undo the mouse scroll (zoom) action on google map in this Iframe? Is it possible to do this directly in this code or do I have to use Java Script? If you have to use js, how do I get this…
-
0
votes2
answers205
viewsQ: Media Queries for Java Script - What is the error in this syntax?
This is the first time I try to apply a rule of media queries in java script and, as a beginner, I believe something in this syntax is wrong, since the only function that is working is the second…
-
0
votes1
answer97
viewsQ: How to fix a menu with jQuery?
I am beginner and I would like to know what the error of this code: var nav = $('.topo'); $(window).scroll(function () { if ($(this).scrollTop() > 136) { nav.addClass("fixar"); } else {…
-
1
votes1
answer136
viewsQ: How to create a menu with jquery that performs this effect after scroll?
Hello, my friends. I’m a beginner and I would like to know how I apply this effect in a fixed menu (for desktops) so that when the user navigates to the following Section (after #home Section) a…
-
4
votes3
answers7717
viewsQ: Open and Close div using the same Javascript button
I would like to make a menu appear and disappear (with fadein and fadeOut) using the same button, which in the case is a button with class ". hamburger" and I’m not sure how to do. Ps: I would like…