[YATT] - Yet another tab tutorial (with cookies)
#31
This code works great, but I've got a slight issue. When on any tab besides the first one, the contents of tab_1 shows briefly on refresh.

Are there any workarounds for this?
Reply
#32
This is normal, as the javascript works after the page is loaded. I don't think you can do anything about that
Do not ask me help through PM or Discord
Reply
#33
I don't know where to put this EXAMPLE of what it says
.tab_1 #tab_cat_1 {
  display:block !important;
}

.tab_3 #tab_cat_2,
.tab_3 #tab_cat_3 {
  display:block !important;
}

or I think this is a real code
.tab_x #tab_cat_y,
.tab_x #tab_cat_y {
  display:block !important;  /*if your tab content contains more then 1 category use this code*/
}

.tab_x #tab_cat_y {
  display:block !important;
}
It's just that I didn't put or add additional code because I don't know where to put it. Others I have corrected but my Categories or sub forums are not visible because I first edited within the theme before I added the Forum. I hope someone can help me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)