Results 1 to 2 of 2

Thread: AnyLink Drop Down Menu - array items

  1. #1
    Join Date
    Jun 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink Drop Down Menu - array items

    I want to make a list that has more than 10 items. Is that possible because when I use array numbers 10 +, the menu tends to not work.

  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

    It has been my experience that when someone has this problem, it is due to a syntax error in the array structure, not the actual number of items in the array. This makes sense when you consider the fact that the more items are added, the greater the chance that some inadvertent syntax error will creep in. The most common error is the use of display text in an array entry that includes an unescaped single quote ex:
    Code:
    menu1[2]='<a href="http://some.com/mensoccer.htm">Men's Soccer</a>'
    Should be written:
    Code:
    menu1[2]='<a href="http://some.com/mensoccor.htm">Men\'s Soccer</a>'
    Other common errors arise simply from not following the template for these entries exactly as in the demo. If you need more help -

    PLEASE: Include the URL to your problematic webpage that you want help with.
    - 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
  •