Using the showTitle Function

The showTitle function accepts a string (Unicode encoded for German and Japanese), calls the client-side Decode function, and sets the position for the text display. Mousetitle is a DIV element in hello.asp. The following code fragment shows the showTitle function:

sub showTitle(str)
   Mousetitle.innertext = Cstr(Decode(str))
   Mousetitle.style.posLeft = Clng(window.event.clientX )
   Mousetitle.style.posTop = Clng(window.event.clientY )
   Mousetitle.style.display= ""
end sub