Administrator
Mam stery od forum :>
nie mam jeszcze wjazdu na ftp ale w stopce jest opcja wrzucania wlasnych skryptow js :>
na starcie wrzuciłem jQuery no i wypierdalam reklamy w headerze, zachecam do zabawy :-O
v.1.0
Spoiler:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
//select div after div#brdheader and make it invisible
$(document).ready(function(){
$("div#punforums div#brdheader").next().css({"display":"none"});
$("div#punedit div#brdheader").next().css({"display":"none"});
$("div#admin div#brdheader").next().css({"display":"none"});
});
</script>
v.1.1
Spoiler:
<link href='http://fonts.googleapis.com/css?family=Bangers' rel='stylesheet' type='text/css'>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
//select div after div#brdheader and make it invisible
$(document).ready(function(){
var googleAdId = $("div#brdheader").next().attr('id');
// For some browsers, `attr` is undefined; for others,
// `attr` is false. Check for both.
console.log(" googleAdId : " + googleAdId );
if (typeof googleAdId !== 'undefined' && googleAdId !== false && googleAdId!=='undefined') {
console.log("wont change");
}else{
console.log("will change");
$("div#brdheader").next().css({"display":"none"});
}
//brdtitle << lets make chick visible but not at all :>
$("div#brdtitle").css({"height":"274px","padding":"0px","overflow":"hidden"});
//$("div#brdtitle div img").css({"height":"200px"});
$("div#brdtitle div img").before('<h2 id="bannerTitle" style="float:left;position:absolute;top:170px;background: none; border: none; color: #000000; font-size: 30px; font-family: Bangers, cursive;">Znajdziesz dla mnie chwile ? </h2>');
$("h2#bannerTitle").after('<h2 id="bannerTitleMore" style="opacity: 0;float:left;position:absolute;top:305px;background: none; border: none; color: #000000; font-size: 30px; overflow:hidden;font-family: Bangers, cursive;">liczyłes na bimbały? <br> najpierw posty poprosze:*</h2>');
//play with chick
$("div#brdtitle").click(function(){
showFullBanner();
showWarn();
});
$("div#brdtitle").mouseleave(function(){
hideWarn();
minBanner();
});
});
function showFullBanner(){
$("div#brdtitle").animate({
height:'434px',
});
}
function minBanner(){
$("div#brdtitle").animate({
height:'274px',
});
}
function showWarn(){
$("h2#bannerTitleMore").animate({"opacity":"1"}).show();
}
function hideWarn(){
$("h2#bannerTitleMore").animate({"opacity":"0"}).css({"display":"none"});
}
</script>
Offline