• arpecop

    (@arpecop)


    Finaly I’ve got version supporting subcategories πŸ™‚ they look cool 5 pixels left but… I saw blogs and the categeories expanding . howto do this in my blog and is it possibble to put [+] and [-] gif infront them
    sorry for bad english
    Thanks!

Viewing 15 replies - 1 through 15 (of 15 total)
  • I’m still trying to figure out how to do this. I have a pretty good idea just have to sit down and code it.

    Thread Starter arpecop

    (@arpecop)

    Is it never been developed… Many sites are used this … Not sure WP based but if you du this I will be very thankfull cose I am just GUI user πŸ™‚
    Regards: Rudix.com owner

    rayne

    (@rayne)

    I would think it would have to be a combination of javascript to get them to expand and css to include the +/- image before each item in the list (or use the image as a bullet).

    TechGnome

    (@techgnome)

    nsxpower – appreciate the link, but….. I think the problem with WP is how the menu code is generated. Because they are generated by WP itself, it becomes a bit more difficult to integrate such a script (since it needs the onClick event added.)
    I’d be interested if anyone can come up with a viable solution (meaning the least intrusive to WP – in other words, the less I have to change in the core files, the better)
    TG

    Thread Starter arpecop

    (@arpecop)

    http://www.alexking.org/ <- is it wp based blog … and if it is not … how we gonna import this goodie in our blogs?

    Thread Starter arpecop

    (@arpecop)

    http://wordpress.org/support/3/4293 <- on the second post Podz write about his own blog … great site really .. also with drop down menus … if this goodie has been created for mas user like me … WP will be great sceleton for creating all kind web sites
    Thank You

    Thread Starter arpecop

    (@arpecop)

    mark .. where this have to be included?

    You have to make modifications to it.

    Beel

    (@beel)

    I did it with a couple of the functions just to see if I could – and some can be a real bear. Here is an easy one to get you started:
    <li id="categories" onClick="expandcontent('sc1')" style="cursor:hand; cursor:pointer">Categories
    <ul id="sc1" class="switchcontent">

    • <?php list_cats(); ?>
    TechGnome

    (@techgnome)

    http://www.alexking.org/ <- is it wp based blog … and if it is not … how we gonna import this goodie in our blogs?

    Judging by the fact that tables (eeew!) were used to control the layout, I’d say no…. Or, if it is, then it has been severly hacked.
    TG

    haasim

    (@haasim)

    Judging by the fact that tables (eeew!) were used to control the layout, I’d say no…. Or, if it is, then it has been severly hacked.

    Actually it’s just the main page that uses tables. If you look at the blog it has a ‘powered by WordPress link’ and the layout is completely CCS based.
    Nonetheless, I’m using tables for my site and I don’t understand why anyone would want to deisgn their layout using only CSS. It’s so clumsy and unintuitive. I only use CSS to supplement my existing table design.

    One word: control. CSS provides (nearly) complete control over anything.

    Sushubh

    (@sushubh)

    the beauty of css based layouts is that you can change the layout of a complete website using 1 single file. with tables you are in deep sh*t. i know coz my company sites are table based and revamp is a PITA.

    Beel’s right – a few of the menu items can get to be a real pain in the ass. Especially the links. I was able to get most of them figured out though – you can check the source code on my blog.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Expanding Menus’ is closed to new replies.