<div id="menu" class="panel" role="navigation">
<div class="cboxbg">
<script>
function showDiv() {
if(document.getElementById('cboxcontent').style.display == "none") {
document.getElementById('cboxcontent').style.display = "table-cell";
}
else {
document.getElementById('cboxcontent').style.display = "none";
}
}
</script>
<div class="togglebox">
<div id="cboxtitle" value="ShowDiv" onclick="showDiv()"> chat <p> kattints! </div>
<div id="cboxcontent" style="display:none;" class="cbox">
<!-- BEGIN CBOX - www.cbox.ws - v4.2 -->
<div id="cboxdiv" style="position: relative; margin: 0 auto; width: 200px; font-size: 0; line-height: 0;">
<div style="position: relative; height: 220px; overflow: auto; overflow-y: auto; -webkit-overflow-scrolling: touch; border:#000000 1px solid;"><iframe src="//www2.cbox.ws/box/?boxid=1924614&boxtag=5014&sec=main" marginheight="0" marginwidth="0" frameborder="0" width="100%" height="100%" scrolling="auto" allowtransparency="yes" name="cboxmain2-1924614" id="cboxmain2-1924614"></iframe></div>
<div style="position: relative; height: 107px; overflow: hidden; border:#000000 1px solid; border-top: 0px;"><iframe src="//www2.cbox.ws/box/?boxid=1924614&boxtag=5014&sec=form" marginheight="0" marginwidth="0" frameborder="0" width="100%" height="100%" scrolling="no" allowtransparency="yes" name="cboxform2-1924614" id="cboxform2-1924614"></iframe></div>
</div>
<!-- END CBOX -->
</div>
<script type='text/javascript'>
// Script by TAV of Jcink Forums
$(document).ready(function(){
// When user clicks on tab, this code will be executed
$("#tabs li").click(function() {
// First, which miniprofile are we in?
currentprofile = $(this).parent().parent().parent().parent().parent().parent();
// Then, remove class "active" from currently active tab
$("#tabs li", currentprofile).removeClass('active');
// Now add class "active" to the selected/clicked tab
$(this).addClass("active");
// Hide all tab content
$(".tab_content", currentprofile).hide();
// Here we get the href value of the selected tab
var selected_tab = $(this).find("a").attr("href");
// Show the selected tab content
$(selected_tab, currentprofile).fadeIn();
// At the end, we add return false so that the click on the link is not executed
return false;
});
});</script>
<link href='http://fonts.googleapis.com/css?family=Old+Standard+TT:400,700,400italic' rel='stylesheet' type='text/css'>
<script src="http://elegantexpressions.us/black/cfs.min.js"></script>
<script>
$(document).ready(function() {
$(window).scroll(function() {
var scrollVal = $(this).scrollTop();
if ( scrollVal > 536) {
$('#navstrip').css({'position':'fixed','top' :'0px'});
} else {
$('#navstrip').css({'position':'static','top':'auto'});
}
});
});
</script>
</head>
<style>
.togglebox { position: fixed;
top: 180px;
left: 0px;
background-color: #0F8FAA;
height: 380px; /* put height of your cbox */
width: 20px; /* only for cboxtitle - keep it small */
display: table; /* so cboxtitle and cbox can be vertically aligned */
table-layout: fixed; /* necessary for word-wrap to work in table-cells */
word-wrap: break-word; /* breaks cboxtitle so it will spell out vertically */
z-index: 9999;
cursor: pointer;
}
.togglebox::selection { color: transparent; }
#cboxtitle { display: table-cell;
vertical-align: middle;
width: 1px; /* when cbox is displayed, it will assume this width */
padding: 5px;
text-align: center;
font-size: 15px;
font-variant: small-caps;
}
.cbox { vertical-align: middle;
width: 200px; /* EDIT THIS TO ADJUST CBOX BOX WIDTH */
padding: 5px;
background-color: #0F8FAA;
}
</style>
Készült:2022.02.08 Ellenőrízve:2023.01.11.