[css-d] Javascript: getElementsByTagName() getElementsById(): How getElementsByClass()?

2008-07-07 Thread abhishek khurana
let me know u guys feedback on this:
http://pitfalls.wordpress.com/2008/07/07/querying-it-jquery-way-getelementsbyclass/

-- 
http://pitfalls.wordpress.com/2008/07/07/querying-it-jquery-way-getelementsbyclass/

Fear can hold you prisoner. Hope can set you free. - The Shawshank
Redemption
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Javascript: getElementsByTagName() getElementsById(): How getElementsByClass()?

2006-08-20 Thread Nick Urbanik

Dear Folks,
On 20/08/06 22:18 +0100, Christian Heilmann wrote:

Dear Folks,

As you can guess, I am totally new to Javascript, and a beginner at
CSS.


Yes, so why do you try to solve all the problems on your own?


Well, I have just finished reading Cascading Style Sheets, 2e, by
Owen Briggs et al, and am actually trying to learn enough to do things
like this by myself.  A lofty ambition, but, hey, I can dream! :-)


http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/
is an implementation of getElementsByClassName, and nearly every
JavaScript library out there has similar solutions.

As to implementing more than one multi level dropdown menus on a page:
Have you considered the users without CSS or JavaScript? Do they
really need all these options?


suckerfish.js is a very simple javascript function for IE only, a very
simple and clean alternative to csshover.htc.

It is only for the suckers who use IE.  If they turn off javascript,
they still see the top level menu items, which work.

If people use CSS incapable devices, they still see a ul of links,
which should still have meaning to them.

After looking at how the various getElementsByClass() functions are
written, I realise that I can probably use some of the ideas from the
code to implement what I need.  Thank you.
--
Nick Urbanik   RHCE http://nicku.org[EMAIL PROTECTED]
GPG: 7FFA CDC7+5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24


pgpuickn5DP52.pgp
Description: PGP signature
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Re: [css-d] Javascript: getElementsByTagName() getElementsById(): How getElementsByClass()?

2006-08-20 Thread Nick Urbanik

Dear Folks,

On 20/08/06 14:24 -0700, Paul Novitski wrote:

At 8/20/2006 01:29 PM, Nick Urbanik wrote:

This is tangentially related to this list


But not closely enough.  Here's a great JavaScript list for future 
scripting questions:

https://lists.LaTech.edu/mailman/listinfo/javascript


Thank you.


http://google.com/search?q=getElementsByClass


Doh!  Sorry.
--
Nick Urbanik   RHCE http://nicku.org[EMAIL PROTECTED]
GPG: 7FFA CDC7+5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24


pgpZve8F4tDw0.pgp
Description: PGP signature
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/