- Fórum WMO
- → guilherme014's Content
guilherme014's Content
There have been 14 items by guilherme014 (Search limited from 30/03/2023)
#938081 Iniciando Com Oracle
Posted by guilherme014 on 23/09/2008, 07:50 in Oracle
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleXETNSListener
O serviço solicitado já foi iniciado.
Para obter mais ajuda, digite NET HELPMSG 2182.
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleServiceXE
O serviço de OracleServiceXE está sendo iniciado.
O serviço de OracleServiceXE foi iniciado com êxito.
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Seg Set 22 08:07:49 2008
Copyright © 1982, 2005, Oracle. All rights reserved.
Conectado a uma instÔncia inativa.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file 'C:\oraclexe\app\oracle\product\10.2.0\serv
er\dbs/spfileXE.ora'
ORA-27041: unable to open file
OSD-04002: n┐o ┐ poss┐vel abrir arquivo
O/S-Error: (OS 2) O sistema n┐o pode encontrar o arquivo especificado.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file 'C:\oraclexe\app\oracle\product\10.2.0\serv
er\dbs/spfileXE.ora'
ORA-27041: unable to open file
OSD-04002: n┐o ┐ poss┐vel abrir arquivo
O/S-Error: (OS 2) O sistema n┐o pode encontrar o arquivo especificado.
SQL>
#899632 Quando Peço Para Mostrar O Codigo Fonte Da Pagina Mostra Ist
Posted by guilherme014 on 25/02/2008, 11:31 in PHP
<html> <head> <title>Documento sem título</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <?php //lembra-se que falei anteriormente que a data seria automática? //ele vai ser definida pelo próprio php $sql="INSERT INTO cliente( nom_cli, end_cli, bai_cli, cid_cli, uf_cli, cmp_cli, tres, tcel, tcom, cpf_cli, rg_cli, eml_cli, cep_cli) VALUES ('marcus','Rua Amaraji','são gabriel','belo horizonte', 'MG', 'casa 35', '34985487', '99854751','31534654','06004439657','MG 24231348','marcus@teste.com', '31985000')"; //conectando a base de dados MySql $conexao= pg_connect("postgres", "localhost" , "5432" "postgres", "postgres") $db= db_select_db("postgres") $sql=db_query($sql) or die ("Erro na query"); //onde string message = mensagem retorno de erro de gravaçao de dados echo"Parabéns o cadastro foi efetuado com sucesso."; ?> </body> </html>
#891510 Erro Em Mostrar Palavras Com Acentos
Posted by guilherme014 on 12/01/2008, 00:42 in PHP
funcionou
#891235 Erro Em Mostrar Palavras Com Acentos
Posted by guilherme014 on 10/01/2008, 11:54 in PHP
header('content-type: text/html; charset: utf-8');
e
header ('Content-type: text/html; charset=iso-8859-1');
#891205 Erro Em Mostrar Palavras Com Acentos
Posted by guilherme014 on 10/01/2008, 10:22 in PHP
#891192 Erro Em Mostrar Palavras Com Acentos
Posted by guilherme014 on 10/01/2008, 09:58 in PHP
o html esta assim
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR...ml4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
no php esta assim
<?php
session_start();
header ('Content-type: text/html; charset=iso-8859-1');
include_once "class/funcoes.php";
?>
o que pode ser que não aparece o acento ?
#883462 Apagar Campos Apos Envio Por Ajax
Posted by guilherme014 on 23/11/2007, 14:37 in Ajax
function enviar(){ var filiais = escape(document.getElementById('filiais').value); var local = escape(document.getElementById('local').value); var nome = escape(document.getElementById('nome').value); var email = escape(document.getElementById('email').value); var titulo = escape(document.getElementById('titulo').value); var assunto = escape(document.getElementById('assunto').value); return ajaxGet('funcoes/mensagens.php?filiais=' + filiais + '&local=' + local + '&nome=' + nome + '&email=' + email + '&titulo=' + titulo + '&assunto=' + assunto, document.getElementById('enviar'), true); } <a href="java script:void('OK');" onclick="enviar();"><img src="img/ok.gif" alt="Ok" width="16" height="13" border="0"></a>
Após clicar no botão ok, como apagar os campos acima ?
#880743 Tenho Este Codigo, De Menus, Mas Nao Funciona No Ie 7
Posted by guilherme014 on 08/11/2007, 11:54 in HTML, CSS e Metodologias
obrigado.
#880573 Servidor Na Rede Da Mensagem De Erro
Posted by guilherme014 on 07/11/2007, 17:14 in Apache
tem uma pagina index sim.
#880567 Servidor Na Rede Da Mensagem De Erro
Posted by guilherme014 on 07/11/2007, 16:55 in Apache
#880429 Servidor Na Rede Da Mensagem De Erro
Posted by guilherme014 on 07/11/2007, 10:22 in Apache
Forbidden
You don't have permission to access / on this server.
em localhost nao da esta mensagem o que pode ser?
#877393 Tenho Este Codigo, De Menus, Mas Nao Funciona No Ie 7
Posted by guilherme014 on 23/10/2007, 08:09 in HTML, CSS e Metodologias
css
@charset "UTF-8"; ul.MenuBarHorizontal{ margin: 0; padding: 0; list-style-type: none; font-size: 100%; cursor: default; width: auto; } ul.MenuBarActive{ z-index: 1000; } ul.MenuBarHorizontal li{ margin: 0; padding: 0; list-style-type: none; font-size: 100%; position: static;/*position: relative;*/ text-align: left; cursor: pointer; width: 8em; float: left; } ul.MenuBarHorizontal ul{ margin: 0; padding: 0; list-style-type: none; font-size: 100%; z-index: 1020; cursor: default; width: 200px; position: relative; left: -1000em; } ul.MenuBarHorizontal ul.MenuBarSubmenuVisible{ left: auto; } ul.MenuBarHorizontal ul li{ width: 200px; } ul.MenuBarHorizontal ul ul{ position: absolute; margin: -5% 0 0 95%; border: 1px solid #CCCCCC; } ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible{ left: auto; top: 0; position: relative; border: 1px solid #CCCCCC; } ul.MenuBarHorizontal ul{ border: 1px solid #CCCCCC; } ul.MenuBarHorizontal a{ display: block; cursor: pointer; background-color: #CCCCCC; color: #666666; text-decoration: none; font-family:Verdana; font-size: 10px; height:auto; } ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus{ background-color: #FFFFFF; color: #0077c1; } ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible{ background-color: #FFFFFF; color: #0077c1; } ul.MenuBarHorizontal a.MenuBarItemSubmenu{ background-position: 666% 50%; } ul.MenuBarHorizontal a.MenuBarItemSubmenuHover{ background-position: 666% 50%; } ul.MenuBarHorizontal iframe{ position: absolute; z-index: 1010; } ul.MenuBarHorizontal .AzulNegrito{ background-color: #FFFFFF; color: #0077c1; text-decoration: none; font-family:Verdana; font-size: 11px; font-weight:bold; padding-top: 5px; } ul.MenuBarHorizontal .Cinza{ background-color: #FFFFFF; color: ##0077c1; text-decoration: none; font-family:Verdana; font-size: 10px; padding-top: 5px; padding-bottom: 5px; } ul.MenuBarHorizontal a.Cinza:hover, ul.MenuBarHorizontal a.Cinza:focus{ background-image: url(seta.gif); background-repeat: no-repeat; background-position: 10% 50%; color: ##0077c1; padding-top: 5px; padding-bottom: 5px; } @media screen, projection{ ul.MenuBarHorizontal li.MenuBarItemIE{ display: inline; f\loat: left; background: #FFF; } } .inicial{ background-image: url(separa.gif); background-repeat: repeat-y; background-position: right; height: 15px; } #inicial{ width: 50px; text-align:center; padding-top: 3px; } .projeto{ background-image: url(separa.gif); background-repeat: repeat-y; background-position: right; height: 15px; } #projeto{ width: 80px; text-align:center; padding-top: 3px; } .acompanhe{ background-image: url(separa.gif); background-repeat: repeat-y; background-position: right; height: 15px; } #acompanhe{ width: 100px; text-align:center; padding-top: 3px; } .localize{ background-image: url(separa.gif); background-repeat: repeat-y; background-position: right; height: 15px; } #localize{ width: 135px; text-align:center; padding-top: 3px; } .novidade{ background-image: url(separa.gif); background-repeat: repeat-y; background-position: right; height: 15px; } #novidade{ width: 70px; text-align:center; padding-top: 3px; } .consulte{ background-image: url(separa.gif); background-repeat: repeat-y; background-position: right; height: 15px; } #consulte{ width: 60px; text-align:center; padding-top: 3px; } .historico{ background-image: url(separa.gif); background-repeat: repeat-y; background-position: right; height: 15px; } #historico{ width: 120px; text-align:center; padding-top: 3px; } #duvidas{ width: 140px; text-align:center; padding-top: 3px; } ul.MenuBarHorizontal a:hover.semDropDrown{ color:#FFFFFF; background-color:#CCCCCC; background-position: 666% 50%; }
html
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script> <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css"> <ul id="MenuBar1" class="MenuBarHorizontal"> <li id="inicial" class="inicial"><a href="#" class="semDropDrown">Inicial</a></li> <li id="projeto" class="projeto"><a href="#">O Projeto</a> <ul class="Azul"> <li class="Azul"><a class="Cinza" href="#"> 1</a></li> <li class="Azul"><a class="Cinza" href="#"> 2</a></li> </ul> </li> <li id="acompanhe" class="acompanhe"><a href="#">Acompanhe</a> <ul> <li class="AzulNegrito"> </li> <li class="AzulNegrito"> Etapa 1:</li> <li><a class="Cinza" href="?acompanhe=1"> 3</a></li> <li><a class="Cinza" href="?acompanhe=2"> 4</a></li> <li class="AzulNegrito"> </li> <li class="AzulNegrito"> Etapa 2:</li> <li><a class="Cinza" href="?acompanhe=11"> Aguarde</a></li> </ul> </li> </ul> <script type="text/javascript"> <!-- var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"}); //--> </script>
#876998 Tenho Este Css, Duvidas Em Menu
Posted by guilherme014 on 19/10/2007, 20:43 in HTML, CSS e Metodologias
ul.MenuBarHorizontal a.Azul:hover, ul.MenuBarHorizontal a.Azul:focus{
background-image: url(seta.gif);
background-repeat: no-repeat;
background-position: 0% 50%;
}
coloquei assim e funcionou
valeu
#876956 Tenho Este Css, Duvidas Em Menu
Posted by guilherme014 on 19/10/2007, 17:42 in HTML, CSS e Metodologias
ele tambem não funciona direito nos IE 6 e 7.
O link é este http://www.netsoft.e.../menu/menus.php.
css
@charset "UTF-8"; ul.MenuBarHorizontal{ margin: 0; padding: 0; list-style-type: none; font-size: 100%; cursor: default; width: auto; } ul.MenuBarActive{ z-index: 1000; } ul.MenuBarHorizontal li{ margin: 0; padding: 0; list-style-type: none; font-size: 100%; position: relative; text-align: left; cursor: pointer; width: 8em; float: left; } ul.MenuBarHorizontal ul{ margin: 0; padding: 0; list-style-type: none; font-size: 100%; z-index: 1020; cursor: default; width: 8.2em; position: absolute; left: -1000em; } ul.MenuBarHorizontal ul.MenuBarSubmenuVisible{ left: auto; } ul.MenuBarHorizontal ul li{ width: 8.2em; } ul.MenuBarHorizontal ul ul{ position: absolute; margin: -5% 0 0 95%; } ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible{ left: auto; top: 0; } ul.MenuBarHorizontal ul{ border: 1px solid #CCC; } ul.MenuBarHorizontal a{ display: block; cursor: pointer; background-color: #CCCCCC; color: #666666; text-decoration: none; font-family:Verdana; font-size: 10px; } ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus{ background-color: #FFFFFF; color: #0077c1; } ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible{ background-color: #FFFFFF; color: #0077c1; } ul.MenuBarHorizontal a.MenuBarItemSubmenu{ background-repeat: no-repeat; background-position: 666% 50%; } ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus{ background-image: url(seta.gif); background-repeat: no-repeat; background-position: 0% 50%; } ul.MenuBarHorizontal a.MenuBarItemSubmenuHover{ background-repeat: no-repeat; background-position: 666% 50%; } ul.MenuBarHorizontal iframe{ position: absolute; z-index: 1010; } .Azul{ background-color: #CCCCCC; color: #0077c1; text-decoration: none; font-family:Verdana; font-size: 10px; font-weight:bold; } ul.MenuBarHorizontal a.Azul{ background-image: url(SpryMenuBarDownHover.gif); background-repeat: no-repeat; background-position: 666% 50%; } @media screen, projection{ ul.MenuBarHorizontal li.MenuBarItemIE{ display: inline; f\loat: left; background: #FFF; } }
javascript
var Spry; if(!Spry) { Spry = {}; } if(!Spry.Widget) { Spry.Widget = {}; } Spry.Widget.MenuBar = function(element, opts) { this.init(element, opts); }; Spry.Widget.MenuBar.prototype.init = function(element, opts) { this.element = this.getElement(element); this.currMenu = null; var isie = (typeof document.all != 'undefined' && typeof window.opera == 'undefined' && navigator.vendor != 'KDE'); if(typeof document.getElementById == 'undefined' || (navigator.vendor == 'Apple Computer, Inc.' && typeof window.XMLHttpRequest == 'undefined') || (isie && typeof document.uniqueID == 'undefined')) { return; } if(opts) { for(var k in opts) { var rollover = new Image; rollover.src = opts[k]; } } if(this.element) { this.currMenu = this.element; var items = this.element.getElementsByTagName('li'); for(var i=0; i<items.length; i++) { this.initialize(items[i], element, isie); if(isie) { this.addClassName(items[i], "MenuBarItemIE"); items[i].style.position = "static"; } } if(isie) { if(this.hasClassName(this.element, "MenuBarVertical")) { this.element.style.position = "relative"; } var linkitems = this.element.getElementsByTagName('a'); for(var i=0; i<linkitems.length; i++) { linkitems[i].style.position = "relative"; } } } }; Spry.Widget.MenuBar.prototype.getElement = function(ele) { if (ele && typeof ele == "string") return document.getElementById(ele); return ele; }; Spry.Widget.MenuBar.prototype.hasClassName = function(ele, className) { if (!ele || !className || !ele.className || ele.className.search(new RegExp("\\b" + className + "\\b")) == -1) { return false; } return true; }; Spry.Widget.MenuBar.prototype.addClassName = function(ele, className) { if (!ele || !className || this.hasClassName(ele, className)) return; ele.className += (ele.className ? " " : "") + className; }; Spry.Widget.MenuBar.prototype.removeClassName = function(ele, className) { if (!ele || !className || !this.hasClassName(ele, className)) return; ele.className = ele.className.replace(new RegExp("\\s*\\b" + className + "\\b", "g"), ""); }; Spry.Widget.MenuBar.prototype.addEventListener = function(element, eventType, handler, capture) { try { if (element.addEventListener) { element.addEventListener(eventType, handler, capture); } else if (element.attachEvent) { element.attachEvent('on' + eventType, handler); } } catch (e) {} }; Spry.Widget.MenuBar.prototype.createIframeLayer = function(menu) { var layer = document.createElement('iframe'); layer.tabIndex = '-1'; layer.src = 'java script:false;'; menu.parentNode.appendChild(layer); layer.style.left = menu.offsetLeft + 'px'; layer.style.top = menu.offsetTop + 'px'; layer.style.width = menu.offsetWidth + 'px'; layer.style.height = menu.offsetHeight + 'px'; }; Spry.Widget.MenuBar.prototype.removeIframeLayer = function(menu) { var layers = menu.parentNode.getElementsByTagName('iframe'); while(layers.length > 0) { layers[0].parentNode.removeChild(layers[0]); } }; Spry.Widget.MenuBar.prototype.clearMenus = function(root) { var menus = root.getElementsByTagName('ul'); for(var i=0; i<menus.length; i++) { this.hideSubmenu(menus[i]); } this.removeClassName(this.element, "MenuBarActive"); }; Spry.Widget.MenuBar.prototype.bubbledTextEvent = function() { return (navigator.vendor == 'Apple Computer, Inc.' && (event.target == event.relatedTarget.parentNode || (event.eventPhase == 3 && event.target.parentNode == event.relatedTarget))); }; Spry.Widget.MenuBar.prototype.showSubmenu = function(menu) { if(this.currMenu) { this.clearMenus(this.currMenu); this.currMenu = null; } if(menu) { this.addClassName(menu, "MenuBarSubmenuVisible"); if(typeof document.all != 'undefined' && typeof window.opera == 'undefined' && navigator.vendor != 'KDE') { if(!this.hasClassName(this.element, "MenuBarHorizontal") || menu.parentNode.parentNode != this.element) { menu.style.top = menu.parentNode.offsetTop + 'px'; } } if(typeof document.uniqueID != "undefined") { this.createIframeLayer(menu); } } this.addClassName(this.element, "MenuBarActive"); }; Spry.Widget.MenuBar.prototype.hideSubmenu = function(menu) { if(menu) { this.removeClassName(menu, "MenuBarSubmenuVisible"); if(typeof document.all != 'undefined' && typeof window.opera == 'undefined' && navigator.vendor != 'KDE') { menu.style.top = ''; menu.style.left = ''; } this.removeIframeLayer(menu); } }; Spry.Widget.MenuBar.prototype.initialize = function(listitem, element, isie) { var opentime, closetime; var link = listitem.getElementsByTagName('a')[0]; var submenus = listitem.getElementsByTagName('ul'); var menu = (submenus.length > 0 ? submenus[0] : null); var hasSubMenu = false; if(menu) { this.addClassName(link, "MenuBarItemSubmenu"); hasSubMenu = true; } if(!isie) { listitem.contains = function(testNode) { if(testNode == null) { return false; } if(testNode == this) { return true; } else { return this.contains(testNode.parentNode); } }; } var self = this; this.addEventListener(listitem, 'mouseover', function(e) { if(self.bubbledTextEvent()) { return; } clearTimeout(closetime); if(self.currMenu == listitem) { self.currMenu = null; } self.addClassName(link, hasSubMenu ? "MenuBarItemSubmenuHover" : "MenuBarItemHover"); if(menu && !self.hasClassName(menu, "MenuBarSubmenuVisible")) { opentime = window.setTimeout(function(){self.showSubmenu(menu);}, 250); } }, false); this.addEventListener(listitem, 'mouseout', function(e) { if(self.bubbledTextEvent()) { return; } var related = (typeof e.relatedTarget != 'undefined' ? e.relatedTarget : e.toElement); if(!listitem.contains(related)) { clearTimeout(opentime); self.currMenu = listitem; self.removeClassName(link, hasSubMenu ? "MenuBarItemSubmenuHover" : "MenuBarItemHover"); if(menu) { closetime = window.setTimeout(function(){self.hideSubmenu(menu);}, 600); } } }, false); };
html
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script> <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css"> <ul id="MenuBar1" class="MenuBarHorizontal"> <li class="menu"><a href="#">Inicial</a></li> <li><a href="#">O Projeto</a> <ul> <li><a class="MenuBarItemSubmenu" href="#"> Item 1.1</a></li> <li><a class="MenuBarItemSubmenu" href="#"> Item 1.2</a></li> <li><a class="MenuBarItemSubmenu" href="#"> Item 1.3</a></li> </ul> </li> <li><a href="#">Acompanhe</a> <ul> <li class="Azul"><a class="Azul">Etapa 1:</a></li> <li><a class="MenuBarItemSubmenu" href="#"> 1</a></li> <li><a class="MenuBarItemSubmenu" href="#"> 2</a></li> <li><a class="MenuBarItemSubmenu" href="#"> 3</a></li> <li class="Azul"><a class="Azul">Etapa 2:</a></li> <li><a class="MenuBarItemSubmenu" href="#"> Aguarde</a></li> </ul> </li> </ul> <script type="text/javascript"> <!-- var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"}); //--> </script>
- Fórum WMO
- → guilherme014's Content
- Privacy Policy
- Regras ·