Would a javascript function like this work
function menu( cell,text )
{
If cell.innerText=="" then
{
cell.innerText = " [ b ] [ / b ]";
}
else
{
cell.innerText = "[ b ] " + text + " [ / b ]";
}
}
But im not sure how u could only pass the selected text.
I feel sorry for people who don't drink. When they wake up in the morning, that's as good as they're going to feel all day.
--Frank Sinatra
Edited by - Hamlin on 27 June 2002 14:11:08