unconformed — 2012-01-04T22:24:25-05:00 — #1
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.
aussiejohn — 2012-01-05T06:05:34-05:00 — #2
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
system — 2012-01-05T18:00:58-05:00 — #3
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?
unconformed — 2012-01-05T18:57:43-05:00 — #4
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:
system — 2012-01-05T19:17:07-05:00 — #5
unconformed — 2012-01-05T19:32:36-05:00 — #6
system — 2012-01-05T19:48:36-05:00 — #7
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.
aussiejohn — 2012-01-05T19:49:38-05:00 — #8
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
unconformed — 2012-01-05T22:02:52-05:00 — #9
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.
unconformed — 2012-01-05T22:10:16-05:00 — #10
When I first started I found w3c schools to be hard to follow. I did learn a bit about jquery from their tutorials though.
aussiejohn — 2012-01-05T22:44:13-05:00 — #11
I definitely recommend watching Douglas Crockford's videos on the subject at [URL="http://yuiblog.com/crockford/"]http://yuiblog.com/crockford/
unconformed — 2012-01-06T01:20:56-05:00 — #12
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:)
unconformed — 2012-01-08T19:19:44-05:00 — #13
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.
unconformed — 2012-01-16T22:18:29-05:00 — #14