Ir para conteúdo
Fórum Script Brasil

'Tux'

Membros
  • Total de itens

    4
  • Registro em

  • Última visita

Sobre 'Tux'

  • Data de Nascimento 11/11/1990

Contatos

  • MSN
    brayann@vista.aero
  • Website URL
    http://www.itarare.sp.gov.br/

Perfil

  • Gender
    Male
  • Location
    SP

'Tux''s Achievements

0

Reputação

  1. 'Tux'

    Controle de estoque

    alguém tem algum codigo q faça +/- isso pra eu dar uma estudada ? :huh:
  2. 'Tux'

    Controle de estoque

    Mas ai q tá.. eu não manjo nada dessas bibliotecas.. jQuery, ext, e outras. você não sabe nenhum exemplo ou sistema q faça isso pra eu tentar adaptar ? ai com o tempo vou tentando aprender pra fazer eu mesmo ^^ até porque isso q to pedindo não curto fazer, mas é o unico meio porque tenho prazos.. =T valeu abç's
  3. 'Tux'

    Controle de estoque

    Estou desenvolvendo um sistema de controle de estoque em PHP, e na parte de entrada de produtos está assim: tem um primeiro form. onde escolho o fornecedor, gero a nota fiscal e o id do pedido.. e outras coisas.. depois de cadastrado a entrada, vem a escolha dos produtos desse fornecedor em um select, junto com a quantidade desejada desse produto e o seu valor. Minha dúvida é a seguinte: 1º: quero fazer com que ao escolher um produto, fazer tipo um botao "+", pra adicionar ele ao pedido, montando um grid em baixo dos produtos escolhidos, podendo remove-los (ou editá-los) do pedido. 2º: como vou cadastrar todos esses produtos de uma só vez? alguém pode me dar umas dicas/mostrar algum exemplo de como fazer ? ainda não manjo muito de javascript (deve ter q usar né?) valeu ! abç's.
  4. Bom dia.. estou com o seguinte prob. to montando um site que tem um menu dropdown.. ai coloquei um script em JS pra funcionar no IE 5 e IE 6 .. porque sem isso ele não funciona.. ele funciona normal com o JS .. porém quero validar o site no W3C .. só que dá erro no meu script JS e não valida =T olha o código ai: &lt;script type="text/JavaScript"> startList = function() { if (document.all&&document.getElementById) { navRoot = document.getElementById("nav-container"); for (i=0; i<navRoot.childNodes.length; i++) { node = navRoot.childNodes[i]; if (node.nodeName=="LI") { node.onmouseover=function() { this.className+=" over"; } node.onmouseout=function() { this.className=this.className.replace (" over", ""); } } } } } window.onload=startList; </script> ele dá os seguintes erros na validação: Line 20, Column 21: character "&" is the first character of a delimiter but occurred as data if (document.all&&document.getElementById) ✉ This message may appear in several cases: You tried to include the "<" character in your page: you should escape it as "<" You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe. Another possibility is that you forgot to close quotes in a previous tag. Line 20, Column 23: cannot generate system identifier for general entity "document.getElementById" if (document.all&&document.getElementById) ✉ An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs". Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters. If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem. Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed. Line 20, Column 23: general entity "document.getElementById" not defined and no default entity if (document.all&&document.getElementById) ✉ This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details. Line 20, Column 46: reference not terminated by REFC delimiter if (document.all&&document.getElementById) ✉ If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text. Line 20, Column 46: reference to entity "document.getElementById" for which no system identifier could be generated if (document.all&&document.getElementById) ✉ This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details. Line 20, Column 21: entity was defined here if (document.all&&document.getElementById) Line 23, Column 43: character ";" not allowed in attribute specification list for (i=0; i<navRoot.childNodes.length; i++) ✉ Line 23, Column 43: element "navRoot.childNodes.length" undefined for (i=0; i<navRoot.childNodes.length; i++) ✉ You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by: incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element), by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead). by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case). Line 42, Column 11: end tag for "navRoot.childNodes.length" omitted, but OMITTAG NO was specified </script></head> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 23, Column 16: start tag was here for (i=0; i<navRoot.childNodes.length; i++) Line 20, Column 21: XML Parsing Error: xmlParseEntityRef: no name if (document.all&&document.getElementById) ✉ Line 20, Column 45: XML Parsing Error: EntityRef: expecting ';' if (document.all&&document.getElementById) ✉ Line 23, Column 42: XML Parsing Error: error parsing attribute name for (i=0; i<navRoot.childNodes.length; i++) ✉ Line 23, Column 42: XML Parsing Error: attributes construct error for (i=0; i<navRoot.childNodes.length; i++) ✉ Line 23, Column 42: XML Parsing Error: Couldn't find end of Start Tag navRoot.childNodes.length line 23 for (i=0; i<navRoot.childNodes.length; i++) Obrigado.
×
×
  • Criar Novo...