Questions tagged as 'javascript'

1
answer

Problems with mouseenter () and mouseleave ()

When I move the mouse in the first link with the class show_post it displays the correct div that it has to display, but when I mouse in the second link the script opens the 2 divs and not just the requested one. Follow the fiddle: link...
asked by 16.04.2014 / 20:53
1
answer

How do I apply a Loading effect before loading the page?

Is there any way to use JavaScript / jQuery to measure loading a page and display a .GIF image until it loads? I see examples, such as Preloader CSS3 , which only use CSS3, which makes me think that the loading is done in a "false" way, seei...
asked by 02.06.2014 / 03:55
2
answers

Event that identifies when the browser is resized.

Is there any event javascript that identifies when the browser resizes the page? I'm having problems with page resizing with a FancyBox window, which loses its dynamic changes and returns the setting when it was opened.     
asked by 20.03.2014 / 18:46
3
answers

How to put a title in the caption of the angular-chart

In my line chart I wanted to when I hovered the mouse on the chart line when the caption appeared, and it had a caption. This is only possible by filling the array of labels, but it appears below the graph, on the "X" axis the names, and I do no...
asked by 07.04.2016 / 22:36
1
answer

How long is the data allocated to functions?

In a language, (I do not know if it has any difference in others, but I may consider JavaScript) when I have this situation: function a() { b(); } function b() { c(); } function c() { d(); } function d() { e(); } function e...
asked by 06.04.2016 / 15:25
1
answer

Create inputs for images dynamically and switch to Servlet without redirecting page?

I would like to create a button that causes a input to appear for sending images. This button can be used multiple times. When the user clicks the submit button, those images must be sent to the server without reloading the page....
asked by 05.04.2016 / 23:39
1
answer

Loading multiple images through Javascript

I'm trying to upload an image through Javascript but it did not work. In the HTML it looks like this: <img src="img/bola.jpg/> , but in Javascript I do not know. The code below is to show loading of several images, but I do not kn...
asked by 06.04.2016 / 03:27
2
answers

How to remove blocking CSS and Javascript files in Blogger, such as Widgets.js?

I'm trying to optimize the loading speed of my Blogger site by removing unneeded CSS files that I do not use, nor do I intend to do in the future. For example: <link type="text/css" href="https://www.blogger.com/.../widget_css_bundle.css"/&...
asked by 10.04.2016 / 14:07
1
answer

Get element without id

I have div , and within it a canvas without id and other elements . <div id="itens"> ... <canvas></canvas> ... </div> How can I get canvas using JQuery ?     
asked by 20.08.2015 / 16:31
1
answer

Why is it recommended to put the javascript codes at the end of the body tag scope? [duplicate]

Do you have any rules regarding the use of scripts in the head tag? W3C has not made the usage rules very clear.     
asked by 02.09.2015 / 05:25