Posts by Ricardo Ribeiro • 111 points
6 posts
-
1
votes1
answer595
viewsA: Automatic height chat iframe
I don’t know if this is what you ask for, but I did it to be height: 60px; normal and after clicked stay height: 500px; First I created an iframe: http://fiddle.jshell.net/peLr1adu/2/ and within it…
-
1
votes2
answers11683
viewsA: Make file available for download via Avascript
Hello, this will do? The attribute download downloads the file in href. function mudarLink() { var baixar = document.getElementById('baixar'); baixar.href =…
-
0
votes1
answer75
viewsA: Using Enter in F5
Your code seems to have some errors. The <style> must be within <head> and the <iframe> must be within <body>. I don’t know if you have jQuery, but the code doesn’t seem to…
javascriptanswered Ricardo Ribeiro 111 -
3
votes1
answer735
viewsA: Dynamic circle using css and javascript only
It is possible: //Primeiro definimos as variaveis //para sabermos se é o primeiro ou segundo clique var click = false; //posições x e y do primeiro clique var c1x = 0; var c1y = 0; //posições x e y…
-
3
votes5
answers16847
viewsA: Take parameters from the URL
Here’s how to take all the parameters and put into an object: //Array de parametros 'chave=valor' var params = window.location.search.substring(1).split('&'); //Criar objeto que vai conter os…
javascriptanswered Ricardo Ribeiro 111 -
0
votes2
answers287
viewsA: Lightbox does not cover the entire screen
Instead of position: absolute; place position: fixed; .mtlsr-lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999999999999; }…