Questions tagged as 'html'

2
answers

How to be less repetitive in my JavaScript codes?

My code looks big and clumsy, is there a way to make it smaller? Something like "easier to write", or less? Here's my example, as you can see, I need to repeat this block 5 times , to display only one button at a time and its <div>...
asked by 09.08.2016 / 02:31
2
answers

Change field from hidden to text with javascript

All good personal? So, I have a field of type hidden, I need to assign a value to it and change it from hidden to text after the calculation function calc(){ var myVar = formCalc.myCamp.value; document.getElementById("calcFeito").va...
asked by 18.07.2016 / 07:06
2
answers

Select checked when returning

I have the following code: <p>Status</p> <select id="st" name="st" value="<?php echo $DsStatus; ?>" /> <option value="0">➖</option> <option value="1">➖⬆</option> <option value="2"&...
asked by 22.01.2016 / 14:48
1
answer

Strange character at the beginning of the site pages

I'm developing a website in PHP and MYSQL and all pages are displaying the following characters at the top of the page: ï »¿ Each page (index, about, contact ...) to be opened has in the upper left corner, right at the top, this dirt. I alread...
asked by 28.01.2016 / 02:34
2
answers

Change Bootstrap icon in the Mobile version

I have this code: <i class="glyphicon glyphicon-arrow-right"></i> which is a bootstrap icon from an arrow to the side. I want to make sure that when a person connected to the site is accessing the mobile phone, it displays this...
asked by 11.11.2015 / 04:28
3
answers

How to change the color of just one word in a paragraph?

For example, in a paragraph: <p id="paragrafo"> Bla bla bla banana uva morango bla bla bla </p> How would I change the color of the word "grape", for example?     
asked by 04.01.2019 / 02:40
3
answers

Add enumerator to a table in PHP

I wanted to add a sequential numeric enumerator (1, 2, 3, ...) to names that are obtained through a query. The end result would be: sequencial | Nome ----------------- 1 | João 2 | Pedro 3 | ... The code I curr...
asked by 29.05.2014 / 13:58
2
answers

How to open the Twitter site inside an Iframe

I'm trying to open the Twitter site inside an iframe <iframe src="https://twitter.com/"width="700" height="700" scrolling="no" ></iframe> or showing a particular subject <iframe src="https://twitter.com/search?q=Agricultu...
asked by 21.11.2014 / 19:57
2
answers

How to put concatenated variable within an a?

I have this php line: echo '<a href="?p=ultimasnoticias&pagina='.$i.'">'.$i.'</a>'; I need to put .$i. between <a>.$i.</a> in my html script, eg: <nav> <ul> <li> <...
asked by 10.09.2018 / 02:52
2
answers

Apply the Blur effect to the floating box bottom

I have a simple function in jscript that opens a floating box, but when the floating box opens I wanted the background to have the blur effect, but I can not leave the background with this effect, I already tried several methods and I was not su...
asked by 03.11.2018 / 03:19