> > Is that something that can be done? How do you isolate
> > the parent element to do something to it?
var parent = this.parentNode;
if (parent.className == 'noPrint' )
parent.className = 'Print';
}
or perhaps you would prefer a print/noprint toggle?
function swith(obj){
obj = obj.parentNode;
obj.className = (obj.className == 'noPrint') ? 'Print' : 'noPrint';
return false;
}
HTH,
Andrew.
--------------------------------
http://leftjustified.net/
******************************************************
The discussion list for http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/
Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************