How to invisible the text?
-
Anything that happens on the client needs to happen in Javascript. You can set a timer in JScript, and then you can just clear the text in the span. You should avoid doing this, you immediately open yourself up to having to make your code compatible with every weird browser that may ever look at your page. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
Anything that happens on the client needs to happen in Javascript. You can set a timer in JScript, and then you can just clear the text in the span. You should avoid doing this, you immediately open yourself up to having to make your code compatible with every weird browser that may ever look at your page. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
I completely agree with Christian in that you will have to test/support this in different browsers. I supplied some code that was tested in IE 6. Christian suggested clearing the text in the span (setting innerText to ""). However, I just hid the text that was there in case it needed to be displayed later. function hideText() { document.getElementById("TextToHide").style.display = "none"; } function runHideTextTimer() { window.setTimeout('hideText()', 3000) } Here is the text you want to hide. Hope this helps. Ryan Bost http://www.sugarcoding.com