Arquivo da categoria: web

adicionar/remover solicitação de edição de google forms

para adicionar coloque “?edit_requested=true” ao fim do endereço do link

para remover, remova o “?edit_requested=true” do link

Anúncios

sugestão picker color

http://jscolor.com/examples/

php: converter hex para rgb

fonte: https://stackoverflow.com/questions/15202079/convert-hex-color-to-rgb-values-in-php

 

If you want to convert hex to rgb you can use sscanf:

<?php
$hex = "#ff9900";
list($r, $g, $b) = sscanf($hex, "#%02x%02x%02x");
echo "$hex -> $r $g $b";
?>

Output:

#ff9900 -> 255 153 0

javascript: alterar texto de div em tempo real enquanto escreve em formulário

código html:

<input id=”fname” onkeyup=”getVal()” type=”text” name=”filter_name” value=””>

código javascript:

function getVal() {
var x = document.getElementById(“fname”);
document.getElementById(“icard”).innerHTML = x.value;
}

 

fontes:
https://stackoverflow.com/questions/19812656/get-text-from-input-and-print-it-in-a-div-in-real-time-html
http://jsfiddle.net/CEv22/372/

Free Call-to-Action Button Generator (CSS and PNG)

http://buttonoptimizer.com/

Dica: Google Web Designer

https://www.edivaldobrito.com.br/como-instalar-o-google-web-designer-no-linux/

https://www.google.com/webdesigner/

FIREFOX – Error code: SEC_ERROR_OCSP_TRY_SERVER_LATER

Solução:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste ocsp and pause while the list is filtered

(3) Double-click the security.ssl.enable_ocsp_stapling preference to switch it from true to false

 

fonte: https://support.mozilla.org/en-US/questions/1120024