Ir para conteúdo
Fórum Script Brasil

fercosmig

Moderadores
  • Total de itens

    4.048
  • Registro em

  • Última visita

Tudo que fercosmig postou

  1. olha uns exemplos http://www.foo.com.br/viewtopic.php?t=1121 http://scriptbrasil.com.br/forum/index.php...=68977&st=0 http://www.tableless.com.br/artigos/ajaxdemo/ http://www.imasters.com.br/artigo/3918/jav...dos_sem_refresh http://scriptbrasil.com.br/forum/index.php...p;highlite=AJAX
  2. você deve usar a tecnologia AJAX, e salvar os dados no bd sem atualizar a página, tem exemplo aqui no fórum de AJAX abraços
  3. faz assim onchange="salvar_pedido();salvar_produtos();"
  4. realmente, algumas taga, fechando no lugar errado, mas testes seu código aqui e no problems! abraços
  5. olha um exemplo em asp! com javascript acho que não é possível http://www.pcforum.com.br/cgi/yabb/YaBB.cgi?num=1053007468 abraços
  6. testei aqui e funfou de boa! no FF e no IE abraços
  7. opa, faz um teste aí! abraços <html> <head> <title>Untitled</title> <style type="text/css"> <!-- .teste{ width: 200px; height: 200px; border: #000000 1px Solid; background: #CCCCCC; } --> .test{ width: 200px; height: 200px; border: #CCCCCC 2px Solid; background: #000000; } </style> <script language="JavaScript" type="text/javascript"> <!-- function muda(){ classe = document.getElementById('tst').className; if(classe == 'teste'){ document.getElementById('tst').className = 'test'; }else{ document.getElementById('tst').className = 'teste'; } } //--> </script> </head> <body> <div class="teste" id="tst" onclick="muda();" /> </body> </html>
  8. cria os thums comum sw proprio para isso ex: http://www.fookes.com/ezthumbs/ http://baixaki.ig.com.br/site/detail8390.htm
  9. a musica tem que estar no servidor. não vai rolar música local abraços
  10. ok manô! fechando aí! qqer coisa manda pm que agente abre o tópico! abraços
  11. <html> <head> <title>Destaques</title> <style type="text/css"> <!-- .fora{ width: 300px; height: 150px; border: #0099cc 1px Solid; padding: 10px; } .i_esq{ width: 135px; height: 130px; border: #000000 1px Solid; float: left; } .i_dir{ width: 135px; height: 130px; border: #000000 1px Solid; } --> </style> <script language="JavaScript" type="text/javascript"> <!-- imagens = new Array(); textos = new Array(); imagens[0] = '<img src="imagens/imagem1.gif" width="130px" height="60px">'; imagens[1] = '<img src="imagens/imagem2.gif" width="130px" height="60px">'; imagens[2] = '<img src="imagens/imagem3.gif" width="130px" height="60px">'; imagens[3] = '<img src="imagens/imagem4.gif" width="130px" height="60px">'; textos[0] = 'Fernando Costa Migliorini'; textos[1] = 'bla bla bla bla bla bla bla bla bla'; textos[2] = 'o rato roeu a roupa do rei de roma'; textos[3] = 'Italia Italy Italia Italy Italia Italy Italia Italy Italia Italy'; cont = 0; function muda(){ cont++; if (cont == 4){ cont = 0; } document.getElementById('esq').innerHTML = imagens[cont]; document.getElementById('dir').innerHTML = textos[cont]; teste(); } function teste(){ setTimeout("muda()",5000); } //--> </script> </head> <body onload="teste();"> <div align="center" class="fora" style="width: 147px; height: 150px"> <div id="esq" class="i_esq" style="width: 130px; height: 60px"><script> document.write(imagens[0]); </script></div> <div id="dir" class="i_dir" style="width: 130px; height: 78px"><script> document.write(textos[0]); </script></div> <a onclick="" onmouseover="style.cursor= 'pointer';">Próximo</a> </div> </body> </html> da uma olhada aí abraços
  12. uma forma rapida é você colocar um select para o cara selecionar o o plano 1 ou 2, e depois checkbox para o cara selecionar as assinaturas
  13. HTML Application segue link de um tutorial: http://www.c-point.com/javascript_tutorial...pplications.htm
  14. o Orlando já postou na seção links!! http://scriptbrasil.com.br/forum/index.php...st&p=361240 fechando aqui!! abraços
  15. cara, não entendi! ou ele escolhe tudo 1 ou tudo 2! é isto?
  16. opa! fechando aí! qqer coisa da um toque! abraços
  17. olha um exemplo do MSDN <HEAD> <TITLE>My Monster Application</TITLE> <HTA:APPLICATION ID="oMyApp" APPLICATIONNAME="monster" BORDER="none" CAPTION="no" ICON="/graphics/creature.ico" SHOWINTASKBAR="no" SINGLEINSTANCE="yes" SYSMENU="no" WINDOWSTATE="maximize"> </HEAD> mais detalhes: http://msdn.microsoft.com/library/default.....asp?frame=true
  18. a opção load images do seu FF está habilitada?
  19. putz! acho que só usando o input file mesmo! posta aí o problema que você está tendo com o input file que agente pode tentar ajudar abraços
  20. fercosmig

    Telinha

    fiz um exemplo aí pra você dar uma olhada! <html> <head> <title>Untitled</title> <style type="text/css"> <!-- .fora{ width: 300px; height: 150px; border: #000000 1px Solid; padding: 10px; } .i_esq{ width: 135px; height: 130px; border: #000000 1px Solid; float: left; } .i_dir{ width: 135px; height: 130px; border: #000000 1px Solid; } --> </style> <script language="JavaScript" type="text/javascript"> <!-- imagens = new Array(); textos = new Array(); imagens[0] = '<img src="004.jpg" width="135px" height="130px">'; imagens[1] = '<img src="001.jpg" width="135px" height="130px">'; imagens[2] = '<img src="barra.jpg" width="135px" height="130px">'; imagens[3] = '<img src="fcm.jpg" width="135px" height="130px">'; textos[0] = 'Fernando Costa Migliorini'; textos[1] = 'bla bla bla bla bla bla bla bla bla'; textos[2] = 'o rato roeu a roupa do rei de roma'; textos[3] = 'Italia Italy Italia Italy Italia Italy Italia Italy Italia Italy'; cont = 0; function muda(){ cont++; if (cont == 4){ cont = 0; } document.getElementById('esq').innerHTML = imagens[cont]; document.getElementById('dir').innerHTML = textos[cont]; } //--> </script> </head> <body> <div align="center" class="fora"> <div id="esq" class="i_esq"><script> document.write(imagens[0]); </script></div> <div id="dir" class="i_dir"><script> document.write(textos[0]); </script></div> <a onclick="muda();" onmouseover="style.cursor= 'pointer';">Próximo</a> </div> </body> </html>
  21. fercosmig

    Telinha

    isto aí você faz com javascript... uma div um array, usa o innerHTML
  22. no marque acredito que não seja possível, talvez se você usar um script para rolar um iframe você possa com o settimeout() ir parando a pagina em ancoras... mas.. nem sei se daria certo! abraços
  23. fiz um código aí, desta forma você pode colocar no seu select... e usar a ideia para coloca no menu! <html> <head> <title>Untitled</title> </head> <body> <select name="teste" id="tst" onchange="parent.central.location.href = options[selectedIndex].value"> <option>Escolha uma opção</option> <option value="http://www.google.com">Google</option> <option value="https://www.scriptbrasil.com.br">Script Brasil</option> <option value="https://www.scriptbrasil.com.br/forum">Fórum SB</option> </select> <br> <iframe name="central" width="650px" height="200px" frameborder="0" src="http://www.cestasmace.com.br"></iframe> </body> </html> abraços
×
×
  • Criar Novo...