I am trying to collapse a menu similiar to this site:
Currently, any dates within a month collapse. This is done using jquery and a wordpress plugin.
I would like to be able to FURTHER collapse the months so they also do not display.
So all the months under articles by date collapse, and all of the dates collapse.
Is there an easy way to do this?
I think this site uses the following plugin
"Clean archives Reloaded"
Thanks for any advice.
It would be fairly trivial to create an "expanding / collapsing" scenario with some basic markup and JS.
See this fiddle: http://jsfiddle.net/GeekyJohn/H34WJ/ for an example
Isn't this exactly the same question as in your other thread?
If I post here, how do I know I'm not wasting my time since you might already have a solution in your other thread?
Yes, I have another thread, guilty as charged! I had it in the WP thread and created a new one here. Sorry for confusion I should have asked that the other be closed myself. It is closed now and I will respond here.
I am currently doing jquery tutorials at w3 schools.
@Aussie John thank you, i will take a look shortly at your link.
@ Max Just quickly though, given that the plugin uses jquery (I think I recall you don't like it!), is jquery the best thing for me to focus on learning about? I am looking for the quick win.
Edit - Aussie John, is that your site? I love the way you can see all of the code at work here, brilliant! I still think I need to get my head around some basic concepts before I can implement.
Just to clarify a few things here:
That's a good starting point
If you get stuck, post back with your code. In my experience people are generally more willing to help someone if that someone posts some code showing they are making a genuine attempt at solving the problem.
There are [many [URL="http://www.noupe.com/tutorial/51-best-of-jquery-tutorials-and-examples.html"]other [URL="http://www.impressivewebs.com/jquery-tutorial-for-beginners/"]tutorials in a [URL="http://jquery14.com/"]few [URL="http://net.tutsplus.com/articles/web-roundups/jquery-for-absolute-beginners-video-series/"]other](http://docs.jquery.com/Tutorials) places
Hah, no I wish. JS Fiddle is a site where you can place some code and run it / share it / collaborate on it for situations just like this
Will do thanks. I'll mark up some content I want to hide/collapse, and then do some tutorials.
I'll post code as suggested when I get stuck.
When I first started I found w3c schools to be hard to follow. I did learn a bit about jquery from their tutorials though.
I definitely recommend watching Douglas Crockford's videos on the subject at [URL="http://yuiblog.com/crockford/"]http://yuiblog.com/crockford/
Well i have it working.
A guy at my work made a social call on IM and I said, well I have this probelm. He made it work for me:)
I have been doing tutorials. I am learning about object oriented programming, functions and events. I have something to fix with my script still I'll have a look and post any code.
This topic is now closed. New replies are no longer allowed.