Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to handle this js with html?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44083
    AlirezaM
    Participant

    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

    #131692
    tomrogers123
    Member

    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.

    #131700
    AlirezaM
    Participant

    > 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.

    #131715
    CrocoDillon
    Participant

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.