Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Alternative to 'onclick' for a variable number of links?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jeff Dunlap  
View profile  
 More options Nov 12 2012, 12:45 am
From: Jeff Dunlap <jeff_j_dun...@yahoo.com>
Date: Sun, 11 Nov 2012 21:45:14 -0800 (PST)
Local: Mon, Nov 12 2012 12:45 am
Subject: Re: [Moo] Alternative to 'onclick' for a variable number of links?

Sandy, that's exactly what I needed!  Thank you!

On Sunday, November 11, 2012 10:56:01 PM UTC-6, Sanford Whiteman wrote:

> See the touchups I made here:

>     http://jsfiddle.net/Dfa5h/1/

> · you can chain addEvent right on the result of $$(). $$() returns an
> array of Elements, and you can run any Element method, such as
> addEvent() on Elements as well, and it will map each item in the array
> to the method

> · use data-* attributes and you don't need to pollute the href
> attribute, which should be useable in scriptless environments or at
> the very least give a nice display in the status bar

> · simple split() instead of eval -- eval must be destroyed


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.