Pesquisar este blog

Banner flutuante abre em outra pagina

tipo style = "text / css">

# {Topbar
position: absolute;
border: 0px solid red;
padding: 1px; <
background-color: # 000000;
width: 300px;
visibility: hidden;
z-index: 250;
}

</ Style>

<script type="text/javascript">


var persistclose = 0 / / definido como 0 ou 1. 1 significa que uma vez que o bar está fechado manualmente, ele permanecerá fechada por sessão do navegador
var window_width = screen.width;

var startx = ((window_width - 350) / 2) / / set x deslocamento de bar em pixels
var startY = 190 / / set compensação de bar em pixels y

verticalpos var = "fromtop" / / enter "fromtop" ou "FromBottom"

funcionar iecompattest () {
voltar (document.compatMode && document.compatMode! = "BackCompat")? document.documentElement: document.body
}
função get_cookie (Name) {
Pesquisa var = Nome + "="
var returnvalue = "";
if (document.cookie.length> 0) {
offset = document.cookie.indexOf (pesquisa)
if (compensado! = -1) {
offset + = search.length
end = document.cookie.indexOf (";", offset);
if (fim == -1) end = document.cookie.length;
returnvalue = unescape (document.cookie.substring (offset, fim))
}
}
voltar returnvalue;
}

closebar função () {
if (persistclose)
Document = "remainclosed = 1";
. document.getElementById ("topbar") style.visibility = "hidden";
}

staticbar função () {
 barHeight = document.getElementById ("topbar"). offsetHeight
 ns = var (navigator.appName.indexOf ("Netscape") = -1!) | | window.opera;
 var d = documento;
 função ml (id) {
  var el = d.getElementById (id);
  if (persistclose | | persistclose && get_cookie ("remainclosed") == "")
  el.style.visibility = "visível"
  if (d.layers) el.style = el;
  el.sP = function (x, y) {this.style.left = x + "px"; this.style.top = y + "px";};
  el.x = startx;
  if (verticalpos == "fromtop")
  el.y = startY;
  else {
  el.y = ns? pageYOffset + innerHeight:.. iecompattest () scrollTop + iecompattest () clientHeight;
  el.y - = startY;
  }
  voltar el;
 }
 window.stayTopLeft = function () {
  if (verticalpos == "fromtop") {
  var py = ns? pageYOffset:. iecompattest () scrollTop;
  ftlObj.y + = (aa + startY - ftlObj.y) / 8;
  }
  else {
  var py = ns? pageYOffset + innerHeight - barHeight:.. iecompattest () scrollTop + iecompattest () clientHeight - barHeight;
  ftlObj.y + = (PY - startY - ftlObj.y) / 8;
  }
  ftlObj.sP (ftlObj.x, ftlObj.y);
  setTimeout ("stayTopLeft ()", 10);
 }
 ftlObj = ml ("topbar");
 stayTopLeft ();
}

if (window.addEventListener)
window.addEventListener ("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent ("onload", staticbar)
else if (document.getElementById)
window.onload = staticbar

</ Script>

<div style="width: id="topbar" 300; height: 250" align="right">

<div style="text-align:
abrangem onclick = "javascript: window.closebar ()"> <font face="Verdana" size="1"> <font <b> color="#FFFFFF"> <a href = "http://stallonge-fluminese . blogspot.pt / "target =" _blank "> X </ a> </ font> </ b> </ font> </ div>
<- MOVIMENTO OPEN ->

<iframe name=palco src="http://stallongesaopaulofc.blogspot.pt/" frameborder=0 width470 height=250 scrolling=no> </ iframe>

<- END TAG ->
</ Div>
<- FIM MOVIMENTO ->