Ir para conteúdo
Fórum Script Brasil

babaloricha

Membros
  • Total de itens

    355
  • Registro em

  • Última visita

Posts postados por babaloricha

  1. meu noa sei se você percebeu no sobre oque e onegocio da empresa! mas pelo que eu vio e uma grafica , os caras que fizeram akilo são exelentes! mas o o que eu percebo e que usaram uma conbinacao de circulos , pois não acho que akilo seja um efeito pronto do flash, acho que aquele botao e bem mais desenho do que acion vai ser dificil te explicar uma coisa dessa,

    1 circulo 3d preto

    2 circulocom raio espancivo com borda no meio

    3 circulo com raio expncivo 3d prencehendo o espaco do circulo brBCO( COM O V NO MEIO)

    4 e um aro em volta do cirmculo

    pra fazer o efeito de votar você tem que pegar os frames que já estao feitos e collar na ordeem inversa pradar a impressao de fazer(mouse over) e desfazer(mouse out)

    mas pra dedsenhar na minha opiniao vai ser dificil

  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    
    <body>
    <table border="2">
        <tr>
            <td></td><td bgcolor="#3300FF">mamiferos</td><td bgcolor="#3300FF">carnivoros</td><td bgcolor="#3300FF">plantas</td>
        </tr>
        <tr>
            <td bgcolor="#FF0000">grandes</td><td><a href="sua pagina">cachorro</a></td><td><a href="sua pagina">tubarao</a></td>
        </tr>
        <tr>
            <td bgcolor="#FF0000">medios</td><td><a href="sua pagina">cachorro</a></td><td><a href="sua pagina">tubarao</a></td>
        </tr>
        <tr>
            <td bgcolor="#FF0000">pequenos</td><td><a href="sua pagina">cachorro</a></td><td><a href="sua pagina">tubarao</a></td>
        </tr>
    </table>
    </body>
    </html>
    

    bom vê se e isso que você quer?

    no local onde esta escrito pagina você coloca o nome de sua pagiana. :lol:

  3. Boa Tarde galera , preiso saber como posso desenhar ou fazer um botao fica muuuiiittttooo parecido com o botao (soft lime green).

    preciso saber como se faz isso pos o dw não permite que você edite as demais acoes do botao, os botoes ficam então restrito a links!

    como dedsenhar? se alguém tiver um modelo da um toque ai falow

    ou melhor ainda um flasha debuger

  4. Fix um bem simples vê se serve !!!

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    
    <body>
    <form name="formulario">
    <select name="msel">
    <option value="10">esse</option>
    <option value="20">aquele</option>
    <option value="30">outro</option>
    </select>
    <input type="button" value="hit vai" onclick="passa()" />
    <input type="text" name="cam" />
    </form>
    <script language="javascript">
    function passa(){
    indice=document.formulario.msel.selectedIndex;
    document.formulario.cam.value=document.formulario.msel.options[indice].text;
    }
    </script>
    </body>
    </html>
    

    :ph34r:

  5. olha o site da empresa que eu trabalho e vê se e sso que você que

    o site e www.truffiblindados.com.br clique em consulte e dedpois clique para ver a foto de um carro de for oque você quer

    está la a disposicao pra quem quiser pegar o codigo!! :lol:

    minhas referncias foram htmlstaff.com.br

    e um artigo sober menu com rollorver javicript na cria web

  6. opa que e que eu ainda não atualizei :P

    ma olha o codigo aqui ele está um pouco alterado pra ficar na vertical ! mas olha ele ai

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    #mask{
        position:absolute;
        width:113px;
        height:427px;
        z-index:1;
        left: 650px;
        top: 68px;
        overflow:hidden;
        background-color:#d6fccd;
    }
    #menu{
        position:absolute;
        width:103px;
        height:603px;
        z-index:2;
        left: 3px;
        top: -24px;
        overflow:visible;
    }
    #setas {
        position:absolute;
        width:112px;
        height:44px;
        z-index:2;
        left: 653px;
        top: 16px;
        background:d6fccd;
    }
    -->
    </style>
    </head>
    <script language="JavaScript">
    var velo_scroll = 20; // velocidade da rolagem
    var pixel_scroll = 10; // quantidade de saltos entre os pixels
    var window_width = 400; 
    var isNav;
    var isIE;
    var coll = "";
    var styleObj = "";
    if (parseInt(navigator.appVersion) >= 4) {
    if (navigator.appName == "Netscape") {
    isNav = true;
    } else {
    isIE = true;
    coll = "all.";
    styleObj = ".style";
    }
    }
    
    function getObjWidth(obj) {
    var theObj = eval("document." + coll + obj);
    if (isNav) {
    return theObj.clip.width;
    } else {
    return theObj.clientWidth;
    }
    }
    
    function getObject(obj) {
    if (typeof obj == "string") {
    theObj = eval("document." + coll + obj + styleObj);
    } else {
    theObj = obj;
    }
    return theObj;
    }
    
    function getInsideWindowWidth() {
    if (isNav) {
    return window.innerWidth;
    } else {
    return document.body.clientWidth;
    }
    }
    
    function getObjectLeft(obj) {
    var theObj = getObject(obj);
    if (isNav) {
    return theObj.left;
    } else {
    return theObj.pixelLeft;
    }
    }
    
    function shiftBy(obj, x, y) {
    var theObj = getObject(obj);
    if (isNav) {
    theObj.left = theObj.left + x;
    theObj.top = theObj.top + y;
    } else {
    theObj.pixelLeft = theObj.pixelLeft + x;
    theObj.pixelTop = theObj.pixelTop + y;
    }
    }
    
    var tim = 0;
    var noScroll = true;
    
    function mLeft(obj) {
    obj = "menu"
    if(!noScroll && getObjectLeft(obj) < window_width) {
    shiftBy(obj,0,pixel_scroll);
    tim = setTimeout("mLeft()", velo_scroll);
    }
    }
    
    function mRight(obj) {
    obj = "menu";
    //if(!noScroll && getObjectLeft(obj) > -(getObjWidth(obj) - (getInsideWindowWidth())) - window_width) {
    shiftBy(obj,0,-pixel_scroll);
    tim = setTimeout("mRight()", velo_scroll);
    }
    //}
    
    function noMove() {
    clearTimeout(tim);
    noScroll = true;
    }
    f1 = new Image(432,364);
    f1.src = "f1.JPG";
    f2= new Image(432,364)
    f2.src = "f2.JPG";
    f3= new Image(432,364)
    f3.src = "f3.JPG";
    f4= new Image(432,364)
    f4.src = "f4.JPG";
    f5= new Image(432,364)
    f5.src = "f5.JPG";
    f6= new Image(432,364)
    f6.src = "f6.JPG";
    </script>
    
    
    <body bgcolor="d6fccd">
    <div id="setas">
    <a href="#" onmouseover="noScroll=false; mLeft('menu')" onmouseout="noMove()"><img src="cima.JPG" width="50" height="44" /></a>
    <a href="#" onMouseOver="noScroll=false; mRight('menu')" onMouseOut="noMove()"><img src="baixo.JPG" width="50" height="45" /></a></div>
    <!--<p><a href="#" onmouseover="noScroll=false; mLeft('menu')" onmouseout="noMove()">Esquerda</a>
        <a href="#" onMouseOver="noScroll=false; mRight('menu')" onMouseOut="noMove()">Direita</a></p>-->
    <div id="mask">
      <div id="menu"> <img src="f1.JPG" height="100" width="100" onclick="window.document['foto'].src = f1.src"/><img src="f2.JPG" height="100" width="100" onclick="window.document['foto'].src = f2.src" /></div>
    </div>
    <p><img src="f1.JPG" width="640" height="480" name="foto"/></p>
    </body>
    </html>
    
    pra ficar vertical eu alterei
    function mLeft(obj) {
    obj = "menu"
    if(!noScroll && getObjectLeft(obj) < window_width) {
    shiftBy(obj,0,pixel_scroll);
    tim = setTimeout("mLeft()", velo_scroll);
    }
    }
    
    function mRight(obj) {
    obj = "menu";
    //if(!noScroll && getObjectLeft(obj) > -(getObjWidth(obj) - (getInsideWindowWidth())) - window_width) {
    shiftBy(obj,0,-pixel_scroll);
    tim = setTimeout("mRight()", velo_scroll);
    }
    
    o original(horizontal)
    function mLeft(obj) {
    obj = "menu"
    if(!noScroll && getObjectLeft(obj) < window_width) {
    shiftBy(obj,pixel_scroll,0);
    tim = setTimeout("mLeft()", velo_scroll);
    }
    }
    
    function mRight(obj) {
    obj = "menu";
    if(!noScroll && getObjectLeft(obj) > -(getObjWidth(obj) - (getInsideWindowWidth())) - window_width) {
    shiftBy(obj,-pixel_scroll,0);
    tim = setTimeout("mRight()", velo_scroll);
    }
    

  7. o você nomeou o layer de mask e outro de menu?

    tipo #mask{................}

    # menu{.............}

    da uma o olhada no meu codigo , está um pouco diferente mas a parte do layer e igual e o evento e on click

    mas acho que vai te ajuda! :lol:

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    #mask{
        position:absolute;
        width:471px;
        height:160px;
        z-index:1;
        left: 277px;
        top: 272px;
        overflow:hidden;
        background-color:#6666FF;
    }
    #menu{
        position:absolute;
        width:604px;
        height:87px;
        z-index:2;
        left: -66px;
        top: 37px;
        overflow:visible;
    }
    -->
    </style>
    </head>
    <script language="JavaScript">
    var velo_scroll = 20; // velocidade da rolagem
    var pixel_scroll = 10; // quantidade de saltos entre os pixels
    var window_width = 400; 
    var isNav;
    var isIE;
    var coll = "";
    var styleObj = "";
    if (parseInt(navigator.appVersion) >= 4) {
    if (navigator.appName == "Netscape") {
    isNav = true;
    } else {
    isIE = true;
    coll = "all.";
    styleObj = ".style";
    }
    }
    
    function getObjWidth(obj) {
    var theObj = eval("document." + coll + obj);
    if (isNav) {
    return theObj.clip.width;
    } else {
    return theObj.clientWidth;
    }
    }
    
    function getObject(obj) {
    if (typeof obj == "string") {
    theObj = eval("document." + coll + obj + styleObj);
    } else {
    theObj = obj;
    }
    return theObj;
    }
    
    function getInsideWindowWidth() {
    if (isNav) {
    return window.innerWidth;
    } else {
    return document.body.clientWidth;
    }
    }
    
    function getObjectLeft(obj) {
    var theObj = getObject(obj);
    if (isNav) {
    return theObj.left;
    } else {
    return theObj.pixelLeft;
    }
    }
    
    function shiftBy(obj, x, y) {
    var theObj = getObject(obj);
    if (isNav) {
    theObj.left = theObj.left + x;
    theObj.top = theObj.top + y;
    } else {
    theObj.pixelLeft = theObj.pixelLeft + x;
    theObj.pixelTop = theObj.pixelTop + y;
    }
    }
    
    var tim = 0;
    var noScroll = true;
    
    function mLeft(obj) {
    obj = "menu"
    if(!noScroll && getObjectLeft(obj) < window_width) {
    shiftBy(obj, pixel_scroll, 0);
    tim = setTimeout("mLeft()", velo_scroll);
    }
    }
    
    function mRight(obj) {
    obj = "menu"
    if(!noScroll && getObjectLeft(obj) > -(getObjWidth(obj) - (getInsideWindowWidth())) - window_width) {
    shiftBy(obj, -pixel_scroll, 0);
    tim = setTimeout("mRight()", velo_scroll);
    }
    }
    
    function noMove() {
    clearTimeout(tim);
    noScroll = true;
    }
    f1 = new Image(432,364);// aqui você coloca a foto da sua escolha  o(432,364 e o tamanho)
    f1.src = "f1.JPG";
    f2= new Image(432,364)
    f2.src = "f2.JPG";
    f3= new Image(432,364)
    f3.src = "f3.JPG";
    f4= new Image(432,364)
    f4.src = "f4.JPG";
    f5= new Image(432,364)
    f5.src = "f5.JPG";
    f6= new Image(432,364)
    f6.src = "f6.JPG";
    </script>
    
    
    <body>
    <div id="mask">
        <div id="menu">
        <img src="f1.JPG" height="100" width="100" onclick="window.document['foto'].src = f21.src"/>
        <img src="f2.JPG" height="100" width="100" onclick="window.document['foto'].src = f2.src" />
        <img src="f3.JPG" height="100" width="100" onclick="window.document['foto'].src = f3.src"/>
        <img src="f4.JPG" height="100" width="100" onclick="window.document['foto'].src = f4.src"/>
        <img src="f5.JPG" height="100" width="100" onclick="window.document['foto'].src = f5.src"/>
        <img src="f6.JPG" height="100" width="100" onclick="window.document['foto'].src = f6.src"/>        </div>
    </div>
    <p><a href="#" onmouseover="noScroll=false; mLeft('menu')" onmouseout="noMove()">Esquerda</a>
        <a href="#" onMouseOver="noScroll=false; mRight('menu')" onMouseOut="noMove()">Direita</a></p>
    <p><img src="f1.JPG" width="432" height="364" name="foto"/></p>
    </body>
    </html>
    

    da uma olhada ai!!

  8. Opa pra ajuda você temos que saber oque você já sabe!

    então um bom programa para testar as estruturas pode ser um de inclusao e exibicao de do livro na tela

    struct livro
    {
    char nome[20]
    char autor[20]
    }
    // nessa estrutura so vamos colocar 2 campos para facilitar
    
    
    Voce sabe fazer um menu basico tipo aperte 1 para incluir e aperte 2 para ver? se souber faca um crie uma matrix de estruturas
    struct livro li[10];/ li e a varialvel  do tipo struct livro
    
    para incluir um livro
    li[i].nome=gets(); o . serve pra você selecionar qual e o campo que você  esta referenciando
    li[i].autor=gets();
    

    vo te que desloga mais tarde te ajudo

×
×
  • Criar Novo...