[Javascript] Table rollover?

Peter Brunone peter at brunone.com
Sun Aug 5 17:01:39 CDT 2001


Ali,

	Have you tried placing the table inside a DIV?  You can then replace the
entire table with the DIV's .innerHTML property.

|-----Original Message-----
|From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
|Behalf Of A Wolanski
|Sent: Sunday, August 05, 2001 4:43 PM
|To: javascript at LaTech.edu
|Subject: [Javascript] Table rollover?
|
|
|
|Hello.
|
|I was wondering if anyone out there knows if it is possible to use
|javascript to do something like an image rollover, but for tables. What I
|need to do is change
|the contents of a table, including all table cells and their image and
|text contents, using an OnClick event. So far I have written something
|that in theory works,
|except that it doesn't work because it is apparently impossible to undo
|and rewrite stuff once you have used the document.write method.
|
|Can anyone help me out? If this is in fact impossible then I will have to
|resort to the painfully redundant method of creating about 15 rather large
|documents that are almost exactly identical.
|
|Hope to hear from someone.
|
|Ali Wol
|
|_______________________________________________
|Javascript mailing list
|Javascript at LaTech.edu
|http://www.LaTech.edu/mailman/listinfo/javascript
|




More information about the Javascript mailing list