Htc
Started By Without a Nick, 26/10/2003, 15:28
11 replies to this topic
#1
Posted 26/10/2003, 15:28
Raramente já vi isso. É um estilo de página (acho que é ligado HTML) que tem a extensão .HTC
O que ela faz? Tem tags especiais, como o Cold Fusion?
WITHOUT A NICK
O que ela faz? Tem tags especiais, como o Cold Fusion?
WITHOUT A NICK
#2
Posted 27/10/2003, 10:42
htc,
nao é nada + que um componente html, ela é uma linguagem, derivada do html, que serve para criar e utilizar componentes que interagem com o html.
HTC referencia em ingles
Ele tem sua tags diferenciadas, mas nao é uma linguagen de desenvolvimento para web como o cold fusion
nao é nada + que um componente html, ela é uma linguagem, derivada do html, que serve para criar e utilizar componentes que interagem com o html.
HTC referencia em ingles
Ele tem sua tags diferenciadas, mas nao é uma linguagen de desenvolvimento para web como o cold fusion
www.andrewsmedina.com.br
#3
Posted 28/10/2003, 09:35
É muito mais do que isso...
HTC significa HTML Component.
Este recurso funciona somente no IE5+, sendo uma linguagem exclusiva da Microsoft.
O que HTC pode fazer?
HTC é capaz de alterar objetos pré-programados do Windows, como comboboxes, input boxes, etc, deixando-o customizéveis (já viram um combobox som a borda da cor que vc quer ao invés de buttonface (cor padrão)?)... Pois então... HTC permite isso.
No Mozilla, existe a XUL que faz a mesma coisa, mas a implementação é baseada em XML ao invés de JS (como é com HTC).
Bem, como não poderia deixar barato, estou enviando um código em HTC.
Para usar, simplesmente faça: behavior: url("genmove.htc"); na declaração CSS do objeto.
[]s,
HTC significa HTML Component.
Este recurso funciona somente no IE5+, sendo uma linguagem exclusiva da Microsoft.
O que HTC pode fazer?
HTC é capaz de alterar objetos pré-programados do Windows, como comboboxes, input boxes, etc, deixando-o customizéveis (já viram um combobox som a borda da cor que vc quer ao invés de buttonface (cor padrão)?)... Pois então... HTC permite isso.
No Mozilla, existe a XUL que faz a mesma coisa, mas a implementação é baseada em XML ao invés de JS (como é com HTC).
Bem, como não poderia deixar barato, estou enviando um código em HTC.
<PUBLIC:COMPONENT> <PUBLIC:ATTACH EVENT="onmousedown" ONEVENT="moveme_onmousedown()"/> <!--<PUBLIC:ATTACH EVENT="oncontentready" ONEVENT="initPosition()"/>--> <!--<PUBLIC:ATTACH EVENT="onmousemove" ONEVENT="moveme_onmousemove()"/>--> <PUBLIC:PROPERTY NAME="handlefor"/> <PUBLIC:PROPERTY NAME="dontraise"/> <script> /////////////////////////////////////////////////////////////////////// // This script was designed by Erik Arvidsson for WebFX // // // // For more info and examples see: http://webfx.eae.net // // or send mail to erik@eae.net // // // // Feel free to use this code as lomg as this disclaimer is // // intact. // /////////////////////////////////////////////////////////////////////// var dragobject = null; var tx; var ty; function moveme_onmousedown() { if (handlefor != null) { dragobject = element.document.getElementById(handlefor); } else dragobject = element; if (dragobject == null) return; if (!dontraise) makeOnTop(dragobject); ty = window.event.clientY - getTopPos(dragobject); tx = window.event.clientX - getLeftPos(dragobject); window.event.returnValue = false; window.event.cancelBubble = true; } function moveme_onmouseup() { if(dragobject) { dragobject = null; } } function moveme_onmousemove() { if (dragobject) { if (window.event.clientX >= 0 && window.event.clientY >= 0) { dragobject.style.left = window.event.clientX - tx; dragobject.style.top = window.event.clientY - ty; } window.event.returnValue = false; window.event.cancelBubble = true; } } function getLeftPos(el) { if (el.currentStyle.left == "auto") if (el.currentStyle.position != "relative") return el.offsetLeft; else return 0; else return parseInt(el.currentStyle.left); } function getTopPos(el) { if (el.currentStyle.top == "auto") if (el.currentStyle.position != "relative") return el.offsetTop; else return 0; else return parseInt(el.currentStyle.top); } function makeOnTop(el) { var daiz; var max = 0; var da = element.document.all; for (var i=0; i<da.length; i++) { daiz = da[i].style.zIndex; if (daiz != "" && daiz > max) max = daiz; } el.style.zIndex = max + 1; } if (currentStyle.position != "absolute" && currentStyle.position != "relative") style.position = "relative"; style.cursor = "move"; element.document.attachEvent("onmousemove", moveme_onmousemove); element.document.attachEvent("onmouseup", moveme_onmouseup); </SCRIPT> </PUBLIC:COMPONENT>
Para usar, simplesmente faça: behavior: url("genmove.htc"); na declaração CSS do objeto.
[]s,
<script language="WebFórum">
// Dados:
Nome("Guilherme Blanco");
Localidade("São Carlos - SP/Brasil");
Cargo("Manutenção");
</script>
// Dados:
Nome("Guilherme Blanco");
Localidade("São Carlos - SP/Brasil");
Cargo("Manutenção");
</script>
#4
Posted 28/10/2003, 10:23
muito interessante GB,
eu tinha dado uma lida sobre isso mas so por cima. Mas HTC tem extensao .htc ela roda em qualquer server, ou tem alguma limitacao?
eu tinha dado uma lida sobre isso mas so por cima. Mas HTC tem extensao .htc ela roda em qualquer server, ou tem alguma limitacao?
www.andrewsmedina.com.br
#5
Posted 01/11/2003, 12:52
Roda em qualquer server.
A única limitação é que funciona somente no IE5+.
[]s,
A única limitação é que funciona somente no IE5+.
[]s,
<script language="WebFórum">
// Dados:
Nome("Guilherme Blanco");
Localidade("São Carlos - SP/Brasil");
Cargo("Manutenção");
</script>
// Dados:
Nome("Guilherme Blanco");
Localidade("São Carlos - SP/Brasil");
Cargo("Manutenção");
</script>
#6
Posted 01/11/2003, 13:42
Obrigado aos dois.
WITHOUT A NICK
WITHOUT A NICK
#7
Posted 14/05/2004, 09:34
Nossa, q feeeeraaaaaa!
Nem precisou de flash nem JavaScript fodidao para fazer com que uma camada seja arrastada (com drag and drop).
Curti d+!
Eh sempre bom e prazeroso descobrir novos recursos nessa área.
Valeu ai Guilherme Blanco.
Nem precisou de flash nem JavaScript fodidao para fazer com que uma camada seja arrastada (com drag and drop).
Curti d+!
Eh sempre bom e prazeroso descobrir novos recursos nessa área.
Valeu ai Guilherme Blanco.
"A imaginação é muito mais importante que o conhecimento" (Albert Einstein)
#8
Posted 22/09/2017, 19:57
Cabaser online pharmacy Free Samples Viagra Jellies Uk
Viagra Es Il Cialis One Day
Amoxicillin Reaction Rash No Other <a href=http://cialtobuy.com>cialis</a> What Stores Sell Propecia
Viagra Pagamento Paypal cialis Cytotec Avant Pose De Sterilet
Cialis 5 Gr
Sandia Viagra <a href=http://cialtobuy.com>cialis</a> Prezzi Propecia Finasteride 1mg
Comment Se Procurer Du Baclofene online pharmacy Can I Take Two Nexium Over The Counter
Pastillas Cialis Yahoo Cialis Generic Best Price
Knee Infection Keflex Dosage <a href=http://cialtobuy.com>cialis</a> Best Generic Viagra Review
Viagra Es Il Cialis One Day
Amoxicillin Reaction Rash No Other <a href=http://cialtobuy.com>cialis</a> What Stores Sell Propecia
Viagra Pagamento Paypal cialis Cytotec Avant Pose De Sterilet
Cialis 5 Gr
Sandia Viagra <a href=http://cialtobuy.com>cialis</a> Prezzi Propecia Finasteride 1mg
Comment Se Procurer Du Baclofene online pharmacy Can I Take Two Nexium Over The Counter
Pastillas Cialis Yahoo Cialis Generic Best Price
Knee Infection Keflex Dosage <a href=http://cialtobuy.com>cialis</a> Best Generic Viagra Review
#9
Posted 21/10/2017, 08:04
Viagra 20 Mg Online Pharmacies For Viagra Amoxil Mg viagra Best Place On Internet To Buy Cialis Isotretinoin Izotek Baltimore
Vidal Clomid Low Cost Viagra 100mg Brand 5 Bucks Cout Levitra 10 cheap cialis Wiki Amoxicillin Zithromax Generic Cost
Vidal Clomid Low Cost Viagra 100mg Brand 5 Bucks Cout Levitra 10 cheap cialis Wiki Amoxicillin Zithromax Generic Cost
#11
Posted 24/11/2017, 08:42
Online Dutasteride Baldness Overnight Shipping Formula Of Amoxicillin levitra 40 mg best price Doxycycline Lyme Substitute Can A Puppy Drink Cephalexin
Zithromax Generic Side Effects get online levitra prescription Balding Propecia
Zithromax Generic Side Effects get online levitra prescription Balding Propecia
#12
Posted 11/02/2023, 08:45
The phenotypic differences between the work of Lepper et al generic version of viagra
priligy otc He took the first step blood pressure meds frequent urination hard, Heavy breathing filled the room, Karajan finally stood in front of Elises, Elises opened her eyes and looked at Karajan quietly
buy cialis online overnight shipping From these data, the investigators determined that if the same trends continue, 55 38 of the 69 patients still in treatment now will complete therapy
priligy otc He took the first step blood pressure meds frequent urination hard, Heavy breathing filled the room, Karajan finally stood in front of Elises, Elises opened her eyes and looked at Karajan quietly
buy cialis online overnight shipping From these data, the investigators determined that if the same trends continue, 55 38 of the 69 patients still in treatment now will complete therapy
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)