Olá
Estou usando essa instrução para inserir no favoritos:
function Favo() {
java script:window.external.AddFavorite('http://www.kanalzuera.kit.net','#ZuErA - Esse é o Kanal')
}
E chamo ela no <a href="#" onclick="Favo()"><img src="\Figura.gif"> ....
Mas deu erro numero 0, o que está errado!?? Pra fazer essa função clicando em figuras é diferente?!?! Porque no botão deu certo?!?!
Valeu
Pilantra
Adicionando Ao Favoritos!
Started By vbhacker, 29/09/2003, 10:46
2 replies to this topic
#1
Posted 29/09/2003, 10:46
[FONT=Courier][COLOR=red]Pilantra
#2
Posted 29/09/2003, 10:51
ve esse aki...
<SPAN STYLE="cursor: hand" onClick="javascript:window.external.AddFavorite('http://www.kanalzuera.kit.net','#ZuErA - Esse é o Kanal')"><img src="IMAGEM/FAVORITOS.gif" border="0" width="15" height="13"> </span>
Fórum WMO - Equipe de Desenvolvimento / Banco de Dados - Ex-Administrador
#3
Posted 29/09/2003, 11:14
Naum deu certo, ele da erro na hora de carregar!! Eu vo posta o código completo aki pra vc ve:
function Nick() {
Nk = prompt("Digite abaixo o seu nick ou nome!!!","Pilantra")
document.write('<body bgcolor=black><font color=red><b>Bem vindo(a) </font></body></b><font
color=white>'+(Nk)+'<span style="position: absolute; left: 350; top: 8"><span style="cursor: hand
onClick="java script:window.external.AddFavorite('http://www.kanalzuera.kit.net','#ZuErA - Esse é
o Kanal')"><img src="\Fav.gif" width=30 height=30 border=0 alt="Clique aqui para adicionar o site
em seu Favoritos!!!"></a></span><span style="position: absolute; left: 400; top: 8"><a
href="mailto:web_hacker100@hotmail.com"><img src="\mail.gif" width=30 height=30 border=0
alt="Envie um E-Mail para o Pilantra, ou seja, eu mesmo heheh!!!"></span></a>')
}
function Nick() {
Nk = prompt("Digite abaixo o seu nick ou nome!!!","Pilantra")
document.write('<body bgcolor=black><font color=red><b>Bem vindo(a) </font></body></b><font
color=white>'+(Nk)+'<span style="position: absolute; left: 350; top: 8"><span style="cursor: hand
onClick="java script:window.external.AddFavorite('http://www.kanalzuera.kit.net','#ZuErA - Esse é
o Kanal')"><img src="\Fav.gif" width=30 height=30 border=0 alt="Clique aqui para adicionar o site
em seu Favoritos!!!"></a></span><span style="position: absolute; left: 400; top: 8"><a
href="mailto:web_hacker100@hotmail.com"><img src="\mail.gif" width=30 height=30 border=0
alt="Envie um E-Mail para o Pilantra, ou seja, eu mesmo heheh!!!"></span></a>')
}
[FONT=Courier][COLOR=red]Pilantra
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)