Sent by Christina S on 4 June 2003 18:06
On 03-06-03 23.43, "Marshall Roch" [EMAIL-REMOVED]> wrote:
> <a href="path/to/page.html" onclick="window.open(this.href(), 'newwin');
> return false;" onkeypress="window.open(this.href(), 'newwin'); return
> false;" title="Page title (opens in new window)">link text</a>
Is it possible to assign a javascript to a .class? (or id? Or something?)
So that instead of writing all this in the html you could keep it clean and
write something like
<a class="external" href=http://somewhereelse.com">
/Christina
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/