Toggle Category no-solution ?
2 posters
Page 1 of 1
Toggle Category no-solution ?
FORUM VERSION : punBB
So i really tried to get it, but It's impossible. The toggle isn't visible. I tried to move it to the left and to the top but It didn't worked.
I tried it on there, but It doesnt work. I did everything right, i placed the script where is should be, i placed the css on the bottom and so on, but It doesn't work. Any solution ?
http://forum-owners.forumotions.in/
This is where I try to get the toggle.
And I was using this tutorial !
https://help.forumotion.com/t96460-category-toggle-script
So i really tried to get it, but It's impossible. The toggle isn't visible. I tried to move it to the left and to the top but It didn't worked.
I tried it on there, but It doesnt work. I did everything right, i placed the script where is should be, i placed the css on the bottom and so on, but It doesn't work. Any solution ?
http://forum-owners.forumotions.in/
This is where I try to get the toggle.
And I was using this tutorial !
https://help.forumotion.com/t96460-category-toggle-script
mirza.mejkem.converse- New Member
- Posts : 9
Reputation : 0
Language : Bosnian
Re: Toggle Category no-solution ?
Hello,
You did not follow the step with the dot Mirza according to the sript I see on your forum.
Everything is Ok with the tutorial. Here is after I have tried it on punBB.
http://tiki.makingforum.com/
You did not follow the step with the dot Mirza according to the sript I see on your forum.
Before saving the code please find this piece of code
- Code:
cookies = document·cookie.split('; ');
and change it to:
- Code:
cookies = document (dot) cookie.split('; ');
Everything is Ok with the tutorial. Here is after I have tried it on punBB.
http://tiki.makingforum.com/
Nera.- Energetic
-
Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Toggle Category no-solution ?
Are there any status updates concerning this bug?
It would really be nice if the correct characters could be entered into the tutorial.
It would really be nice if the correct characters could be entered into the tutorial.

Guest- Guest
Re: Toggle Category no-solution ?
Go to: ACP - Modules - HTML & JAVASCRIPT - Javascript codes management:
Demo: https://i.servimg.com/u/f46/15/26/55/24/exampl11.png
- Title * : Category Toggle Script for punBB
- Placement : In all the pages
- Javascript Code * :
- Code:
$(function(){
var partname = location.pathname.slice(1,5);
$("div.page-title h2").prepend('<span class="collapse" style="float:right"><img src="http://i46.servimg.com/u/f46/15/26/55/24/icon_c10.gif" alt="fmClose" /><img style="display:none" src="http://i46.servimg.com/u/f46/15/26/55/24/icon_e10.gif" alt="fmOpen" /></span>');
$(".collapse").each(function(index) {
$(this).attr("id", "fmvicollapse" + partname + index);
if (my_getcookie("fmvicollapse" + partname + index) == "1") {
$(this).children("img[alt='fmClose']").hide();
$(this).children("img[alt='fmOpen']").show();
$(this).parent().parent().parent().next().hide();
};
});
$(".collapse img[alt='fmClose']").click(function() {
my_setcookie($(this).parent().attr("id"), 1, 1, 0);
$(this).hide().next().show();
$(this).parent().parent().parent().parent().next().slideUp();
});
$(".collapse img[alt='fmOpen']").click(function() {
my_setcookie($(this).parent().attr("id"), 0, 1, 0);
$(this).hide().prev().show();
$(this).parent().parent().parent().parent().next().slideDown();
});
});
Demo: https://i.servimg.com/u/f46/15/26/55/24/exampl11.png
Guest- Guest
Re: Toggle Category no-solution ?
No, there are not.

Nera.- Energetic
-
Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Toggle Category no-solution ?
Nera. wrote:Hello,
You did not follow the step with the dot Mirza according to the sript I see on your forum.Before saving the code please find this piece of code
- Code:
cookies = document·cookie.split('; ');
and change it to:
- Code:
cookies = document (dot) cookie.split('; ');
Everything is Ok with the tutorial. Here is after I have tried it on punBB.
http://tiki.makingforum.com/
Hvala Nero ali piše da je to za phpBB3, i eto promjenio sam, stavio sam (dot) ali opet ništa :S
Šta da stavim umjesto tog dot ?
URADIO SAM SVE, OPET NE RADI -.-"
Može li neko dati tačan kod ?
----------------------
Ty Nera but It stands there that the code code above is just for phpBB3, but I changed it, i replaced the • with (dot). But the result was the same. Now i changed the whole "(dot)" to just "." But the same result.
mirza.mejkem.converse- New Member
- Posts : 9
Reputation : 0
Language : Bosnian

» Category toggle
» Category Toggle
» Category Toggle [phpbb2]
» Category Toggle + & -
» Category Toggle - No Appearance
» Category Toggle
» Category Toggle [phpbb2]
» Category Toggle + & -
» Category Toggle - No Appearance
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum