Ir para conteúdo
Fórum Script Brasil

fahledu

Veteranos
  • Total de itens

    1.281
  • Registro em

  • Última visita

Tudo que fahledu postou

  1. Não entendi muito bem, mas seria isso? <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF"> <script language="JavaScript"> function MudaCor(src, cor, mouseicon) { src.style.cursor = mouseicon; src.bgColor = cor; } </script> <table width="517" border="1" cellpadding="0"> <tr> <td width="94">&nbsp;</td> <td width="94" onMouseOver="MudaCor(this, '#ddccbb', 'hand');" onMouseOut="MudaCor(this, '', 'default');">passe o mouse</td> <td width="313">&nbsp;</td> </tr> <tr> <td width="94" onMouseOver="MudaCor(this, '#aaefdd', 'hand');" onMouseOut="MudaCor(this, '', 'default');">passe o mouse</td> <td width="94">&nbsp;</td> <td width="313" onMouseOver="MudaCor(this, '#abcdef', 'hand');" onMouseOut="MudaCor(this, '', 'default');">passe o mouse</td> </tr> <tr> <td width="94" height="70">&nbsp;</td> <td width="94" onMouseOver="MudaCor(this, '#5d6e7f', 'hand');" onMouseOut="MudaCor(this, '', 'default');" height="70">passe o mouse</td> <td width="313" height="70">&nbsp;</td> </tr> </table> </body> </html> Abraços
  2. Ve se agora vai, eu tirei algumas quebras de linha altomaticas que o bloco de notas colocou. Aqui pra mim ta funcionando normal... Abraços
  3. Veja se ajuda http://scriptbrasil.com.br/forum/index.php?showtopic=40779 Abraços
  4. Hummmm parece ser mais simples do que pensei, estava tentando fazer, me baseando numa apostila que baixei da net que mais me confundia do que ajudava. Valews Abraços
  5. Pelo que entendi seria isso... <html> <body> <head> <style TYPE="text/css"> #floater { position: absolute; right: 0; visibility: visible; z-index: 0; } </style> </head> <script LANGUAGE="JavaScript"> self.onError=null; currentX = currentY = 0; whichIt = null; lastScrollX = 0; lastScrollY = 0; NS = (document.layers) ? 1 : 0; IE = (document.all) ? 1: 0; function heartBeat() { if(IE) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; } if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; } if(diffY != lastScrollY) { percent = .1 * (diffY - lastScrollY); if(percent > 0) percent = Math.ceil(percent); else percent = Math.floor(percent); if(IE) document.all.floater.style.pixelTop += percent; if(NS) document.floater.top += percent; lastScrollY = lastScrollY + percent; } if(diffX != lastScrollX) { percent = .1 * (diffX - lastScrollX); if(percent > 0) percent = Math.ceil(percent); else percent = Math.floor(percent); if(IE) document.all.floater.style.pixelLeft += percent; if(NS) document.floater.left += percent; lastScrollX = lastScrollX + percent; } } function checkFocus(x,y) { stalkerx = document.floater.pageX; stalkery = document.floater.pageY; stalkerwidth = document.floater.clip.width; stalkerheight = document.floater.clip.height; if( (x > stalkerx && x < (stalkerx+stalkerwidth)) && (y > stalkery && y < (stalkery+stalkerheight))) return true; else return false; } function grabIt(e) { if(IE) { whichIt = event.srcElement; while (whichIt.id.indexOf("floater") == -1) { whichIt = whichIt.parentElement; if (whichIt == null) { return true; } } whichIt.style.pixelLeft = whichIt.offsetLeft; whichIt.style.pixelTop = whichIt.offsetTop; currentX = (event.clientX + document.body.scrollLeft); currentY = (event.clientY + document.body.scrollTop); } else { window.captureEvents(Event.MOUSEMOVE); if(checkFocus (e.pageX,e.pageY)) { whichIt = document.floater; StalkerTouchedX = e.pageX-document.floater.pageX; StalkerTouchedY = e.pageY-document.floater.pageY; } } return true; } function moveIt(e) { if (whichIt == null) { return false; } if(IE) { newX = (event.clientX + document.body.scrollLeft); newY = (event.clientY + document.body.scrollTop); distanceX = (newX - currentX); distanceY = (newY - currentY); currentX = newX; currentY = newY; whichIt.style.pixelLeft += distanceX; whichIt.style.pixelTop += distanceY; if(whichIt.style.pixelTop < document.body.scrollTop) whichIt.style.pixelTop = document.body.scrollTop; if(whichIt.style.pixelLeft < document.body.scrollLeft) whichIt.style.pixelLeft = document.body.scrollLeft; if(whichIt.style.pixelLeft > document.body.offsetWidth - document.body.scrollLeft - whichIt.style.pixelWidth - 20) whichIt.style.pixelLeft = document.body.offsetWidth - whichIt.style.pixelWidth - 20; if(whichIt.style.pixelTop > document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5) whichIt.style.pixelTop = document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5; event.returnValue = false; } else { whichIt.moveTo(e.pageX-StalkerTouchedX,e.pageY-Stal kerTouchedY); if(whichIt.left < 0+self.pageXOffset) whichIt.left = 0+self.pageXOffset; if(whichIt.top < 0+self.pageYOffset) whichIt.top = 0+self.pageYOffset; if( (whichIt.left + whichIt.clip.width) >= (window.innerWidth+self.pageXOffset-17)) whichIt.left = ((window.innerWidth+self.pageXOffset)-whichIt.clip. width)-17; if( (whichIt.top + whichIt.clip.height) >= (window.innerHeight+self.pageYOffset-17)) whichIt.top = ((window.innerHeight+self.pageYOffset)-whichIt.clip .height)-17; return false; } return false; } function dropIt() { whichIt = null; if(NS) window.releaseEvents (Event.MOUSEMOVE); return true; } if(NS) { window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN) ; window.onmousedown = grabIt; window.onmousemove = moveIt; window.onmouseup = dropIt; } if(IE) { document.onmousedown = grabIt; document.onmousemove = moveIt; document.onmouseup = dropIt; } if(NS || IE) action = window.setInterval("heartBeat()",1); </script> <div id="floater" style="position:absolute; left:400px; top:10px"> <input type=submit> </div> <p><a name="topo"></a></p> <div align="center"><center> <!------------------------------------------------- ---------> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> <font size=5 color=white>PARA TESTAR O EFEITO </FONT> </body> </html> Achei esse script aqui: http://scriptbrasil.com.br/forum/index.php?showtopic=3341 Abraços
  6. Como faço ? tipo depois de clicar no botao, comparar o conteudo que esta numa textbox com o conteudo que esta na coluna dados de um bd, se for igual retornar no label o conteudo que estiver na coluna resposta? Ainda estou aprendendo, se der pra xplicar de forma simples fico grato Abraços
  7. A principio o mesmo usado pra encriptar
  8. se não me engano é algo assim: id_da_sua_div.style.visibility: hidden abrços
  9. Não sei se ainda funciona, mas logo que começou essa historia era só segurar o shift quando colocar o cd. Segurando o shift essa "trava" não é carregada na memoria e não trava na hora de copiar... Se bem, que hj os metodos de "proteção" estão cada vez mais sordidos..hehe "CDs de música da Sony vem com Rootkit A garbosa indústria fonográfica é muito sacana. Além de proibir o p2p, eles instalam programinhas para que são um mimo: funcionam sem o conhecimento do usuário, roubam informações pessoais e limitam as possibilidades de utilização dos CDs. Veja como a Sony foi pega com as calças na mão, no teste do site SysInternal (ingles)" Abraços
  10. Estou tentando criar um script simples(pensei q fosse) q interage com o usuario. Dependendo do que ele coloca num determinado capo, em outro vem a resposta. sei que posso usar "if... then... else" ou o "select case" mas ai ficaria muita coisa pra uma mesma resposta. a ideia é mais ou menos essa, isso é chamado por um botão Sub interage() Select Case teste Case Range("b4").Value = "Ola" If Time = "06:00" Or Time < "12:00" Then Range("b2").Value = "bom dia" ElseIf Time = "12:00" Or Time < "18:00" Then Range("b2").Value = "boa tarde" ElseIf Time = "18:00" Or Time < "06:00" Then Range("b2").Value = "boa noite" Else End If Case Range("b4").Value = "" Range("b4").Value = "Esta em branco" End Select End Sub Onde estou errando? Ou não da pra mesclar esses dois comandos? Abraços
  11. Infelizmente não vejo como ajudar, talvez tentando abrir o arquivo sem usar a recuperação do documento
  12. Você já reiniciou o pc? Tive um problema semelhante e depois de reiniciar a maquina funcionou normal Abraços
  13. fahledu

    Fotos

    Não sou muito bom em design e tals Mas creio que você deva dar uma estudada em flash (no topo o efeito com a camera) Quanto as fotos, talvez esse post ajude em algo http://scriptbrasil.com.br/forum/index.php...24&hl=miniatura poderia ser feito só em html e o efeito de passar o mouse e escrever em baixo use camada (div). Mas dependendo da quantidade de foto e seu tamanho pode influenciar no tempo que leva pra sua pagina ser carregada. Ter uma noção de programas como fireworks ou photoshop ajudaria pra manipular imagens... tenta fazer alguma coisa Abraços
  14. isso e uso o onload <body onload=location.href="https://www.scriptbrasil.com.b r";>
  15. Não entendi muito bem... Mas acho que seja isso document.location="enderecopararedirecionar";//ou location.href ="enderecopararedirecionar"; Abraços
  16. eu não tenho certeza, mas talvez funcione <a href=window.opener.location.href=history.go(-2)>
  17. Olhei por cima e se não estiver enganado é isso q faz funcionar... <script type="text/javascript"> //<![CDATA[ if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } //]]> </script> Se estiver aparente ele faz com que oculte, se estiver oculto faz com que apareça Quando é para "aparecer" é mostrado tocshowtext Quando "oculto" tochidetext alguém que manja mais pode explicar melhor, ou me corrigir se eu estiver errado... Abraços
  18. fahledu

    Como Fazer Frame

    da uma olhadinha aqui... http://www.galizaweb.net/html4/present/frames.html Mas creio que seja mais interessante pra você usar iframe(no link também fala sobre ele) O link ta em galego mas da pra entender na boa esse link abaixo tem sobre frame também valhe olhar(fixo na propria seção html) http://scriptbrasil.com.br/forum/index.php?showtopic=36780 Abraços
  19. fahledu

    Dúvida

    Veja se ajuda http://scriptbrasil.com.br/forum/index.php...0387&hl=800x600
  20. fahledu

    Como Fazer Frame

    Acho que é isso que você ta querendo window.opener.location.href='nomedapagina' abraços
  21. fahledu

    Img

    Acho q você resolve isso colocanto "border="0" junto da tag da imagem Abraços
  22. fahledu

    Xp Pro

    Acredito que seja erro no serial digitado errado, anotado ou algo do genero já instalei do mesmo cd em mais de uma maquina(cd original e/ou pirata)
  23. valeu cara, mas eu já tinha visto, cheguei ate adicionar alguns em meus favoritos e peguei uns tutos também. Achei o q tava procurando... no txt.org "funções internas do vb6" em texto abraços
  24. alguém sabe onde eu encontro algo tipo um manual de referencia(tipo o que tem no vbmania) mas em formato txt ou pdf. Se possivel abarngindo mais coisas... Estou aprendendo VB e tem muita coisa que esqueço, outras que nem sei que exite Abraços
×
×
  • Criar Novo...