Results 1 to 2 of 2

Thread: Link menu need help!

  1. #1
    Join Date
    Oct 2009
    Posts
    9
    Thanks
    0
    Thanked 1 Time in 1 Post

    Question Link menu need help!

    1) Script Title: AnyLink JS Drop Down Menu v2.2

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    3) Describe problem:

    How to load not just a regular link from this menu but something that requiers id class activation on click?

    like this: <a id="photogallery1">1</a>

    like this is not working:
    ["Play the photo gallery","<a id="photogallery1">1</a>
    "],

    what should I do? is this possible to use <a id="photogallery1">1</a>
    in the second part? somehow?

    or what should I do in this case?

    Thank you much for any help!

  2. #2
    Join Date
    Oct 2009
    Posts
    9
    Thanks
    0
    Thanked 1 Time in 1 Post

    Exclamation

    Or even better, to make this menu complete as I think:

    How to add additional <a> tag, in to it, such as rel="", id="" and name=""

    for example:

    ["MSNBC", "http://www.msnbc.com/", "relParamIfThereIs", "idParamIfThereIs","nameParamIfThereIs"],


    how to change the following line from .js:

    frag+='<li><a href="' + menuobj.items[i][1] + '" target="' + menuobj.linktarget + '">' + menuobj.items[i][0] + '</a></li>\n'


    To make it work?


    If we tweak this menu like this, then i will become more functional because you would be able easily start lightBox and do a lot more other stuff.







    Quote Originally Posted by chishikinohito View Post

    ["Play the photo gallery","<a id="photogallery1">1</a>
    "],

    what should I do? is this possible to use <a id="photogallery1">1</a>
    in the second part? somehow?

    or what should I do in this case?

    Thank you much for any help!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •