Guest bry Postado Julho 9, 2006 Denunciar Share Postado Julho 9, 2006 Código muito interessante de um banner full<!--webbot bot="HTMLMarkup" startspan --><html><head></head><body><div id="showimage" style="position: absolute; width: 323; left: 220; top: 80; height: 176"><!-- conteúdo da janela popup --><table border="0" bgcolor="#E1E1E1" cellpadding="20" cellspacing=0><tr><td onMousedown="initializedragie()" style="cursor:hand"><ilayer onSelectStart="return false"><layer onMouseover="dragswitch=1;drag_dropns(showimage)" onMouseout="dragswitch=0"><div style=position:absolute;left:280px;top:3px;><a href="#" onClick="hidebox();return false" style=text-decoration:none; title=Janela><font color=black face=verdana size=1> Fechar </a></div><div style=position:absolute;left:3px;top:3px;><font face="Times New" size=1 color=black><b>Publicidade</b></div><div style=position:absolute;left:439px;top:400px;><a href="#" onClick="hidebox();return false" style=text-decoration:none; title=fechar><font color=black face="Times New" size=2> </a></div><a href="http://www.bry.br22.net/orolix/index.htm"><imgsrc="floteorolixnovo.jpg" alt="orolix" border="0" width="300"height="250" title="orolix"></a></layer></ilayer></td></tr></table></div></body></html> <!--webbotbot="HTMLMarkup" endspan --></p><script language="javascript">var dragswitch=0var nsxvar nsyvar nstempvar dragapproved=falsefunction drag_dropie(){if (dragapproved==true){document.all.showimage.style.pixelLeft=tempx+event.clientX-iexdocument.all.showimage.style.pixelTop=tempy+event.clientY-ieyreturn false}}//function drag_dropie(){if (dragapproved==true){document.all.showimage.style.pixelLeft=tempx+event.clientX-iexdocument.all.showimage.style.pixelTop=tempy+event.clientY-ieyreturn false}}function stopns(){temp.releaseEvents(Event.MOUSEMOVE)}function dragns(e){if (dragswitch==1){temp.moveBy(e.x-nsx,e.y-nsy)return false}}function gons(e){temp.captureEvents(Event.MOUSEMOVE)nsx=e.xnsy=e.y}//function initializedragie(){iex=event.clientXiey=event.clientYtempx=showimage.style.pixelLefttempy=showimage.style.pixelTopdragapproved=truedocument.onmousemove=drag_dropie}if (document.all){document.onmouseup=new Function("dragapproved=false")}function hidebox(){if (document.all)showimage.style.visibility="hidden"else if (document.layers)document.showimage.visibility="hide"}</script></body></html>OK dúvidas entre em meu site Link para o comentário Compartilhar em outros sites More sharing options...
0 fercosmig Postado Julho 10, 2006 Denunciar Share Postado Julho 10, 2006 o Orlando já postou na seção links!!http://scriptbrasil.com.br/forum/index.php...st&p=361240fechando aqui!!abraços Link para o comentário Compartilhar em outros sites More sharing options...
Pergunta
Guest bry
Código muito interessante de um banner full
<!--webbot bot="HTMLMarkup" startspan -->
<html>
<head>
</head>
<body>
<div id="showimage" style="position: absolute; width: 323; left: 220; top: 80; height: 176">
<!-- conteúdo da janela popup -->
<table border="0" bgcolor="#E1E1E1" cellpadding="20" cellspacing=0>
<tr>
<td onMousedown="initializedragie()" style="cursor:hand">
<ilayer onSelectStart="return false">
<layer onMouseover="dragswitch=1;drag_dropns(showimage)" onMouseout="dragswitch=0">
<div style=position:absolute;left:280px;top:3px;><a href="#" onClick="hidebox();return false" style=text-decoration:none; title=Janela><font color=black face=verdana size=1> Fechar </a></div>
<div style=position:absolute;left:3px;top:3px;><font face="Times New" size=1 color=black><b>Publicidade</b></div>
<div style=position:absolute;left:439px;top:400px;><a href="#" onClick="hidebox();return false" style=text-decoration:none; title=fechar><font color=black face="Times New" size=2> </a></div>
<a href="http://www.bry.br22.net/orolix/index.htm"><img
src="floteorolixnovo.jpg" alt="orolix" border="0" width="300"
height="250" title="orolix"></a>
</layer></ilayer>
</td>
</tr>
</table>
</div>
</body>
</html> <!--webbot
bot="HTMLMarkup" endspan --></p>
<script language="javascript">
var dragswitch=0
var nsx
var nsy
var nstemp
var dragapproved=false
function drag_dropie(){
if (dragapproved==true){
document.all.showimage.style.pixelLeft=tempx+event.clientX-iex
document.all.showimage.style.pixelTop=tempy+event.clientY-iey
return false
}
}
//
function drag_dropie(){
if (dragapproved==true){
document.all.showimage.style.pixelLeft=tempx+event.clientX-iex
document.all.showimage.style.pixelTop=tempy+event.clientY-iey
return false
}
}
function stopns(){
temp.releaseEvents(Event.MOUSEMOVE)
}
function dragns(e){
if (dragswitch==1){
temp.moveBy(e.x-nsx,e.y-nsy)
return false
}
}
function gons(e){
temp.captureEvents(Event.MOUSEMOVE)
nsx=e.x
nsy=e.y
}
//
function initializedragie(){
iex=event.clientX
iey=event.clientY
tempx=showimage.style.pixelLeft
tempy=showimage.style.pixelTop
dragapproved=true
document.onmousemove=drag_dropie
}
if (document.all){
document.onmouseup=new Function("dragapproved=false")
}
function hidebox(){
if (document.all)
showimage.style.visibility="hidden"
else if (document.layers)
document.showimage.visibility="hide"
}
</script>
</body>
</html>
OK dúvidas entre em meu site
Link para o comentário
Compartilhar em outros sites
1 resposta a esta questão
Posts Recomendados