- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Mer Mai 20, 2015 10:30 pm
test
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Mer Mai 20, 2015 10:37 pm
qqqqq
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Mer Mai 20, 2015 10:37 pm
qqqqqqqq
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Mer Mai 27, 2015 12:47 pm
Admin a écrit:test
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Mer Mai 27, 2015 12:48 pm
- Spoiler:
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Jeu Mai 28, 2015 1:31 am
okok
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Jeu Mai 28, 2015 9:28 am
[ok]Test[/ok]
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Sam Mai 30, 2015 12:29 am
dwindow.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Sam Mai 30, 2015 12:31 am
window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}cx,,,,,,,
});
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}
});window.addEventListener('load', function() {
for(var i = 0, t, text = document.getElementsByTagName('textarea'); (t = text[i++]); ) {
if(/(^|\s)autogrow(\s|$)/.test(t.className)) {
var f = function(e) {
setTimeout(function() {
var t = e.currentTarget;
t.style.height = 'auto';
t.style.height = t.scrollHeight + 2 + 'px';
}, 0);
};
t.style.minHeight = t.style.height = t.offsetHeight + 'px';
t.addEventListener('keyup', f);
t.addEventListener('cut', f);
t.addEventListener('paste', f);
}
}cx,,,,,,,
});
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Dim Mai 31, 2015 5:44 pm
ok
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Dim Mai 31, 2015 6:03 pm
Ótimo tópico. Obrigado por compartilhar!
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Dim Mai 31, 2015 6:04 pm
Ótimo tópico. Obrigado por compartilhar!
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Mar Juin 02, 2015 8:46 am
- Spoiler:
- ok
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Mar Juin 02, 2015 3:37 pm
[gallery][/gallery]
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Jeu Juin 11, 2015 7:08 am
ok
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Lun Juil 20, 2015 10:10 am
dsdsdsd
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Lun Juil 20, 2015 10:13 am
sasasasa
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Dim Juil 26, 2015 11:25 am
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Dim Aoû 02, 2015 10:30 pm
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Jeu Aoû 06, 2015 3:43 pm
- Code:
(function() {
var style = document.createElement("style");
style.type = "text/css";
style.innerHTML =
'code.jsCode_block, pre.jsCode_block {' +
' background-color: #FAFAFA !important;' +
' border: 1px solid #C9C9C9 !important;' +
' color: #000000;' +
' font-family: Consolas,"Bitstream Vera Sans Mono","Andale Mono",Monaco,"DejaVu Sans Mono","Lucida Console",monospace !important;' +
' font-size: 11px !important;' +
' line-height: 110% !important;' +
' margin-top: 0 !important;' +
' max-height: 250px !important;' +
' overflow: auto !important;' +
' padding: 5px !important;' +
' white-space: pre-wrap !important;' +
' width: auto !important;' +
'}' +
'.jsCodetop {' +
' background-color: #FFDEAD !important;' +
' color: #1D3652;' +
' font-size: 10px;' +
' font-weight: bold;' +
' line-height: 100%;' +
' margin-top: 5px;' +
' padding: 2px 1px 2px 3px;' +
'}' +
'.jsCodetop button {' +
' background: -moz-linear-gradient(center top , #EDEDED 5%, #DFDFDF 100%) repeat scroll 0 0 #EDEDED;' +
' border: 1px solid #BBBBBB;' +
' border-radius: 3px 3px 3px 3px;' +
' color: #1D3652;' +
' cursor: pointer;' +
' display: inline-block;' +
' font-size: 10px;' +
' padding: 0 6px;' +
' text-decoration: none;' +
'}' +
'.jsCodetop button:hover {' +
' background: -moz-linear-gradient(center top , #DFDFDF 5%, #EDEDED 100%) repeat scroll 0 0 #DFDFDF;' +
' border-color: #9A9A9A;' +
' color: #3D70A3;' +
'}' +
'.jsCodetop button:active {' +
' position: relative;' +
' top: 1px;' +
'}' +
'pre.jsCode_block.expand, code.jsCode_block.expand {' +
' max-height: 100% !important;' +
'}' +
'pre ol.linenums {' +
' color: #afafaf;' +
' font-size: 12px;' +
' list-style: outside none decimal;' +
' padding: 5px 0 5px 42px !important;' +
' margin: -16px 0 0;' +
' width: auto;' +
'}' +
'pre ol.linenums li > span {' +
' color: #000000;' +
'}' +
'pre ol.linenums li {' +
' border-left: 3px solid #6ce26c;' +
' padding-left: 15px;' +
' list-style: inherit;' +
' font-size: inherit !important;' +
'}';
document.getElementsByTagName("head")[0].appendChild(style);
})();
jQuery(function() {
var tagCode = jQuery('.cont_code, code'),
codebox = null;
for (var i = 0, len = tagCode.length; i < len; i++) {
codebox = jQuery(tagCode[i]).closest('.codebox');
codebox.before(
'<div class="jsCodetop">Code <button onclick="jsCodeExpand(this); return false;">expand</button>' +
' <button style="display: none" onclick="jsCodeCollapse(this); return false;">collapse</button> ' +
' <button onclick="jsCodeSelect(this); return false;">select</button> ' +
' <button onclick="jsCodePopup(this); return false;">popup</button> ' +
' <button style="margin-right: 50px; float: right;" onclick="jsCodeAbout(this); return false;">?</button>' +
'</div>' +
'<pre class="jsCode_block">' +
' <ol class="linenums">' + tagCode[i].innerHTML.replace(/<br>/mg, '<li class="L1"><span>') + '</ol>' +
'</pre>'
);
codebox.remove();
}
});
function jsCodeExpand(oThis) {
jQuery(oThis).css('display', 'none');
jQuery(oThis).next().css('display', '');
jQuery(oThis).parent().next('pre.jsCode_block').addClass('expand');
}
function jsCodeCollapse(oThis) {
jQuery(oThis).css('display', 'none');
jQuery(oThis).prev().css('display', '');
jQuery(oThis).parent().next('pre.jsCode_block').removeClass('expand');
}
function jsCodePopup(oThis) {
var content = jQuery(oThis).parent().next('pre.jsCode_block').html();
var my_window = window.open("", "To select the code: [Ctrl] + [A]", "scrollbars=1toolbar=no,menubar=no,personalbar=no,status=0,left=0,location=0,menubar=0,top=0,width=640,height=480");
my_window.document.write('<pre>' + content + '</pre>');
}
function jsCodeAbout(oThis) {
alert('Simple code to add line counter fuctionality for Forumotion\n\nBy JScript FROM Brazil - 2015/04/10\n');
}
function jsCodeSelect(oThis) {
var doc = document;
var text = jQuery(oThis).parent().next('pre.jsCode_block')[0];
if (doc.body.createTextRange) {
var range = doc.body.createTextRange();
range.moveToElementText(text);
range.select();
} else if (window.getSelection) {
var selection = window.getSelection();
var range = doc.createRange();
range.selectNodeContents(text);
selection.removeAllRanges();
selection.addRange(range);
}
}
test
probando
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Sam Fév 06, 2016 1:55 pm
Gonzalo a écrit:[quotelink="/t1p105-tu-primer-tema#167]sasasasa
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Sam Fév 06, 2016 2:18 pm
Gonzalo a écrit:[url="/t1p120-tu-primer-tema#224]Gonzalo a écrit:[quotelink="/t1p105-tu-primer-tema#167]sasasasa
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Sam Fév 06, 2016 2:21 pm
[quote="Gonzalo"][url="https://opensource-code-test.foroactivo.mx/t1p120-tu-primer-tema#224]
Gonzalo a écrit:
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Sam Fév 06, 2016 2:23 pm
Gonzalo a écrit:en el post: #63hola
- Gonzalo ValdezAdmin
- Mensajes : 407
Puntos : 470
Likes : 20
Fecha de inscripción : 23/08/2014
Re: Tu primer tema
Sam Fév 06, 2016 2:25 pm
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum
|
|