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

Banner Voador


Guest - Conselheiro -

Pergunta

Guest - Conselheiro -

CODIGO PRONTO AGORA É SÓ MUDAR O ENDEREÇO DA URL E NADA MAIS. ESPERO QUE ESTE CODIGO SEJA UTIL PARA vocês

<script language="JavaScript">

<!--

function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)

{

toolbar_str = toolbar ? 'yes' : 'no';

menubar_str = menubar ? 'yes' : 'no';

statusbar_str = statusbar ? 'yes' : 'no';

scrollbar_str = scrollbar ? 'yes' : 'no';

resizable_str = resizable ? 'yes' : 'no';

window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+', menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);

}

// -->

</script>

</head>

<div id=dropin style="left: 373; width: 144; position: absolute; height: 89; background-color: rgb(255, 255, 255); visibility: visible; top: 142">

<table cellspacing=0 width=141 border=0 style="border-collapse: collapse" cellpadding=0 height="68"><tbody><tr>

<td valign=top height="68" width="144"><p align=left><font color=#000077></a></font><font color=#000000 size=1 face=Arial>

<a target="_blank" href="http://www.conselhosdoceu.com/anuncio.html">

<img src=http://www.conselhosdoceu.com/banner_anuncie.gif alt=" Click Aqui ! " align=middle border=2 width=140 height=60></a></font><font color=#000077><br> </font><font size=1 face=Arial color=#E4E4E4>

<br>

</font><b><font size=1 face=Arial><a href=javascript:dismissbox()><font color=000000>Fechar anuncio</font></a><font color=#F8C400></font></font></b></td></tr></tbody></table></div>

<script language="JavaScript1.2">

var ie=document.all

var dom=document.getElementById

var ns4=document.layers

var bouncelimit=32 //(must be divisible by 8)

var direction="up"

function initbox(){

if (!dom&&!ie&&!ns4)

return

crossobj=(dom)?document.getElementById("dropin").style : ie? document.all.dropin : document.dropin

scroll_top=(ie)? document.body.scrollTop : window.pageYOffset

crossobj.top=scroll_top-50

crossobj.visibility=(dom||ie)? "visible" : "show"

dropstart=setInterval("dropin()",50)

}

function dropin(){

scroll_top=(ie)? document.body.scrollTop : window.pageYOffset

if (parseInt(crossobj.top)<100+scroll_top)

crossobj.top=parseInt(crossobj.top)+100

else{

clearInterval(dropstart)

bouncestart=setInterval("bouncein()",50)

}

}

function bouncein(){

crossobj.top=parseInt(crossobj.top)-bouncelimit

if (bouncelimit<0)

bouncelimit+=8

bouncelimit=bouncelimit*-1

if (bouncelimit==0){

clearInterval(bouncestart)

}

}

function dismissbox(){

if (window.bouncestart) clearInterval(bouncestart)

crossobj.visibility="hidden"

}

function get_cookie(Name) {

var search = Name + "="

var returnvalue = ""

if (document.cookie.length > 0) {

offset = document.cookie.indexOf(search)

if (offset != -1) {

offset += search.length

end = document.cookie.indexOf(";", offset)

if (end == -1)

end = document.cookie.length;

returnvalue=unescape(document.cookie.substring(offset, end))

}

}

return returnvalue;

}

function dropornot(){

if (get_cookie("droppedin")==""){

window.onload=initbox

document.cookie="droppedin=yes"

}

}

dropornot()

function redo(){

bouncelimit=32

direction="up"

initbox()

}

window.onload=initbox

</script>

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...