GameZer Online


Você não está conectado. Conecte-se ou registre-se

Ver o tópico anterior Ver o tópico seguinte Ir para baixo  Mensagem [Página 1 de 1]

1Formulário [Pedido²] Empty Formulário [Pedido²] Dom Nov 25, 2012 9:29 am

SecTioN

SecTioN
Quero um formulário em Java com as seguintes opções.

Nick:
Nome na vida real:
Idade:
Bug Eagle: (Opções Sim-Não) - OBS: Se o player selecionar sim deverá abrir as seguintes opções (Easy - Medium - Hard - Fast)
Tempo que joga por dia:
Skype:
Quem te indicou a família:
Porque quer ser da família:


Agradeço desde já !

2Formulário [Pedido²] Empty Re: Formulário [Pedido²] Dom Nov 25, 2012 9:34 am

Admin

Admin

Olá, não sei fazer o desejado no Bug Eagle: .

Então vou estudar, e depois venho lhe ajudar.

Até mais Wink

3Formulário [Pedido²] Empty Re: Formulário [Pedido²] Dom Nov 25, 2012 9:44 am

SecTioN

SecTioN
Obrigado Firenando, você é Multi-Função mesmo.

4Formulário [Pedido²] Empty Re: Formulário [Pedido²] Seg Nov 26, 2012 3:33 pm

SecTioN

SecTioN
Ninguém sabe fazer isso não ? Jason, faz ai porfavor ?

5Formulário [Pedido²] Empty Re: Formulário [Pedido²] Seg Nov 26, 2012 5:44 pm

Admin

Admin

Aguarde, estou ocupado, mais creio que sim, conseguirei fazer o efeito...

6Formulário [Pedido²] Empty Re: Formulário [Pedido²] Seg Nov 26, 2012 5:56 pm

RafsEstevam

RafsEstevam
Programador
Programador
Claro. Mas to sem tempo Shoot. Ajudando pessoas de dois fóruns ao mesmo tempo. Confundi até nome kkk

7Formulário [Pedido²] Empty Re: Formulário [Pedido²] Sáb Dez 01, 2012 1:19 pm

SecTioN

SecTioN
Ixii :S

8Formulário [Pedido²] Empty Re: Formulário [Pedido²] Sáb Dez 15, 2012 11:13 pm

SecTioN

SecTioN
A espera ....

9Formulário [Pedido²] Empty Re: Formulário [Pedido²] Dom Dez 16, 2012 12:29 pm

Quakeline

Quakeline
Olá,

Não conseguir fazer o efeito que você desejo mais eu fiz um jeito que acho que você vai gostar

Aqui esta o código do formulário

Código:
<div id="main"><div id="main-content"><br><style>
.previsu {
 background: url('http://sd-1.archive-host.com/membres/images/142586199450897653/LFD/vide.png');
 border: 1px solid #1675BC;
 display: none;
 position: absolute;
 top: 350px;
 margin: auto;
 margin-left: 150px !important;
}
 .previsuimg {
 position: relative;
 }
 .previsuimg div {
 position: absolute; top: 30px; left: -10px; border: 3px double #E0E0E0; background: rgba(250, 250, 250, 0.9);
 }


