<hr align="center" width="40" size="1" color=red>
Align : A posição
Wdth : Tamanho
Size : Espessura
Coloer : Cor
Posted by Lengrat
on 30/03/2004, 16:56
Posted by LarPhozyHah
on 29/09/2017, 07:45
Posted by Foxn
on 07/10/2003, 00:10
1 class Registro {
2
3 }1 class Registro {
2 function Registro(){
3 trace("A classe está funcionando");
4 }
5 }// declara nome:tipo da classe var novo:Registro; // Gerando um novo objeto novo = new Registro();
1 class Registro {
2 // Delarando algumas propriedades
3 var nome:String;
4 var sobrenome:String;
5 var idade:Number;
6 // Função contrutora
7 function Registro($nome:String,$sobrenome:String,$idade:Number){
8 nome = $nome;
9 sobrenome = $sobrenome;
10 idade = $idade;
11 }
12 }// declara nome:tipo da classe
var novo:Registro;
// Gerando um novo objeto
novo = new Registro("Paulo","Marques",25);// declara nome:tipo da classe
var novo:Registro;
// Gerando um novo objeto
novo = new Registro("Paulo","Marques",25);
novo.cidade = "São Paulo"_global.Registro = function($nome,$sobrenome,$idade){
this.nome = $nome;
this.sobrenome = $sobrenome;
this.idade = $idade;
}
novo = new Registro("Paulo","Marques",25);
novo.cidade = "São Paulo";
Posted by DocAndMed
on 10/06/2017, 11:22




