Questions tagged as 'jquery'

4
answers

Adding and removing classes when clicking Jquery [duplicate]

Good afternoon, I would like to add and remove the "active" classes by clicking each option, and displaying the contents of each one, follows the jsfiddle example. Thanks Html: <ul> <li> <a class="active">Opção 1&l...
asked by 17.04.2018 / 19:22
6
answers

How to count page views on a site

I'd like to implement a pageview counter on my site, display a numeric reference on the site, and use that data to perform a top-ranked article / post ranking and automatically insert a widget in the sidebar of the site. Node.js solves the pr...
asked by 10.03.2014 / 21:17
2
answers

Check checkbox if value is equal to 1

Hello! Through the function below: success: function( tbl_permissao ) { obj_permissao = tbl_permissao; var permissoes = phpUnserialize(obj_permissao.permissoes); console.log(permissoes);...
asked by 21.07.2017 / 18:34
2
answers

Button to copy page html

I need to provide a button where users will just click and copy all the code that was used to develop that page. I saw many similar questions, but none could solve my problem. It would be basically so, imagine that the example code below corr...
asked by 05.02.2018 / 13:22
2
answers

Button to open / close content

Hello, I'm new here and also with programming ... I have several divs with different contents and are hidden, I would like that when I click on a button continue reading it closes and displays the contents of a certain div and other divs is hidd...
asked by 13.11.2017 / 04:38
1
answer

problems with Tooltip in jQuery and css

Galera montei um sisteminha de Tooltip bem simples usando jQuery e css. They are presenting the standard Tooltip when you hover over it. This happens only in IE, Safari and old Chrome. look at the error photo: Cananyonehelpme?Followthecode...
asked by 14.09.2016 / 21:30
1
answer

touchend as mouseleave not to enable onClick effects in jQuery

I have a problem with the click of touch if it is still on top of the element or not (in this case mouseleave ) I modified a code already posted on the Problem in capturing the position of the element when there is a scroll in jQue...
asked by 18.09.2016 / 06:52
1
answer

How can I Embed texts and return from the last one to the first slideshow image? [closed]

I have 9 images and are to be shown in a slide , with button mousein , mouseout , Loading , Z-index . So far so good, CSS is right. In slideshows I have not been able to put my texts to follow the photos I show. I d...
asked by 15.11.2014 / 14:22
2
answers

SlideToggle in jQuery does not work as it should!

I'm studying jQuery and I'm using slideToggle and as the documentation says, it should slide to its current opposite position. I do not quite understand this but it just slides down. $(document).ready(function(){ $('li')...
asked by 30.10.2018 / 02:53
3
answers

Capture click with Jquery and add css

I'm a beginner in Jquery and I have the following question. I have div and ul with several li . The ul is as display:none , I want to trigger display:block when I click on the div. As below: <di...
asked by 02.04.2014 / 14:13