Ir para conteúdo
Fórum Script Brasil
  • 0

Código Muito Interessante De Um Banner Full


Guest bry

Pergunta

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

Visitante
Este tópico está impedido de receber novos posts.


  • Estatísticas dos Fóruns

    • Tópicos
      152,3k
    • Posts
      652,2k
×
×
  • Criar Novo...