I saw this code on
www.isohunt.com
Can u tell me how to implement in on the row click?
function servOC(i, href, nColor) {
var trObj = (document.getElementById) ? document.getElementById('ihtr' + i)
: eval("document.all['ihtr" + i + "']");
var nameObj = (document.getElementById) ? document.getElementById('name' +
i) : eval("document.all['name" + i + "']");
var ifObj = (document.getElementById) ? document.getElementById('ihif' + i)
: eval("document.all['ihif" + i + "']");
if (trObj != null) {
if (trObj.style.display=="none") {
trObj.style.display="";
nameObj.style.background="#ECECD9";
if (!ifObj.src) ifObj.src = href;
smoothHeight('ihif' + i, 0, 210, 42, 'o');
}
else {
nameObj.style.background=nColor;
smoothHeight('ihif' + i, 210, 0, 42, 'ihtr' + i);
}
}
}
--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/
"Matt Berther" <mb******@hotmail.com> escribió en el mensaje
news:77***********************@news.microsoft.com. ..
Hello Luis,
Due to the sheer volume of questions asked by you lately, I'm not going to
give you code. I am however, going to point you in the right direction...
You know, teach a man to fish... ;)
You want to look at the DHTML object model for a table row and the methods
available for inserting a new row onClick.
You'll probably also want to look at the visible property of the newly
created table row.
--
Matt Berther
http://www.mattberther.com
Is that possible.
I want to insert dinamically a row between 2 rows. That row will have
the
detail from the clicked row.
as on www.isohunt.com
Make a search and click on any result
Grea