MyBB Community Forums

Full Version: Accordion code cross browser
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've been trying for /days/ to get the accordion code to work (jquery or javascript) and have looked at tutorials and asked my host and we have no idea.

If someone has a simple way of adding one to my header template, that would be awesome. I would love if it worked on all browsers (hopefully mobile devises aswell) and apparently jquery works the best for that.

http://www.p51labs.com/accordion/ This is the one i've tried, and I have no idea how to do that. I really need someone to either hold me hand the whole way and direct me (cause i manage to break a lot of things when uploading to the FTP) or design a simple code that I can throw in myself. I am not an advanced code person, and really need some help.


edit// by the way, if this is in the wrong place PLEASE forgive me. I had no idea where to put this. I will happily remake this thread somewhere else if it's in the wrong spot. Thank you.
What exactly are you trying to do with the header?

That accordion will work - but - it is a fixed width and using images to cover a lot of the "faults".

If that is ok, then maybe post a very simple mockup of what you want.
Well, all i want is to use the slide code to stick some content from my site in it. That's all I really want it to do. It doesn't have to be super fancy or anything.

I dunno what you mean by mockup. If you mean code, well, i am a super basic coder. I'm surprised I managed to even code my site.
Umh, http://tech.pro/tutorial/697/javascript-...dion-menus that but...horizontal. I don't know how to explain it....

i just want it to go below my logo image on my site of-ruin.com between the forums and the top image.
It looks like you went with a jQuery solution.