Grow your CSS skills. Land your dream job.

How to handle this js with html?

  • # April 12, 2013 at 7:47 pm

    I have this script in here:

    http://shukulat.byethost9.com/

    if you see for increasing or decreasing sub menus I should play with javascript arrays but I want to do it with just html’s ul and li tags.

    is there any way to do that? if yes, how?

    thanks in advance!

    Alireza.M

    # April 13, 2013 at 6:27 am

    Perhaps you could manipulate the elements using jQuery? A little more explanation of exactly what you want to do would be helpful in giving a more complete answer.

    # April 13, 2013 at 7:54 am

    > A little more explanation of exactly what you want to do would be helpful in giving a more complete answer.

    I exactly want to manipulate these elements with html only, I think we can create some classes for parents and children for different levels and when I call them in ul li tags it works like the result in that link.
    I have jquery plugin installed in my template too and if it’s easy we can use it.
    Notice I want it to be exactly like that link but manipulating with html.

    # April 13, 2013 at 10:26 am

    If that particular plugin requires an array, find another plugin, or write something yourself :P

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".