Problema com Formulário de Postagem (JS/HTML) Sáb 29 Mar 2014 - 7:14
Qual é minha questão:
Olá a todos! Essa é minha primeira postagem aqui, aproveito pra dizer que gostei muito deste fórum
Então, meu problema é o seguinte:
Criei um formulário com base em outro que usava pelo fato de ser ruim pra editar pela falta de organização, mas não sei por quais motivos não está funcionando. Eu já revisei tudo e, pelo menos pra mim (que sou leigo em JS) não tem nada de errado!
Oque acontece é que eu clico no botão de enviar, o qual tem a id que gera a mensagem usando o JS, porém não acontece nada!! Está absolutamente igual o formulário bagunçado, simplesmente não entendo
Gostaria de saber se vocês podem me ajudar com isso, de preferência alguém que tenha algum conhecimento de programação . Segue abaixo o código (instruções nas marcações):
Obrigado desde já!
Endereço do meu fórum:
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]
Versão:
Phpbb3
Olá a todos! Essa é minha primeira postagem aqui, aproveito pra dizer que gostei muito deste fórum
Então, meu problema é o seguinte:
Criei um formulário com base em outro que usava pelo fato de ser ruim pra editar pela falta de organização, mas não sei por quais motivos não está funcionando. Eu já revisei tudo e, pelo menos pra mim (que sou leigo em JS) não tem nada de errado!
Oque acontece é que eu clico no botão de enviar, o qual tem a id que gera a mensagem usando o JS, porém não acontece nada!! Está absolutamente igual o formulário bagunçado, simplesmente não entendo
Gostaria de saber se vocês podem me ajudar com isso, de preferência alguém que tenha algum conhecimento de programação . Segue abaixo o código (instruções nas marcações):
- Código:
<form action="/post" method="post" id="form-submit">
<input type="button" value="Enviar" id="novopost"> <!-- botão para enviar o formulário (leva até o JS e do JS vai para as inputs ocultas (a de mensagem e em seguida a name="post" que envia) abaixo) -->
<input type="hidden" name="f" value="17"> <!-- parte responsável pelo envio do formulário para a área específica -->
<input type="hidden" name="message" value=""> <!-- campo de mensagem o qual receberá a mensagem do javascript -->
<input type="hidden" id="prefixo" value="[ Denúncia ] "> <!-- Prefixo do tópico -->
<input type="hidden" name="mode" value="newtopic">
<input style="display:none" type="submit" value="Criar tópico" name="post">
<label>Título</label> <input type="text" size="28" style="" value="" name="subject">
<label>Mensagem1</label> <input type="text" size="28" style="" spellcheck="true" id="msg1" maxlength="1024" value="" placeholder="Placeholder">
<label>Mensagem2</label> <input type="text" size="28" style="" spellcheck="true" id="msg2" maxlength="1024" value="" placeholder="Placeholder">
<label>Nome</label> <input type="text" size="28" style="" id="nome">
</form>
<script>
jQuery(document).ready(function(){
jQuery('#novopost').click(function(){
jQuery('input[name="subject"]').val(jQuery('#prefixo').val()+jQuery('input[name="subject"]').val()+' [ '+jQuery('#nome').val()+' ] ');
jQuery('input[name="message"]').val('[b]Msg1:[/b] '+jQuery('#msg1').val()+'\n\n[b]Msg2:[/b] '+jQuery('#msg2').val()+'\n\n[b]Nome:[/b] '+jQuery('#nome').val());
jQuery('input[name="post"]').click()};
});
</script>
- Exemplo do formulário original:
- Código:
<form action="/post" method="post" id="form-submit"><div class="panel" id="form-part2" style="
background-color: transparent;
"><div class="inner">
<fieldset class="fields1" style="">
<dl style="padding-top: 0px; padding-bottom: 0px;">
<div id="seequestion" style="alignment-baseline: auto; background-attachment: scroll; background-clip: border-box; background-color: #FFF; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; baseline-shift: baseline; border-bottom-color: rgb(33, 33, 33); border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-bottom-style: none; border-bottom-width: 0px; border-collapse: separate; border-image-outset: 0px; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(33, 33, 33); border-left-style: none; border-left-width: 0px; border-right-color: rgb(33, 33, 33); border-right-style: none; border-right-width: 0px; border-top-color: rgb(33, 33, 33); border-top-left-radius: 0px; border-top-right-radius: 0px; border-top-style: none; border-top-width: 0px; bottom: auto; box-shadow: none; box-sizing: content-box; caption-side: top; clear: none; clip: auto; clip-path: none; clip-rule: nonzero; color: rgb(33, 33, 33); color-interpolation: srgb; color-interpolation-filters: linearrgb; color-rendering: auto; cursor: auto; direction: ltr; display: none; dominant-baseline: auto; empty-cells: show; fill: #000000; fill-opacity: 1; fill-rule: nonzero; filter: none; float: none; flood-color: rgb(0, 0, 0); flood-opacity: 1; font-family: 'Segoe UI Web Light', 'Segoe UI Light', 'Segoe UI Web Regular', 'Segoe UI', 'Segoe UI Symbol', 'Helvetica Neue', Arial; font-size: 24px; font-style: normal; font-variant: normal; font-weight: normal; glyph-orientation-horizontal: 0deg; glyph-orientation-vertical: auto; image-rendering: auto; kerning: 0; left: auto; letter-spacing: normal; lighting-color: rgb(255, 255, 255); list-style-image: none; list-style-position: outside; list-style-type: disc; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; marker-end: none; marker-mid: none; marker-start: none; mask: none; mask-type: luminance; max-height: none; max-width: none; min-height: 0px; min-width: 0px; opacity: 1; orphans: 2; outline-color: rgb(33, 33, 33); outline-style: none; outline-width: 0px; overflow-wrap: normal; overflow-x: visible; overflow-y: visible; padding-bottom: 5px; padding-left: 10px; padding-right: 0px; padding-top: 0px; page-break-after: auto; page-break-before: auto; page-break-inside: auto; pointer-events: auto; position: static; resize: none; right: auto; shape-rendering: auto; speak: normal; stop-color: rgb(0, 0, 0); stop-opacity: 1; stroke: none; stroke-dasharray: none; stroke-dashoffset: 0; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 4; stroke-opacity: 1; stroke-width: 1; tab-size: 8; table-layout: auto; text-align: start; text-anchor: start; text-decoration: none; text-indent: 0px; text-overflow: clip; text-rendering: auto; text-shadow: none; text-transform: none; top: auto; unicode-bidi: normal; vector-effect: none; vertical-align: baseline; visibility: visible; white-space: normal; widows: 2; width: 98%; word-break: normal; word-spacing: 0px; word-wrap: normal; writing-mode: lr-tb; z-index: auto; zoom: 1;border-bottom: 1px solid rgb(204, 204, 204);width: 99%;font-size: 18px;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px;padding-bottom:12px;">
<font style="display: inline-block;"></font>
<div style=" display: inline; float: right; cursor:pointer;" id="closeseequestion"> <img src="http://i.imgur.com/H1MJk.png" style=""></div></div>
<div id="erro" style="alignment-baseline: auto; background-attachment: scroll; background-clip: border-box; background-color: rgba(255, 255, 255, 0.8); background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; baseline-shift: baseline; border-bottom-color: rgb(33, 33, 33); border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-bottom-style: none; border-bottom-width: 0px; border-collapse: separate; border-image-outset: 0px; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(33, 33, 33); border-left-style: none; border-left-width: 0px; border-right-color: rgb(33, 33, 33); border-right-style: none; border-right-width: 0px; border-top-color: rgb(33, 33, 33); border-top-left-radius: 0px; border-top-right-radius: 0px; border-top-style: none; border-top-width: 0px; bottom: auto; box-shadow: none; box-sizing: content-box; caption-side: top; clear: none; clip: auto; clip-path: none; clip-rule: nonzero; color: rgb(33, 33, 33); color-interpolation: srgb; color-interpolation-filters: linearrgb; color-rendering: auto; cursor: auto; direction: ltr; display: none; dominant-baseline: auto; empty-cells: show; fill: #000000; fill-opacity: 1; fill-rule: nonzero; filter: none; float: none; flood-color: rgb(0, 0, 0); flood-opacity: 1; font-family: 'Segoe UI Web Light', 'Segoe UI Light', 'Segoe UI Web Regular', 'Segoe UI', 'Segoe UI Symbol', 'Helvetica Neue', Arial; font-size: 24px; font-style: normal; font-variant: normal; font-weight: normal; glyph-orientation-horizontal: 0deg; glyph-orientation-vertical: auto; height: 42.46875px; image-rendering: auto; kerning: 0; left: auto; letter-spacing: normal; lighting-color: rgb(255, 255, 255); line-height: 38px; list-style-image: none; list-style-position: outside; list-style-type: disc; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; marker-end: none; marker-mid: none; marker-start: none; mask: none; mask-type: luminance; max-height: none; max-width: none; min-height: 0px; min-width: 0px; opacity: 1; orphans: 2; outline-color: rgb(33, 33, 33); outline-style: none; outline-width: 0px; overflow-wrap: normal; overflow-x: visible; overflow-y: visible; padding-bottom: 5px; padding-left: 10px; padding-right: 0px; padding-top: 0px; page-break-after: auto; page-break-before: auto; page-break-inside: auto; pointer-events: auto; position: static; resize: none; right: auto; shape-rendering: auto; speak: normal; stop-color: rgb(0, 0, 0); stop-opacity: 1; stroke: none; stroke-dasharray: none; stroke-dashoffset: 0; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 4; stroke-opacity: 1; stroke-width: 1; tab-size: 8; table-layout: auto; text-align: start; text-anchor: start; text-decoration: none; text-indent: 0px; text-overflow: clip; text-rendering: auto; text-shadow: none; text-transform: none; top: auto; unicode-bidi: normal; vector-effect: none; vertical-align: baseline; visibility: visible; white-space: normal; widows: 2; width: 98%; word-break: normal; word-spacing: 0px; word-wrap: normal; writing-mode: lr-tb; z-index: auto; zoom: 1;border-bottom: 1px solid rgb(204, 204, 204);width: 99%;padding-bottom: 5px;padding-top: 1px;"><span style="
width: 0; height:0;
border: 10px solid transparent;
display: inline-block;
border-left: 10px solid #DD4B39;
"></span><font></font></div>
<font size=4>Novo tópico de download</font>
<div class="rules"><font size=4> <b>Atenção!</font></b><br><br>
<font size=3><b>1)</b> É proibido a utilização desta área para a postagem de conteúdo hacker ou vírus, seu tópico será excluido e você poderá ser banido do fórum e do servidor;<br>
<b>2)</b> Qualquer tipo de conteúdo pago acompanhado de Crack, Serial ou Keygen é expressamente proibido. Qualquer ferramenta, aplicativo ou método que viole, burle ou evite a validação e autenticação de softwares ou sistemas operacionais pagos é expressamente proibido;</b><br>
<b>3)</b> Sempre quando disponivel, poste os créditos do seu download;<br>
<b>4)</b> Não se esqueça de explicar a função do conteúdo que você estiver postando;<br>
<b>5)</b> Formate seu tópico adequadamente para que facilite a leitura e o entendimento do mesmo.</font></div>
<hr height=30% style="box-shadow: 0 2px 2px #CCCCCC;"><br>
<label><b>Título do tópico</b></label> <input type="text" style="height: 25px; position: absolute; left: 180px;" autocomplete="off" spellcheck="true" id="subject" name="subject" class="TextLightI WatermarkedInput" maxlength="1024" value="[Download] COLOQUE_AQUI_UMA_CURTA_E_EXPRESSIVA_FRASE_SOBRE_SEU_DOWNLOAD" data-from="[composeData.Subject]" data-to="[composeData.Subject]" placeholder="" size="70"</div><br><br>
<label><b>Autor do conteúdo</b></label> <input type="text" required size="28" style="height: 25px; position: absolute; left: 180px;" autocomplete="off" spellcheck="true" id="creditos" name="creditos" class="" maxlength="1024" value="" data-from="[composeData.Subject]" data-to="[composeData.Subject]" placeholder=""<br><br><br>
<button class="button2" onclick="bbcode_tag('[b]','[/b]')" onmouseover="helpline('b')" type="button" id="addbbcode0" accesskey="b" title="Negrito" style="
padding-right: 10px;
"><img src="http://2img.net/i/fa/wysiwyg/text_bold.png" alt="Negrito" title="Negrito"></button> <button class="button2" onclick="bbcode_tag('[i]','[/i]')" onmouseover="helpline('i')" type="button" id="addbbcode2" accesskey="i" title="Itál." style="
padding-left: 10px;
"><img src="http://2img.net/i/fa/wysiwyg/text_italic.png" alt="Itál." title="Itál."></button> <button class="button2" onclick="bbcode_tag('[u]','[/u]')" onmouseover="helpline('u')" type="button" id="addbbcode4" accesskey="u" title="Sublinhar"><img src="http://2img.net/i/fa/wysiwyg/text_underline.png" alt="Sublinhar" title="Sublinhar"></button> <b style="font-size:11px"></b><button class="button2" onclick="bbcode_tag('[left]','[/left]')" onmouseover="helpline('m')" type="button" id="addbbcode52" accesskey="m" title="Esquerda"><img src="http://2img.net/i/fa/wysiwyg/text_align_left.png" alt="Esquerda" title="Esquerda"></button> <button class="button2" onclick="bbcode_tag('[center]','[/center]')" onmouseover="helpline('t')" type="button" id="addbbcode30" accesskey="t" title="Centralizar"><img src="http://2img.net/i/fa/wysiwyg/text_align_center.png" alt="Centralizar" title="Centralizar"></button> <button class="button2" onclick="bbcode_tag('[right]','[/right]')" onmouseover="helpline('g')" type="button" id="addbbcode32" accesskey="g" title="Direita"><img src="http://2img.net/i/fa/wysiwyg/text_align_right.png" alt="Direita" title="Direita"></button> <b style="font-size:11px"></b><button class="button2" onclick="bbcode_tag('[list][*]','[/list]')" onmouseover="helpline('l')" type="button" id="addbbcode10" accesskey="l" title="-Lista"><img src="http://2img.net/i/fa/wysiwyg/text_list_bullets.png" alt="-Lista" title="-Lista"></button> <button class="button2" onclick="bbcode_tag('[list=1][*]','[/list]')" onmouseover="helpline('o')" type="button" id="addbbcode12" accesskey="o" title="Lista ordenada"><img src="http://2img.net/i/fa/wysiwyg/text_list_numbers.png" alt="Lista ordenada" title="Lista ordenada"></button> <b style="font-size:11px"></b><button class="button2" onclick="jQuery('#uploadimage input[type=file]').click()" type="button" title="Fazer upload de uma imagem"><img src="http://2img.net/i/fa/wysiwyg/picture_save.png" alt="Fazer upload de uma imagem" title="Fazer upload de uma imagem"></button> <button class="button2" onclick="bbcode_tag('[img]','[/img]')" onmouseover="helpline('p')" type="button" id="addbbcode14" accesskey="p" title="Imagem"><img src="http://2img.net/i/fa/wysiwyg/picture.png" alt="Imagem" title="Imagem"></button> <button class="button2" onclick="bbcode_tag('[youtube] LINK AQUI',' [/youtube]')" onmouseover="helpline('w')" type="button" id="addbbcode18" accesskey="w" title="Video"><img src="http://2img.net/i/fa/wysiwyg/film.png" alt="Video" title="Video"></button> <button class="button2" onclick="bbcode_tag('[url= SEU LINK AQUI ','] TEXTO AQUI [/url]')" onmouseover="helpline('w')" type="button" id="addbbcode16" accesskey="w" title="Link"><img src="http://2img.net/i/fa/wysiwyg/link.png" alt="Link" title="Link"></button><br><br>
<textarea id="questao" name="questao" placeholder="Descreva seu download aqui" style="width: 800px; height: 250px;"></textarea>
<div style="alignment-baseline: auto; background-attachment: scroll; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; baseline-shift: baseline; border-bottom-color: rgb(0, 0, 0); border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-bottom-style: none; border-bottom-width: 0px; border-collapse: separate; border-image-outset: 0px; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-left-radius: 0px; border-top-right-radius: 0px; border-top-style: none; border-top-width: 0px; bottom: auto; box-shadow: none; box-sizing: content-box; caption-side: top; clear: none; clip: auto; clip-path: none; clip-rule: nonzero; color: rgb(0, 0, 0); color-interpolation: srgb; color-interpolation-filters: linearrgb; color-rendering: auto; cursor: text; direction: ltr; display: block; dominant-baseline: auto; empty-cells: show; fill: #000000; fill-opacity: 1; fill-rule: nonzero; filter: none;
float: right; flood-color: rgb(0, 0, 0); flood-opacity: 1; font-family: Calibri, sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; glyph-orientation-horizontal: 0deg; glyph-orientation-vertical: auto;
height: 270px; image-rendering: auto; kerning: 0; left: auto; letter-spacing: normal; lighting-color: rgb(255, 255, 255); line-height: normal; list-style-image: none; list-style-position: outside; list-style-type: disc; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; marker-end: none; marker-mid: none; marker-start: none; mask: none; mask-type: luminance; max-height: none; max-width: none; min-height: 0px; min-width: 0px; opacity: 1; orphans: 2; outline-color: rgb(0, 0, 0); outline-style: none; outline-width: 0px; overflow-wrap: break-word; overflow-x: visible; overflow-y: visible; padding-bottom: 0px;
padding-left: 1%;
padding-right: 0px;
padding-top: 1px; page-break-after: auto; page-break-before: auto; page-break-inside: auto; pointer-events: auto; position: static; resize: none; right: auto; shape-rendering: auto; speak: normal; stop-color: rgb(0, 0, 0); stop-opacity: 1; stroke: none; stroke-dasharray: none; stroke-dashoffset: 0; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 4; stroke-opacity: 1; stroke-width: 1; tab-size: 8; table-layout: auto; text-align: start; text-anchor: start; text-decoration: none; text-indent: 0px; text-overflow: clip; text-rendering: auto; text-shadow: none; text-transform: none; top: auto; unicode-bidi: normal; vector-effect: none; vertical-align: baseline; visibility: visible; white-space: normal; widows: 2;
width: 14%; word-break: normal; word-spacing: 0px; word-wrap: break-word; writing-mode: lr-tb; z-index: auto; zoom: 1;"><img src="http://i.imgur.com/H1MJk.png" id="imguploadimage" onclick="jQuery(this).next().hide();jQuery(this).hide()" style="cursor: pointer !important; float: right; display: none;"><iframe name="fuploadimage" scrolling="no" allowtransparency="true" frameborder="0" width="248" height="204" style="display:none;width:100%;height:117%;"></iframe></div><br><br><br><input type="button" value="Enviar tópico" id="newquestion" style="
alignment-baseline: auto;
background-attachment: scroll;
background-clip: border-box;
background-image: none;
background-origin: padding-box;
background-position: 0% 0%;
background-repeat: repeat;
background-size: auto;
baseline-shift: baseline;
border-bottom-color: rgb(102, 102, 102);
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-bottom-style: none;
border-bottom-width: 0px;
border-collapse: separate;
border-image-outset: 0px;
border-image-repeat: stretch;
border-image-slice: 100%;
border-image-source: none;
border-image-width: 1;
border-left-color: rgb(102, 102, 102);
border-left-style: none;
border-left-width: 0px;
border-right-color: rgb(102, 102, 102);
border-right-style: none;
border-right-width: 0px;
border-top-color: rgb(102, 102, 102);
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-top-style: none;
border-top-width: 0px;
bottom: auto;
box-shadow: none;
box-sizing: content-box;
caption-side: top;
clear: none;
clip: auto;
clip-path: none;
clip-rule: nonzero;
color: rgb(33, 33, 33);
color-interpolation: srgb;
color-interpolation-filters: linearrgb;
color-rendering: auto;
cursor: pointer;
direction: ltr;
display: inline-block;
dominant-baseline: auto;
empty-cells: show;
fill: #000000;
fill-opacity: 1;
fill-rule: nonzero;
filter: none;
float: none;
flood-color: rgb(0, 0, 0);
flood-opacity: 1;
font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;
font-size: 14px;
font-style: normal;
font-variant: normal;
font-weight: normal;
glyph-orientation-horizontal: 0deg;
glyph-orientation-vertical: auto;
height: 28px;
image-rendering: auto;
kerning: 0;
left: auto;
letter-spacing: normal;
lighting-color: rgb(255, 255, 255);
line-height: 28.15625px;
list-style-image: none;
list-style-position: outside;
list-style-type: none;
margin-bottom: 10px;
margin-left: 10px;
margin-right: 10px;
margin-top: 10px;
marker-end: none;
marker-mid: none;
marker-start: none;
mask: none;
mask-type: luminance;
max-height: none;
max-width: none;
min-height: 0px;
min-width: 0px;
opacity: 1;
orphans: 2;
outline-color: rgb(102, 102, 102);
outline-style: none;
outline-width: 0px;
overflow-wrap: normal;
overflow-x: hidden;
overflow-y: hidden;
padding-bottom: 0px;
padding-left: 7px;
padding-right: 7px;
padding-top: 0px;
page-break-after: auto;
page-break-before: auto;
page-break-inside: auto;
pointer-events: auto;
position: relative;
resize: none;
right: auto;
shape-rendering: auto;
speak: normal;
stop-color: rgb(0, 0, 0);
stop-opacity: 1;
stroke: none;
stroke-dasharray: none;
stroke-dashoffset: 0;
stroke-linecap: butt;
stroke-linejoin: miter;
stroke-miterlimit: 4;
stroke-opacity: 1;
stroke-width: 1;
tab-size: 8;
table-layout: auto;
text-align: left;
text-anchor: start;
text-decoration: none;
text-indent: 0px;
text-overflow: ellipsis;
text-rendering: auto;
text-shadow: none;
text-transform: none;
top: auto;
unicode-bidi: normal;
vector-effect: none;
vertical-align: baseline;
visibility: visible;
white-space: nowrap;
widows: 2;
word-break: normal;
word-spacing: 0px;
word-wrap: normal;
writing-mode: lr-tb;
z-index: auto;
zoom: 1; font-size: 21px; font-weight: normal; height: 33px;font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; font-size: 15px; font-weight: normal; height: 30px; line-height: 29px;"><input type="button" value="Pré-visualizar" id="prequestao" style="
alignment-baseline: auto;
background-attachment: scroll;
background-clip: border-box;
background-image: none;
background-origin: padding-box;
background-position: 0% 0%;
background-repeat: repeat;
background-size: auto;
baseline-shift: baseline;
border-bottom-color: rgb(102, 102, 102);
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-bottom-style: none;
border-bottom-width: 0px;
border-collapse: separate;
border-image-outset: 0px;
border-image-repeat: stretch;
border-image-slice: 100%;
border-image-source: none;
border-image-width: 1;
border-left-color: rgb(102, 102, 102);
border-left-style: none;
border-left-width: 0px;
border-right-color: rgb(102, 102, 102);
border-right-style: none;
border-right-width: 0px;
border-top-color: rgb(102, 102, 102);
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-top-style: none;
border-top-width: 0px;
bottom: auto;
box-shadow: none;
box-sizing: content-box;
caption-side: top;
clear: none;
clip: auto;
clip-path: none;
clip-rule: nonzero;
color: rgb(33, 33, 33);
color-interpolation: srgb;
color-interpolation-filters: linearrgb;
color-rendering: auto;
cursor: pointer;
direction: ltr;
display: inline-block;
dominant-baseline: auto;
empty-cells: show;
fill: #000000;
fill-opacity: 1;
fill-rule: nonzero;
filter: none;
float: none;
flood-color: rgb(0, 0, 0);
flood-opacity: 1;
font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;
font-size: 14px;
font-style: normal;
font-variant: normal;
font-weight: normal;
glyph-orientation-horizontal: 0deg;
glyph-orientation-vertical: auto;
height: 28px;
image-rendering: auto;
kerning: 0;
left: auto;
letter-spacing: normal;
lighting-color: rgb(255, 255, 255);
line-height: 28.15625px;
list-style-image: none;
list-style-position: outside;
list-style-type: none;
margin-bottom: 10px;
margin-left: 6px;
margin-right: 10px;
margin-top: 10px;
marker-end: none;
marker-mid: none;
marker-start: none;
mask: none;
mask-type: luminance;
max-height: none;
max-width: none;
min-height: 0px;
min-width: 0px;
opacity: 1;
orphans: 2;
outline-color: rgb(102, 102, 102);
outline-style: none;
outline-width: 0px;
overflow-wrap: normal;
overflow-x: hidden;
overflow-y: hidden;
padding-bottom: 0px;
padding-left: 7px;
padding-right: 7px;
padding-top: 0px;
page-break-after: auto;
page-break-before: auto;
page-break-inside: auto;
pointer-events: auto;
position: relative;
resize: none;
right: auto;
shape-rendering: auto;
speak: normal;
stop-color: rgb(0, 0, 0);
stop-opacity: 1;
stroke: none;
stroke-dasharray: none;
stroke-dashoffset: 0;
stroke-linecap: butt;
stroke-linejoin: miter;
stroke-miterlimit: 4;
stroke-opacity: 1;
stroke-width: 1;
tab-size: 8;
table-layout: auto;
text-align: left;
text-anchor: start;
text-decoration: none;
text-indent: 0px;
text-overflow: ellipsis;
text-rendering: auto;
text-shadow: none;
text-transform: none;
top: auto;
unicode-bidi: normal;
vector-effect: none;
vertical-align: baseline;
visibility: visible;
white-space: nowrap;
widows: 2;
word-break: normal;
word-spacing: 0px;
word-wrap: normal;
writing-mode: lr-tb;
z-index: auto;
zoom: 1; font-size: 21px; font-weight: normal; height: 33px;font-family: 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif; font-size: 15px; font-weight: normal; height: 30px; line-height: 29px;"><input type="hidden" name="f" value="77"><input type="hidden" name="message" value=""><input type="hidden" name="mode" value="newtopic"><input style="display:none" type="submit" value="Criar tópico" name="post">
</fieldset><div id="sthd" style="margin:0px"></div>
</div><iframe id="versaoiframe" style="width:0px;height:0px;border-top:1px solid white" src="javascript:document.write('<div id=wrap></div><div class=navbar></div><div class=forabg></div><div class=headerbar></div><div class=pun></div><div id=pun-about></div><div id=pun-navlinks></div><div id=pun-intro></div><div id=ipbwrapper></div><div id=gfooter></div><div id=submenu></div><div id=logostrip></div>')" frameborder="0"></iframe></div></form>
<form action="http://s6.tinypic.com/plugin/upload.php" id="uploadimage" method="post" enctype="multipart/form-data" target="fuploadimage" style="display:none"><input type="hidden" name="action" value="upload"><input type="hidden" name="popts" value="c,url"><input type="file" name="the_file" onchange="this.form.submit();jQuery('iframe[name=fuploadimage],#imguploadimage').css('display','block')"></form><script>function bbcode_tag(o,c){var t=jQuery('#questao');t.val(t.val().substring(0,t[0].selectionStart)+o+t.val().substring(t[0].selectionStart,t[0].selectionEnd)+c+t.val().substring(t[0].selectionEnd,t.val().length))};
function jsGet(e){var u=window.location.search.replace('?','').split('&');for(n in u){if(u[n].match(e)){return decodeURIComponent(u[n].replace(e+'=',''))}};return null};
jQuery(document).ready(function(){
if(jsGet('f')=='42'||jsGet('f')=='42'||jsGet('f')=='42'){jQuery('input[name="f"]').val(jsGet('f'))};
jQuery('#newquestion').click(function(){
i=0;
var t=jQuery('#subject').val().length;
if(t<10){jQuery('#erro').css('display','inline-block');jQuery('#erro font').html('O título necessita ao menos 10 caracteres');i=1}else if(jQuery('#questao').val()==''){jQuery('#erro').css('display','inline-block');jQuery('#erro font').html('Você não preencheu todos os campos');i=1};
if(i==0){jQuery('input[name="subject"]').val(jQuery('input[name="subject"]').val());
jQuery('#questao').val(jQuery('#questao').val().substring(0,1).toUpperCase()+jQuery('#questao').val().substring(1,jQuery('#questao').val().length));
jQuery('input[name="message"]').val('\n'+jQuery('#questao').val()+' \n\n[b]Créditos:[/b]\n'+jQuery('#creditos').val());
jQuery('input[name="post"]').click()};
});
jQuery('#prequestao').click(function(){
jQuery('#seequestion').show('slow');
jQuery('#seequestion font').html('<strong>Conteúdo:</strong><br>'+jQuery('#questao').val()+'<br><br><strong>Créditos:</strong><br>'+jQuery('#creditos').val());
});
jQuery('#closeseequestion').click(function(){
jQuery('#seequestion').hide('slow');
});
jQuery('#subject').keyup(function(){
var t=this.value.length;
var i=jQuery('#number b');
if(t<10&&t>0){
var l=t-10;i.html(l*-1);
}
else if(t>9){
i.html('<img src=http://i.imgur.com/ZQXVH.png style=width:35px;height:35px;margin-bottom:-8px>')
}else{i.html('')};
});
jQuery('#searchform').click(function(){window.open('/h9-?search_for='+jQuery('#subject').val(),'_blank')});
});</script>
Obrigado desde já!
Endereço do meu fórum:
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]
Versão:
Phpbb3