Questions tagged as 'html'

2
answers

How to add javascript files according to the viewport / device?

I'm using the script skrollr.js on a website and when opening it on mobile the scroll bar is not working (it's like if the touch of the cell phone was blocked). I was wondering how to disable scripts when the user accesses cell phones, since I...
asked by 27.06.2014 / 22:36
1
answer

Is there any way to detect that an attribute has changed in HTML?

I would like to know if you have a javascript check if an attribute of an element has been changed or not. For example: If I have a input , I put the required attribute on it, and someone goes there and deletes required of...
asked by 13.02.2015 / 13:37
2
answers

Mark / uncheck all dynamically created checkboxes

I'm creating checkboxes from the DB. I have another one that defines whether all the others are marked or not. When I run the first time it works fine, but the second one does not. HTML <div class="row smart-form"> <section cla...
asked by 10.03.2015 / 18:09
1
answer

How to apply css to the body inside an iframe?

I want to apply background: transparent no body that is created inside an iframe. For example: <iframe src="http://www.meusiteteste.com.br"id="frame_result_show" frameborder="0"></iframe> Is there any way?     
asked by 10.04.2014 / 17:27
1
answer

Real-time values in the input class type="range"

Well, I tried to make the values in a input type="range" show in real time the user to select more I can not. with jquery it is also the same only when you release the mouse button from class input type="range" that the value is de...
asked by 12.05.2014 / 06:24
2
answers

Replace the / symbols with Javascript

I would like to know how to replace the < /> symbols with Javascript. I'm using the <code></code> tag to display a code, but I do not want it to be rendered in the browser. I know I can use &#60; and...
asked by 30.03.2014 / 16:04
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

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