Questions tagged as 'html'

1
answer

How to develop an Auto Text Expander with JavaScript or jQuery?

I want to create multiple keywords to work as a shortcut to auto completion. "oi." daria "Olá Amigo" "ate." daria "Abraço e até mais" For example, I type in a textarea of my site the word "test." and automatically and immediately this shor...
asked by 05.06.2017 / 08:56
1
answer

Close modal window when user clicks anywhere outside of modal [closed]

I'm using a modal window plugin, but I'm not able to make the modal window close. JSFiddle example: link (function($){ $.modal = function (el, options) { this.options = options; this.$el = $(el); this.$target = $(el...
asked by 05.06.2017 / 02:20
1
answer

"mask-image" property does not work in Firefox. Is there any workaround?

I'm doing a project where I should apply a mask (PNG or SVG) over an image . I'm using .svg-clipped { mask-image: url("../img/desktop_tds_hist.png") ; -webkit-mask-image: url("../img/desktop_tds_hist.png") ; -webkit-mask-image:...
asked by 05.10.2016 / 19:01
1
answer

Destroy React component (Unmounting Component)

I would like to know how I can destroy a component with React when I click a button. I found a way out, but in my design it is very "gambiarrosa". I have a state called show and when I click close I modify the value of this.state.show...
asked by 16.11.2016 / 19:59
1
answer

Using Code Snippet in HTML5

I'm putting together a page and its content contains HTML snippets of code. I tried inserting snippets of code this way but it did not work: /* <!DOCTYPE html> <html> <body> <p>Arrays :</p> <pre> <...
asked by 21.11.2016 / 14:45
1
answer

Exchanging data-src by SRC [closed]

Good afternoon everyone! I have a question, it can be simple (or not). Can you change attribute? Example, I have an img tag with a data-src attribute. I want to turn this data-src attribute into src. So: <img id="teste" data-src...
asked by 16.11.2016 / 17:11
2
answers

Legend with mouseover in CSS

Well, I have a thumbnail of bootstrap , I implemented within it a div of legend, which should appear with the mouse on top. But it is popping the size of the% of parent%, which in this case is div and Thumbnail ,...
asked by 08.04.2017 / 05:08
1
answer

Php array check for values or keys

[TotalPed] => Array ( [VlrTotalIPI] => 0.00 [VlrTotalItens] => 652.68 [VlrTotalDesc] => 0.00 [VlrTotalPed] => 652.68 [PercComPed] => 0.00 [PercComPed2] => 0.00 [VlrF...
asked by 10.11.2016 / 01:54
1
answer

Stacking Blocks with Bootstrap

I'm doing a layout using bootstrap and I came across a problem at the time of stacking blocks to be responsive. I have 5 blocks of different heights, divided into 3 columns: When you reach a certain width, the blocks are stacked, but th...
asked by 15.08.2016 / 22:56
1
answer

Styling the label in an input file type

Is there a way to style a label of a certain form only when the input of type file is with a selected file?     
asked by 16.08.2016 / 15:33