:: Forum >>

Button or Img or DIV tag based on XML data.

I'm trying to add a button type cell (can be done with HTML.IMG, BUTTONS, DIV TAG or any other way somone can think of, as long as it does the following.

1. is only shown if a value from an XML data, or another column = some value (ie. if value of column 3 = 1 then show, if =0 dont show.

2. on mouse over changes image

3. I can add a event like this
button.setEvent("onclick",function (src){
var node = obj.getDataProperty("text", row.getItemProperty('index'),0);
(0).location.href = "./scripts/download.asp?nodeID=" + node;
});


Thanks,


DoubleD
Saturday, May 21, 2005

This topic is archived.


Back to support forum

Forum search