Options showing and hiding!

← General Stuff — Started 22 Oct, 2010

On this website i have noticed on the quick reply and new reply area's you have all extra options hidden unless they click them to open, and i was wondering how you did this as i would like to do it to my website to provied a better looking website for my users.

Now i only know very basic javascript so there may be a few times where i have no idea on what to do but any help would be greatly appricated.

Many Thanks
WOOOO love xekko Heart
The javascript is the really easy part - the hardest part is getting the items you want out of the normal edit/new post/thread area and into a seperate div container.

For example, this structure makes it easy:

Code:
<div id="post_options">
    <div>
        <!-- A table goes here -->

        <!-- Another table goes here -->
    </div>
</div>

Once you've got the HTML right, then all that's left to do is include scriptaculous and do a lovely slide effect. Just have a blast creating some new MyBB tables in the templates, move the things you want into the structure above and I'll write up a quick script.

Smile
Ah ok then, will have a good sunday morning making the tables, Smile only way i will learn coding it to break things after all :L
WOOOO love xekko Heart
Dude you should just post the template codes in their entirety :x
Because it's not always really as easy as it sounds!

I've almost finished yours though. Shy

User(s) browsing this thread: 2 Guest(s)