2010-07-08, 05:43 PM
2010-07-08, 05:45 PM
*And messier xD Seriously though, top stuff. I'm interested in how you managed to add cookies - hope you don't mind I'm pilfering the code for my personal wordpress theme xD
2010-07-08, 05:53 PM
This is spot on! Thanks Joshee and euantor!
I'm using it here with some minor modifciations - http://petforums.biz/index.php
I'm using it here with some minor modifciations - http://petforums.biz/index.php
2010-07-08, 06:11 PM
(2010-07-08, 05:45 PM)euantor Wrote: [ -> ]*And messier xD Seriously though, top stuff. I'm interested in how you managed to add cookies - hope you don't mind I'm pilfering the code for my personal wordpress theme xD
Haha yeah it is a little messier.. I tried using .removeClass() and .addClass() but that didn't work. I also tried using the .attr() and changing the class using that, but that still didn't work, so I just had to do it the hard way
I actually learned how to do collapses and cookies from a tutorial on shopdev. Cookies are so easy it's amazing.
http://www.shopdev.co.uk/blog/cookies-wi...e-layouts/
(You need the jQuery cookie plugin included in the header as well for it to work.)
(2010-07-08, 05:53 PM)AJS Wrote: [ -> ]This is spot on! Thanks Joshee and euantor!
I'm using it here with some minor modifciations - http://petforums.biz/index.php
No problem, added the link to the OP
2010-07-11, 03:27 PM
Yea it's a little messy. When refreshing the page, the sidebar appears for a second before it disappears. Any way to fix that?
2010-07-11, 08:52 PM
Possibly. Let me look into it. I know of a way that might work but I will test it first.
2010-07-11, 09:48 PM
Nice tutorial, but why not using the Prototype JS framework? It's included and loaded with MyBB itself...
I don't want to add a second JS framework. Just waiting for a Prototype solution.
I don't want to add a second JS framework. Just waiting for a Prototype solution.
2010-07-12, 01:19 AM
(2010-07-11, 09:48 PM)querschlaeger Wrote: [ -> ]Nice tutorial, but why not using the Prototype JS framework? It's included and loaded with MyBB itself...
I don't want to add a second JS framework. Just waiting for a Prototype solution.
1. jQuery is easy.
2. I don't know how to use Prototype.
3. I already know enough jQuery to do this.
2010-07-20, 08:54 PM
Sorry but how to remove the sidebar?
http://www.moviemania-pt.com/
http://www.moviemania-pt.com/
2010-07-20, 08:59 PM
Just revert the templates back to default, and delete the files you uploaded.