Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: onClick functionality



On Jul 18, 2006, at Tue, Jul 18 - 7:06PM, Robert Sesek wrote:

On Jul 18, 2006, at 16:31, <email@hidden> wrote:

Do all elements have onClick functionality?

Yes, list elements do indeed have onclick abilities. You can find out what attributes each tag has by looking at the W3C specs (http://www.w3.org/TR/html4/). Click on an element in the "Quick Table of Contents" (for this, lists) and then scroll down to the "Attribute definitions" section and under "Attributes defined elsewhere" you can see all the applicable attributes.

This is true, with the caveat that it doesn't work in IE (of course). This can be fixed with a little JavaScript, however. ALA's Suckerfish Dropdowns article deals with this problem:


 <http://www.alistapart.com/articles/dropdowns/>


-- Ian Leckie Senior Developer, Technology Services Integer > Midwest

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden
References: 
 >onClick functionality (From: <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.