#addimage .part { background: url(http://i46.tinypic.com/2wrdc42.jpg) no-repeat -235px -600px; width: 60px; height: 20px;}
#addimage .more { background: url(http://i46.tinypic.com/2wrdc42.jpg) no-repeat 0px 2px; width: 12px; height: 20px; cursor:pointer;}
.image .part { background: url(http://i46.tinypic.com/2wrdc42.jpg) no-repeat -235px -548px; width: 60px; height: 20px;}
.image .remove { float: left;background: url(http://i46.tinypic.com/2wrdc42.jpg) no-repeat 0px -286px;padding-left: 16px;width: 12px; height: 20px; cursor:pointer;position: relative;top:3px;}
.image .previsualise { float: left;background: url(http://i46.tinypic.com/2wrdc42.jpg) no-repeat -50px -436px; margin-left: 5px; padding-left: 16px;width: 12px; height: 20px; cursor:pointer;position: relative;top:3px;}

 .image { width: 300px; }

</style>

<script type="text/javascript" src="http://jscolor.com/jscolor/jscolor.js"></script>
<script>


function gerartitulo() {
 var tipo = document.getElementById("tipo").value;

switch(tipo) {
 case '[Avatar] ':
 tipob = 'Avatar';
 jQuery('input[name="f"]').val('17');
 break;
 case '[Assinatura] ':
 tipob = 'Assinatura';
  jQuery('input[name="f"]').val('17');
 break;
 case '[Userbar] ':
 tipob = 'Userbar';
  jQuery('input[name="f"]').val('17');
 break;
 case '[Banner] ':
 tipob = 'Banner';
  jQuery('input[name="f"]').val('17');
 break;
 case '[Logo] ':
 tipob = 'Logo';
  jQuery('input[name="f"]').val('17');
 break;

case '[Menu] ':
case '[Botões] ':
case '[Ícones] ':
case '[Ranks] ':
jQuery('input[name="f"]').val('17');
 break;

case '[Outros] ':
case '[Imagem] ':
jQuery('input[name="f"]').val('17');
 break;
 }

 var cor = document.getElementById("cor").value;
 var tamanho = document.getElementById("tamanho").value;
 var texto = document.getElementById("texto").value;
 var textotonalidade = document.getElementById("textotonalidade").value;
 var cortonalidade = document.getElementById("cortonalidade").value;

jQuery("input[name=subject]").attr('value', tipo+cor+cortonalidade+tamanho+texto+textotonalidade);
 jQuery("#titlecode").html(tipo+cor+cortonalidade+tamanho+texto+textotonalidade);

if(tipo == "[Avatar] " || tipo == "[Assinatura] " || tipo == "[Userbar] " || tipo == "[Banner] " || tipo == "[Logo] ") {
 jQuery('#size_extra optgroup').css('display','block');
 jQuery('#size_extra optgroup[label!=' + tipob + ']').css('display','none');
 jQuery('#size_extra_span').css('display','block');
 }
 else {
 jQuery('#size_extra_span').css('display','none');
 }
}
imagensdopedido = '';

function gerarpedido() {
 gerartitulo();
 var cordofundo = document.getElementById("fundo").value;
 var cordafonte = document.getElementById("fontecor").value;
 var nomedafonte = (document.getElementById("fonte").value == '') ? document.getElementById("fonteNome").value : document.getElementById("fonte").value;
 var tipodeanimacao = (document.getElementById("animacao").value == '') ? document.getElementById("animacaoNome").value : document.getElementById("animacao").value;
 var tipodemoldura = (document.getElementById("moldura").value == '') ? document.getElementById("molduraNome").value : document.getElementById("moldura").value;
 var descricaodopedido = document.getElementById("adicionais").innerHTML;
 var descricaodopedido = document.getElementById("adicionais").value;
 var dimensaoA = document.getElementById("dimensoesA").value;
 var dimensaoL = document.getElementById("dimensoesL").value;

var dimensaof = (document.getElementById("size_extra").value == '') ? dimensaoL + ' x ' + dimensaoA + ' px' : document.getElementById("size_extra").value;

var urlforum = document.getElementById("urlforum").value;

finalmessage = '<strong>Endereço do fórum :</strong> [url]'+ urlforum + '[/url]\n<strong>Imagens a serem usadas :</strong> ' + imagensdopedido + '\n <strong>Dimensões :</strong> ' + dimensaof +' \n<strong>Cor do fundo :</strong> #' + cordofundo + '\n<strong>Cor da fonte :</strong> #' + cordafonte + '\n<strong>Fonte :</strong> ' + nomedafonte + '\n<strong>Animação :</strong> ' + tipodeanimacao + '\n<strong>Moldura :</strong> ' + tipodemoldura + '\n<strong>Descrição do trabalho :</strong> ' + descricaodopedido;


jQuery("input[name=message]").attr('value', finalmessage);
}

function outra(id) {
 var inputID = id+"Nome";
 (document.getElementById(id).value == '') ? document.getElementById(inputID).style.display = 'inline' : document.getElementById(inputID).style.display = 'none';
 document.getElementById(inputID).focus();
}

 function removeimg(obj) {
 obj.parent().parent().remove();
 update_img();
 }
 function addimg() {
 $('#addimage').before('<tr class=image><td class=part></td><td><input style="float:left; display: inline; background-color: #ffffff;border: 1px solid #BCBCBC;color: #666666;padding: 2px;cursor: text;" type=text name=images id="Imagens_AddMore" onchange="update_img_list()" /> <div class="previsualise"></div> <div class="remove" onClick="removeimg($(this))"></div><div class="previsuimg"><div></div></div></td></tr>');
 $('#addimage').prev().find('.previsualise').hover(
 function () {
 $(this).parent().find('.previsuimg').html('<div><img src="'+encodeURI($(this).parent().find('input').attr('value'))+'" /></div>').find('div').css('display','block');
 },
 function () {
 $(this).parent().find('.previsuimg div').css('display','none');
 }
 );
 update_img();
 }
 function update_img() {
 if($('.image').length<2) $('.image .remove').hide();
 else $('.image .remove').show();
 update_img_list();
 }

function update_img_list() {
 imagensdopedido = '';
 jQuery('input[name=images]').each( function(index) {
if($(this).val() != '') {
 imagensdopedido = imagensdopedido + $(this).val() + ' ; ';
}
 });
 gerarpedido();
 }

gerartitulo();
gerarpedido();

</script>
 <h1 class="page-title">NOME DO FORMULÁRIO</h1>
 <div class="panel row2"><div class="inner"><span class="corners-top"><span></span></span>
 <div class="h3" style="margin-top: 7px;"></div>
 <p style="font-size: 12px;"><a href="http://ajuda.forumeiros.com/t32850-regras-e-afins-da-secao-de-criacoes-graficas"></a>.

</p><span class="corners-bottom"><span></span></span>
 </div>
 </div>

 <div class="clear" style="height: 6px;"></div>




<form action="/posting.forum" method="post" id="fa_form" name="Pedidos" onsubmit="return ValidarFormulario();">
 <fieldset class="fields1">



<dl><dt>
 <label>Nick :</label></dt>

<input class="inputbox" type="text" id="urlforum" tabindex="8" onchange="gerarpedido();" style="width: 100px; clear: both;">
 </dd></dl>

<dl><dt>
 <label>Nome na vida real:</label></dt>

 <input class="inputbox" type="text" id="urlforum" tabindex="8" onchange="gerarpedido();" style="width: 300px; clear: both;">
 </dd></dl>

<dl><dt>
 <label>Idade:</label></dt>

 <input class="inputbox" type="text" id="urlforum" tabindex="8" onchange="gerarpedido();" style="width: 40px; clear: both;">
 </dd></dl>

<dl><dt>
 <label>Bug Eagle:</label></dt>

<dd><select id="animacao" tabindex="12" onchange="outra('animacao'); gerarpedido();">
<option value=" "></option>
 <option value="Não">Não</option>
 <option value="">Sim</option>
</dd>
</select>
<dd>Se você escolher Sim escolha uma das opções abaixo<br>

 </dd></dl>
<dd><select id="animacao" tabindex="12" onchange="outra('animacao'); gerarpedido();">
<option value=" "></option>
 <option value="Easy">Easy</option>
 <option value="">Medium</option>
 <option value="">Hard</option>
 <option value="">Fast</option>
</dd>
</select>

<option value="Easy">Easy</option>
 <option value="Medium">Medium</option><option value="Hard">Hard</option>
 <option value="Fast">Fast</option></dd></dl>
<div class="clear" style="height: 6px;"></div>
 <div class="panel"><div class="inner"><span class="corners-top"><span></span></span>

<fieldset class="fields1">


<dl><dt>
 <label>Tempo que joga por dia:</label></dt>

<input class="inputbox" type="text" id="urlforum" tabindex="8" onchange="gerarpedido();" style="width: 80px; clear: both;">
 </dd></dl>


<dl><dt>
 <label>Skype:</label></dt>

<input class="inputbox" type="text" id="urlforum" tabindex="8" onchange="gerarpedido();" style="width: 80px; clear: both;">
 </dd></dl>


<dl><dt>
 <label>Quem te indicou a família:</label></dt>

<input class="inputbox" type="text" id="urlforum" tabindex="8" onchange="gerarpedido();" style="width: 80px; clear: both;">
 </dd></dl>



<dl><dt>
 <label>Porque quer ser da família:</label></dt>

 <dd><textarea class="inputbox" id="adicionais" tabindex="14" onchange="gerarpedido();" style="clear: both; height: 100px; width: 500px;">Fale porque você deseja ser da Familia</textarea></dd></dl>

</fieldset>

<input type="hidden" name="message">
 <input type="hidden" name="subject" value="  ">
 <input type="hidden" name="mode" value="newtopic">
 <input type="hidden" name="f" value="17">
 <input type="hidden" name="lt" value="0">


<span class="corners-bottom"><span></span></span></div></div><div id="sthd" style="margin:0px"></div>

<div class="panel"><div class="inner"><span class="corners-top"><span></span></span>
 <fieldset class="submit-buttons"><input value="Enviar" type="submit" class="button1" name="post"></fieldset>
 <span class="corners-bottom"><span></span></span></div>

<script>gerartitulo();</script></div></div></div>

Até

10Formulário [Pedido²] Empty Re: Formulário [Pedido²] Seg Dez 17, 2012 7:53 pm

SecTioN

SecTioN
Obrigado. Pode dar Closed.

11Formulário [Pedido²] Empty Re: Formulário [Pedido²] Seg Dez 17, 2012 8:13 pm

Admin

Admin

CLOSED

Conteúdo patrocinado


Ver o tópico anterior Ver o tópico seguinte Ir para o topo  Mensagem [Página 1 de 1]

Permissões neste sub-fórum
Não podes responder a tópicos