Results 1 to 2 of 2

Thread: AnyLink Drop Down Menu + Ajax Tabs Content script

  1. #1
    Join Date
    Aug 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink Drop Down Menu + Ajax Tabs Content script

    1) Script Title: Ajax Tabs Content script and AnyLink Drop Down Menu

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

    3) Describe problem: How do I make these scripts to work together?

    First, I wanna thanks the ddadmin for helping me in the other problem I had, thanks so much!

    So... I like so much the Ajax Tabs that a wanted to have a good menu, so of course, I tried to find one here in this wonderful site. I like most the anylink drop down menu. I don't have a good knowledge about dhtml... so I don't know how to change this part in the AnyLink Drop Down Menu

    Code:
    //Contents for menu 2, and so on
    var menu2=new Array()
    menu2[0]='<a href="http://cnn.com">CNN</a>'
    menu2[1]='<a href="http://msnbc.com">MSNBC</a>'
    menu2[2]='<a href="http://news.bbc.co.uk">BBC News</a>'
    if I have this:
    Code:
    <ul id="maintab" class="shadetabs">
    <li class="selected"><a href="#default" rel="ajaxcontentarea">Intro</a></li>
    <li><a href="external.htm" rel="ajaxcontentarea">Bird</a></li>
    <li><a href="external2.htm" rel="ajaxcontentarea">Dog</a></li>
    <li><a href="external3.htm" rel="ajaxcontentarea">Cat</a></li>
    <li><a href="external4.htm" rel="ajaxcontentarea" rev="content.css, content.js">Sea Otter</a></li>
    </ul>
    * I made a little change with the Ajax Tabs Content, and I must have a menu, because I have more than 20 links, that's why I couldn't use exactly the way it looks in this site...


    Thanks ( sorry, my English is horrible)

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    If you are not going to use the tabs, don't use the tab script, modify this one, the links are much more straightforward and easy to use anywhere like - with anylink. Otherwise, it is the same script:

    http://www.dynamicdrive.com/dynamici...jaxcontent.htm
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •