MyBB Community Forums

Full Version: Using .png images for expand/collapse images?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to do this? I tried modifying the general.js file, and the uploading my images, but it didnt work?
Well, you need to edit templates, not sure which ones, but look and im sure you'll find them.
No. The src in the img code is just "{$theme['imgdir']}/{$expcolimage}".
One of the templates have gif in it, i seen in, you have to look.
Not actually. That stuff is also managed in the JS for collapses so you can't change it in the templates.
Has to be in the templates, i saw something similar like that, it makes no sense not to be in the templates though.
Some's in the templates, the rest is in general.js iirc. I haven't quite figured out how to change it, although I'm sure it's not too difficult.

You can always include a custom JS file if you do figure it out.