Posted by GCTS
on 27/05/2006, 01:43
Posted by bimonti
on 11/05/2006, 12:37
var variavel;
if (window.XMLHttpRequest) {
variavel = new XMLHttpRequest();
} else if (window.ActiveXObject) {
variavel = new ActiveXObject("Microsoft.XMLHTTP");
}
var msg;
function mostraAlerta(){
try{
aalert("Olá");
}
catch(erro)
{
msg = "Ocorreu um erro na página. \n";
msg+ = "Clica no OK pra continuar";
alert(msg);
}
}
var.onreadystatechange = functionPraTrabalharARequisicao;
var.open("GET", url, true);
var.send(null);
var.open("POST", url, true);
var.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;");
var.setRequestHeader("Cache-Control", "no-store, no-cache, must-revalidate");
var.setRequestHeader("Pragma", "no-cache");
var.onreadystatechange = functionPraTrabalharARequisicao;
var.send("Nome=" + Nome);
var.onreadystatechange = workSend;
var.open("GET", url, true);
var.send(null);
if (var.status == 200) {
// ...se funfar você faz aqui suas paradas...
} else {
alert("Ouve um problema com sua requisição:\n" + var.statusText);
}
Posted by Danilomaru
on 22/01/2015, 13:42
Está quase a fazer um ano que a Google lançou o Android Studio – um IDE de programação para a plataforma Android. Este IDE é semelhante ao popular Eclipse, com ADT Plugin, oferecendo as melhores ferramentas e funcionalidades aos programadores. Segundo a própria Google, com o Android Studio a programação para Android é mais simples e rápida.
Hoje vamos mostrar como podem começar a usar o Android Studio.
![]()
Para quem está habituado ao Eclipse ou ao Netbeans, facilmente se adaptará ao Android Studio. Para os novatos, vão ver que também é simples. Lembrem-se que o sucesso de um programador começa inicialmente por dominar o IDE de programação. Vamos a isso então.
Download do Android Studio
O Android Studio está disponível para Windows, MacOS e Linux. Para descarregaram a vossa versão, basta que acedam à página do projecto aqui.
Em alguns sistemas Windows, caso o java nao seja detectado, é importante que criem uma variável de ambiente para essa finalidade.
Para isso basta ir as propriedade do “Meu Computado” > Propriedades > Propriedades Avançadas e depois aceder ao separador Variáveis de ambiente. e criar uma variável de ambiente do seguinte tipo:
JAVA_HOME
C:\Program Files\Java\jdk1.7.0_21.
Como criar o primeiro programa? Como se trata do primeiro tutorial, hoje vamos fazer algo bastante simples…o tipico Hello Worl mas modificado para o Pplware “Hello Pplware”. Para isso devem seguir os seguintes passos:
Passo 1) Criar um novo projeto
Depois de instalar o Android Studio, basta executar o mesmo e em seguida escolher New Project.
Passo 2) Identificação da aplicação
Indicar o nome da aplicação (ex. PplwareApp). O modulo name, package name e project location são automaticamente preenchidos (o utilizador pode sempre mudar a informação para esses parâmetros).
Depois existem também a possibilidade de indicarem para que versão do Android vão programar. Para este exemplo vamos considerar que vamos programar para o Android 4.4 (target SDK) mas com suporte desde o Android 2.2 (minimum required SDK).
Passo 3) Escolha do ícone
Escolha do ícone e parametrizações do mesmo
![]()
Passo 4) Escolha do tipo de atividade
Em seguida escolhemos o modelo da atividade. Para este exemplo vamos escolher blank activity que irá criar uma aplicação simples, sem qualquer modelo de navegação definido (este ponto é definido no passo seguinte, em additional Features).
Passo 5) Nome da atividade
Por fim indicamos o nome para a atividade e também o nome para o layout.
![]()
Agora basta esperar uns segundos ate que seja criada a estrutura da nossa aplicação.
![]()
Depois de termos a estrutura disponível, vamos ao projecto criar e dentro de PplwareApp > src > main > res > values > Strings alterarmos o “Hello World” para “Hello Pplware”.
Por fim, basta carregar em Start para executar o emulador ou então descarregar a aplicação para um dispositivo real. Nota: Caso não tenham um emulador criado, basta ir a Tools > Android > AVD Manager
![]()
..e aqui está está o resultado deste projeto.
E está feito. Comparativamente ao eclipse, o Android Studio tem uma interface mais intuitiva e melhor organizada. Ao nível da performance, os dois IDE são bastante semelhantes…pois não estivéssemos nós a falar em java. Experimentem e diga-mos os que acharam.
Fonte: http://pplware.sapo....android-studio/
Posted by Balala
on 06/05/2005, 14:13
CREATE TABLE `categorias` ( `codigo` int(3) NOT NULL auto_increment, `nome` varchar(50) NOT NULL default '', PRIMARY KEY (`codigo`) );
CREATE TABLE `subcategoria` ( `codigo` int(3) NOT NULL auto_increment, `categoria` int(3) NOT NULL default '0', `nome` varchar(50) NOT NULL default '', PRIMARY KEY (`codigo`) );
INSERT INTO `categorias` VALUES (1, 'Refrigerantes'); INSERT INTO `categorias` VALUES (2, 'Frutas'); INSERT INTO `categorias` VALUES (3, 'Carnes'); INSERT INTO `categorias` VALUES (4, 'Cervejas');
INSERT INTO `subcategoria` VALUES (1, 2, 'Maçã'); INSERT INTO `subcategoria` VALUES (2, 3, 'Alcatra'); INSERT INTO `subcategoria` VALUES (3, 1, 'Sprite'); INSERT INTO `subcategoria` VALUES (4, 1, 'Fanta'); INSERT INTO `subcategoria` VALUES (5, 2, 'Laranja'); INSERT INTO `subcategoria` VALUES (6, 4, 'Skol'); INSERT INTO `subcategoria` VALUES (7, 4, 'Bohemia'); INSERT INTO `subcategoria` VALUES (8, 1, 'Coca-Cola'); INSERT INTO `subcategoria` VALUES (9, 3, 'Coxão Mole'); INSERT INTO `subcategoria` VALUES (10, 2, 'Limão'); INSERT INTO `subcategoria` VALUES (11, 3, 'Picanha'); INSERT INTO `subcategoria` VALUES (12, 4, 'Brahma');
SELECT * FROM categori<span style='color:green'>as ORDER BY nome ASC
<select name="categoria">
<option></option>
<?php
$consulta = mysql_query("SELECT * FROM categorias ORDER BY nome ASC");
while( $row = mysql_fetch_assoc($consulta) )
{
echo "<option value=\"{$row['codigo']}\">{$row['nome']}</option>\n";
}
?>
</select><select name="categoria" onchange="pesquisar_dados( this.value )">
<select name="subcategoria"></select>
function pesquisar_dados( valor )
{
http.open("GET", "consultar.php?id=" + valor, true);
http.onreadystatechange = handleHttpResponse;
http.send(null);
}function handleHttpResponse()
{
campo_select = document.forms[0].subcategoria;
if (http.readyState == 4) {
campo_select.options.length = 0;
results = http.responseText.split(",");
for( i = 0; i < results.length; i++ )
{
string = results[i].split( "|" );
campo_select.options[i] = new Option( string[0], string[1] );
}
}
}function getHTTPObject() {
var xmlhttp;
/*@cc_on
@if (@_jscript_version >= 5)
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {
xmlhttp = false;
}
}
@else
xmlhttp = false;
@end @*/
if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
try {
xmlhttp = new XMLHttpRequest();
} catch (e) {
xmlhttp = false;
}
}
return xmlhttp;
}
var http = getHTTPObject();<?php
$con = mysql_connect("localhost", "usuario", "senha");
mysql_select_db("base_dados");
$categoria = addslashes($_GET["id"]); // pegamos o id passado pelo select
$consulta = mysql_query("SELECT * FROM subcategoria WHERE categoria = '$categoria'"); // selecionamos todas as subcategorias que pertencem à categoria selecionada
while( $row = mysql_fetch_assoc($consulta) )
{
echo $row["nome"] . "|" . $row["codigo"] . ","; // apresentamos cada subcategoria dessa forma "NOME|CODIGO,NOME|CODIGO,NOME|CODIGO,...", exatamente da maneira que iremos tratar no JavaScript
}
?><?php
$con = mysql_connect("localhost", "usuario", "senha");
mysql_select_db("base_dados");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript">
function pesquisar_dados( valor )
{
http.open("GET", "consultar.php?id=" + valor, true);
http.onreadystatechange = handleHttpResponse;
http.send(null);
}
function handleHttpResponse()
{
campo_select = document.forms[0].subcategoria;
if (http.readyState == 4) {
campo_select.options.length = 0;
results = http.responseText.split(",");
for( i = 0; i < results.length; i++ )
{
string = results[i].split( "|" );
campo_select.options[i] = new Option( string[0], string[1] );
}
}
}
function getHTTPObject() {
var xmlhttp;
/*@cc_on
@if (@_jscript_version >= 5)
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {
xmlhttp = false;
}
}
@else
xmlhttp = false;
@end @*/
if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
try {
xmlhttp = new XMLHttpRequest();
} catch (e) {
xmlhttp = false;
}
}
return xmlhttp;
}
var http = getHTTPObject();
</script>
</head>
<body>
<form name="formulario" method="post" action="">
<p><select name="categoria" onchange="pesquisar_dados( this.value )">
<option></option>
<?php
$consulta = mysql_query("SELECT * FROM categorias ORDER BY nome ASC");
while( $row = mysql_fetch_assoc($consulta) )
{
echo "<option value=\"{$row['codigo']}\">{$row['nome']}</option>\n";
}
?>
</select></p>
<p><select name="subcategoria"></select>
</p>
</form>
</body>
</html>function handleHttpResponse()
{
campo_text = document.forms[0].subcategoria;
if (http.readyState == 4) {
campo_text = http.responseText;
}
}
xml_http_request.txt 11.81KB
1286 downloads
Posted by Paulo Freitas
on 02/12/2009, 09:15
reputation_system.png 2.86KB
5 downloads
top5_reputation.png 7.83KB
4 downloads
top_reputation.png 73.32KB
10 downloads
recent_statuses.png 47.99KB
12 downloads
profile_status.png 11.87KB
9 downloads
report_message_button.png 1.49KB
3 downloads
report_user_button.png 1.61KB
1 downloads
share_button.png 1.8KB
3 downloads
share_button_opened.png 16.08KB
1 downloads
share_button_fullopened.jpg 33.92KB
12 downloads
settings_social_networking.png 43.61KB
13 downloads
profile_social_networking.png 67.88KB
12 downloads
media_bbcode.png 8.87KB
10 downloads[media]http://www.youtube.com/watch?v=k5Zbc-Rg6e8[/media]Eis o BBCode interpretado:
table_bbcodes.png 3KB
2 downloads[table="Tabela modelo: Lista de estados brasileiros"][thead][tr][th=10]Abreviação[/th][th=30]Estado[/th][th=30]Capital[/th][th=30]Área (km²)[/th][/tr][/thead][tfoot][tr][th]3 estados[/th][th][/th][th][/th][th]323.163,7[/th][/tr][/tfoot][tbody][tr][th]AC[/th][td2]Acre[/td2][td]Rio Branco[/td][td]152.581,4[/td][/tr][tr2][th]AL[/th][td2]Alagoas[/td2][td]Maceió[/td][td]27.767,7[/td][/tr2][tr][th]AP[/th][td2]Amapá[/td2][td]Macapá[/td][td]142.814,6[/td][/tr][/tbody][/table]Exemplo interpretado:
| Abreviação | Estado | Capital | Área (km²) |
|---|---|---|---|
| 3 estados | 323.163,7 | ||
| AC | Acre | Rio Branco | 152.581,4 |
| AL | Alagoas | Maceió | 27.767,7 |
| AP | Amapá | Macapá | 142.814,6 |
Posted by Klaus
on 25/05/2005, 12:16
gmail%google => Encontrará posts que possuam qualquer uma das palavras, ou mesmo as duas, em qualquer ordem.
gmail AND google => Encontrará posts que possuam obrigatoriamente "gmail" e "google".
gmail OR google => Encontrará posts que possuam ou "gmail" ou "google".
Posted by GeorgeHartek
on 03/08/2017, 22:41
Posted by
jasar
on 07/04/2006, 18:11
Posted by kapedlok
on 28/05/2018, 13:46
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked! If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).
READ MORE lg g4 pay as you go2016 quality original xiaomi car charger dual usb 5v 3 6a volt quick charge full metal 16.96$next free shippingwhat is the current federal reserve discount ratefuture pharma shopid card mockupRussia bans images depicting Putin in makeupnext discount code december 2018amazon gift card offerbusiness card psddiscount offersamazon gift card code onlineand clothing online storeprescription coverage for uninsuredvertical mockupsuitcase allowanceGood quality leather mini women messenger bag circle crossbody bags cat ear shoulder bag famous brand 8.00$ CLICK ON THE BANNER
"In the old days,depreciation " Felix told Megan,why is online shopping better "princes used theseEven so,Oukitel K6000 Pro 4G Phablet-222.39 $ he was going pretty fast. There were no flies now and the air in his face was delicious. He had got his breath back too. And his errand had succeeded. For the first time since the arrival at Tashbaan (how long ago it seemed!) he was beginning to enjoy himself."Not literally,MEGIR 2009 Male Japan Quartz Watch-18.03 $ Colonel. We don't use a chess board. WeKay could see how Michael stood to receive their homage. He reminded her of statues in Rome,lg mobile 2018 models statues of those Roman emperors of antiquity,watch straps who,business card psd by divine right,where to purchase bitcoin held the power of life and death over their fellow men. One hand was on his hip,lg new mobile phone the profile of his face showed a cold proud power,how to calculate discount rate percentage his body was carelessly,new watches for sale arrogantly at ease,sandwich mockup free weight resting on one foot slightly behind the other. The caporegimes stood before him. In that moment Kay knew that everything Connie had accused Michael of was true. She went back into the kitchen and wept.Senator Davis smiled. "Now I will,cheap prescription meds son. Now I will."IN SOUTH AMERICA,designer online stores Land of Enchantment,XiaoMi Mi5 32GB ROM 4G Smartphone-366.77 $ we could be wading in a river where tiny fish will swim up Tyler's urethra. The fish have barbed spines that flare out and back so once they're up Tyler,uni watch the fish set up housekeeping and get ready to lay their eggs. In so many ways,amazon gift coupons online how we spent Saturday night could be worse.
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked! If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).
READ MORE bargain hotel dealslg g4 pay monthly dealsall the best deals on the internet todaylg phones indiadiscount vacation websitesuni watch2016 hot sale cycling bicycle bike carbon bottle cage bottle holder rack lightweight durable essential portabidones 2.06$demerits of online shoppingmen's wrist watches online shoppingwhere to buy discounted gift cards onlinegift card tocheap tire deals near methe federal reserve's discount rate is applied torebate processingbest car rental site CLICK ON THE BANNER
okay,Sessions recuses himself from Russia probe Jo Ann?" "I'm fine,benefit shop online Alex." "You seem far away,nike sneaker deals baby. What are"According to the press,how to buy bitcoin online Colonel Acoca is conducting a bigdining room. "There is another package,special deals today " he said. "Someone is goingThey went to the supper show and Jules kept her amused by describing different types of bare thighs and breasts in medical terms; but without sneering,antique watches all in good humor. Afterward they played roulette together at the same wheel and won over a hundred dollars. Still later they drove up to Boulder Dam in the moonlight and he tried to make love to her but when she resisted after a few kisses he knew that she really meant no and stopped. Again he took his defeat with great good humor. I told you I wouldnt. Lucy said with half-guilty reproach.Oh,big discount on watches Kay said,and clothing online store then asked curiously,personal tax deductions 2018 why didnt you adopt him?stepping-stone,lowes rebate tracking Oliver. Walk carefully." And he was careful. He hadBut how can He show me mercy when I am betraying ,Artdewred brand 32 38 b cup sexy lace bralet women push up bra sets print bra 10.56$ Him?
Posted by Giovanna Cóppola
on 29/06/2009, 20:02
Posted by mapedlok
on 15/05/2018, 06:42
Posted by mapedlok
on 07/03/2018, 14:22
Posted by uapedlok
on 04/03/2018, 10:27
Posted by napedlok
on 04/03/2018, 03:52
Community Forum Software by IP.Board
Licensed to: Webmasters Online
