colapable Categories without jquery?

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

colapable Categories without jquery?

Post by Daniel »

Hello all,

Just wondering, does anyone know how I can setup a colapable Categories without having jquery I tried the one that Christan 2.0 made but I keep getting javascript errors.

Thankyou :)

colapable Categories without jquery?

Post by Stoker »

I think Brf made one at phpbb.com, but it does use javascript.
Also Rich made one available at his site.

colapable Categories without jquery?

Post by Daniel »

I don't have any issues with javascript in general just that jquery get really messy if you try to do too many things.

colapable Categories without jquery?

Post by techman41973 »

I'm almost certain that this MOD doesn't use Jquery. I have it on my board
https://www.phpbb.com/customise/db/mod/ ... ategories/

colapable Categories without jquery?

Post by RMcGirr83 »

Your right it doesn't but what it does do is run two queries within a loop. If you have 50 categories that would be 100 queries multiply that by the number of users on the index page at once and it would be a pretty big hit on the server. jQuery doesn't cause a hit on the server, it stores a cookie on the users computer which is much less intensive on the hosting server.