Results 1 to 2 of 2

Thread: Debate? - Why are JS menu's so complicated?!

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

    Default Debate? - Why are JS menu's so complicated?!

    Recently, I've been doing alot of research/browsing on the various javascript menus out there. But I still don't understand WHY people make them so complicated? I know that you can/should browser sniff and write code according... but really... there are hundreds of browsers out there! WC3 seemed to have standarized things and most browsers are capable of following these standards now... aren't they? I wrote a simple menu (with a little javascript and CSS) and it seems to be compatible with most browsers? So why are so many people making things so complicated?... Just wanted to hear some input?........

  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

    I think it is for all the 'bells and whistles' that can only be included cross browser using at least object testing. Browser sniffing isn't such a hot idea and the same code should be able to be rewritten using object testing. Even object testing isn't so vital if you are willing to let go of all browsers that - say, don't support document.getElementById.
    - 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
  •