Questions tagged as 'javascript'

1
answer

How to use 'while' in an 'isNaN ()'?

I am doing a test of "questionnaire" and to work the user has to enter only numbers, if not type, an error message will be issued for it to repeat the process. I was able to resolve this with the following: if (isNaN(variavel1)) { Varia...
asked by 11.09.2016 / 02:18
2
answers

How to customize scroll bar in Chrome?

I have a select multiple combo that can not take up a lot of vertical space, so the ideal would be to scroll down with that traditional little set to navigate 1 in 1 item down. Is there any way to force the traditional scroll, with javasc...
asked by 27.02.2014 / 20:57
2
answers

Algorithm for calculation and distribution of elements on the screen

We are here in the company wanting to create a showcase with the effect of style reorganization which is used by the stackexchange itself link I've been thinking of position calculation algorithms, but I'm not getting anything conclusive on...
asked by 06.02.2014 / 17:33
2
answers

How to see if a file in input type file was selected?

Is there any way to tell if the file-type input has any files already loaded, ready to be sent? I want to make a condition where you have a file to upload to the first input, then show an add button plus a file input and so on. Is it possi...
asked by 20.02.2014 / 02:34
2
answers

Customizing the Scroll of a 'div'

Since there are many different device resolutions, I'm having a hard time displaying a feed list. Here is an image of how I think it best to display such DIV (list), since the page is responsive and it is not trivial to put a scroll-ba...
asked by 26.02.2014 / 13:07
2
answers

How to force a page to open in the horizontal always?

My page has bugs when viewed vertically, in addition it is best viewed horizontally. Can you force a page to always open horizontally on mobile devices? And stay horizontal.     
asked by 08.02.2014 / 00:37
2
answers

How to interact JavaScript + jQuery with CSS

I have a class in CSS that is called .codigo . I wanted when I was using it, it would remove the HTML formatting (example: make <font></font> appear the same is appearing here in the PT SO, using the .text() metho...
asked by 11.02.2014 / 18:19
1
answer

Object appears in place of the page

My question is this: I want / need a code for my site, which works in the way of this site . In it, when the user uses the scroll of the mouse to descend a little on the page, a little bit (which when clicked, goes back to the top ) appears...
asked by 25.03.2014 / 22:32
3
answers

How to clear the cache in Opera 12?

So, I'm developing with a focus on Opera 12, it has a very interesting debugger, similar to Chrome, but one thing that annoys me a lot is that the refresh does not clear the browser cache, often close the flap and open a new one does not clean to...
asked by 07.02.2014 / 02:35
2
answers

Add value to a checkbox Instantly

As I'm not very familiar with javascript, I'd like some help on how I can do this calculation script, I'd like that when I click on each checkbox it automatically shows me the result on the screen, adding up all the marked and a subtraction of a...
asked by 29.08.2015 / 17:30