Questions tagged as 'html'

1
answer

How to improve a star rating code?

I have a website and certain points hold me, like this evaluation, is not very cool this script , someone fit can improve for me or tell me what can improve, to leave the code more organized, check if user selected some star, give error message...
asked by 15.12.2015 / 23:24
2
answers

Reposition the side menu for floating while decreasing window

Good afternoon. I've been doing a lot of research on google, American stackoverflow and here, but I could not find what I needed. If I found something similar maybe you did not identify that it could serve me. I am a beginner / trainee in thi...
asked by 02.01.2019 / 21:29
2
answers

Error in uppercase count

I am creating a function in jquery where the user typing their password, this function identifies how many uppercase characters there are in this password, in order to calculate the strength of that password. I even managed to make this f...
asked by 02.02.2015 / 11:58
1
answer

Internet Explorer restricted script execution

Whenever I open the HTML page in IE I get the following message:    internet explorer has restricted the execution of scripts or activex controls For the page to appear correctly I have to enable this. Is there any way to fix this in HTML...
asked by 02.02.2015 / 16:20
1
answer

Transform div's into input and validate them in a form

I have a div with the attribute contenteditable="true" , which opens the text box in order to write directly on the div, right, so far so good, just what kind, I wanted to use this div as an input a form, I did not want use the input even...
asked by 20.07.2018 / 15:17
2
answers

How to set menu with fadeIn effect?

I have the following code that sets the menu using bootstrap: $(window).scroll(function(){ scroll = $(window).scrollTop(); if(scroll > 500) { $('.navbar').addClass('sticky-top') } else { $('.navbar').removeClass('sti...
asked by 23.07.2018 / 17:00
1
answer

Cut pixels from the image without distorting it

Good morning! I want to cut the sides of a photo without distorting it, is it possible? For example, I have this image here: <img src="https://i.stack.imgur.com/4oeoT.jpg"name="Foto Teste" alt="Foto Teste"/> She has 120...
asked by 02.08.2018 / 16:23
1
answer

dropdown with pure javascript

Talk to people, good morning, I need a help with a dropdown. every donation in the database I have a button that I click on the items that have been donated. I have the following line of code: user-donation.js const dropdownBtns = doc...
asked by 13.11.2018 / 14:48
2
answers

PHP - List the files in a directory [duplicate]

I have more than a thousand pages in html , I would like my script below to list all the files in a directory instead of being manually uploaded, today I have to do a one . It's not viable! Please see the code below: <?p...
asked by 13.01.2017 / 20:58
1
answer

How to use anchor in AngularJS?

I'm starting to work with AngularJS and I have the following situation I have a href that redirects to a div within the page itself by the div id: <a href="#teste"></a> <div id="teste"></div> But AngularJS tries to...
asked by 21.06.2018 / 22:20