Difference between revisions of "Template:Team:Bielefeld-CeBiTec/JS"

m (test11)
m (test12)
Line 413: Line 413:
 
$('.sub-navbar-item').each(function(i, obj) {
 
$('.sub-navbar-item').each(function(i, obj) {
 
if ($($clickItem).hasClass("sub-navbar-item")) {
 
if ($($clickItem).hasClass("sub-navbar-item")) {
 +
$(".test").html("caseA");
 
/*if ($(obj).is(":visible") && $(obj).hasClass("small")) {
 
/*if ($(obj).is(":visible") && $(obj).hasClass("small")) {
 
if ($totalWidth == 0) {
 
if ($totalWidth == 0) {
Line 420: Line 421:
 
}*/
 
}*/
 
} else {
 
} else {
 +
$(".test").html("caseB");
 
if ($(obj).is(":visible")) {
 
if ($(obj).is(":visible")) {
 
if ($totalWidth == 0) {
 
if ($totalWidth == 0) {

Revision as of 14:48, 23 September 2017