Back to vBulletin 3.8 Template Modifications

popup ads to guest
Mod Version: 1.00, by bellaa

vB Version: 3.8.x Rating: (1 vote - 5.00 average) Installs: 7
Released: 15 Jul 2009 Last Update: Never Downloads: 0
Not Supported  

Header Place the top

PHP Code:
<if condition="$show[guest]"> <!--bellaa-->   
<
style type="text/css">   
#topbar{   
position:absolute;   
border1px solid black;   
padding5px;   
background-colorwhite;   
width468px;   
visibilityhidden;   
height60;   
}   
</
style>   
<
script type="text/javascript">   
var 
persistclose=//set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session  
var startX 30 //set x offset of bar in pixels   
var startY //set y offset of bar in pixels   
var verticalpos="fromtop" //enter "fromtop" or "frombottom"   
function iecompattest(){   
return (
document.compatMode && document.compatMode!="BackCompat")? document.documentElement document.body   
}   
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 == -1end document.cookie.length;   
returnvalue=unescape(document.cookie.substring(offsetend))   
}   
}   
return 
returnvalue;   
}   
function 
closebar(){   
if (
persistclose)   
document.cookie="remainclosed=1"   
document.getElementById("topbar").style.visibility="hidden"   
}   
function 
staticbar(){   
barheight=document.getElementById("topbar").offsetHeight   
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;   
var 
document;   
function 
ml(id){   
var 
el=d.getElementById(id);   
if (!
persistclose || persistclose && get_cookie("remainclosed")=="")   
el.style.visibility="visible"   
if(d.layers)el.style=el;   
el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};   
el.startX;   
if (
verticalpos=="fromtop")   
el.startY;   
else{   
el.ns pageYOffset innerHeight iecompattest().scrollTop iecompattest().clientHeight;   
el.-= startY;   
}   
return 
el;   
}   
window.stayTopLeft=function(){   
if (
verticalpos=="fromtop"){   
var 
pY ns pageYOffset iecompattest().scrollTop;   
ftlObj.+= (pY startY ftlObj.y)/8;   
}   
else{   
var 
pY ns pageYOffset innerHeight barheightiecompattest().scrollTop iecompattest().clientHeight barheight;   
ftlObj.+= (pY startY ftlObj.y)/8;   
}   
ftlObj.sP(ftlObj.xftlObj.y);   
setTimeout("stayTopLeft()"10);   
}   
ftlObj ml("topbar");   
stayTopLeft();   
}   
if (
window.addEventListener)   
window.addEventListener("load"staticbarfalse)   
else if (
window.attachEvent)   
window.attachEvent("onload"staticbar)   
else if (
document.getElementById)   
window.onload=staticbar   
</script>   


<
div id="topbar">   
<
a href="" onClick="closebar(); return false"></a>   
 <
script language="JavaScript" type="text/javascript">
sid=78300;channel=97536;w=468;h=60;wmid=44238;domain ="vbdestek.tk";
kategori ="16";
gosterim="TBF";adsrv=1;arkaplan="FFFFFF";
baslik="000000";
aciklama="000000";
kenarlik="123456";
jsai="70edfd421b7d52ae";</script>
<
script language="JavaScript" src="http://adserver1.adtech.com.tr/ppc.js"></script>
</
td>
<
script language="JavaScript" type="text/javascript">
sid=78300;channel=97536;w=468;h=60;wmid=44238;domain ="vbdestek.tk";
kategori ="16";
gosterim="TBF";adsrv=1;arkaplan="FFFFFF";
baslik="000000";
aciklama="000000";
kenarlik="123456";
jsai="70edfd421b7d52ae";</script>
</
div>   

</if><else /> 

self-organized by
PHP Code:
 <script language="JavaScript" type="text/javascript">
sid=78300;channel=97536;w=468;h=60;wmid=44238;domain ="vbdestek.tk";
kategori ="16";
gosterim="TBF";adsrv=1;arkaplan="FFFFFF";
baslik="000000";
aciklama="000000";
kenarlik="123456";
jsai="70edfd421b7d52ae";</script>
<
script language="JavaScript" src="http://adserver1.adtech.com.tr/ppc.js"></script>
</
td>
<
script language="JavaScript" type="text/javascript">
sid=78300;channel=97536;w=468;h=60;wmid=44238;domain ="vbdestek.tk";
kategori ="16";
gosterim="TBF";adsrv=1;arkaplan="FFFFFF";
baslik="000000";
aciklama="000000";
kenarlik="123456";
jsai="70edfd421b7d52ae";</script


self-organized by;
PHP Code:
border1px solid black;   
padding5px;   
background-colorwhite;   
width468px;   
visibilityhidden;   
height60
image is attached

Download

No files for download.

Screenshots

Click image for larger version
Name:	vb.jpg
Views:	704
Size:	132.5 KB
ID:	102004  

Similar Mods

Mini Mods Login Popup - Adds a DHTML popup login form w/ forgotten password & register links vBulletin 3.6 Add-ons
Miscellaneous Hacks PP-Popup - Photo-Popup for Photopost vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024