I am looking for an equivalent function in Vbscript if it's possible, to scroll the text in the title bar in an HTA like this function but it's written in javascript:
Thank you !
Code:
<html>
<script language="JavaScript">
var txt=" Hello how are You ? This a Demo for scrolling the Title bar ! so Enjoy it (^_^) ";
var vitesse=1000;
var refresh=null;
function scroll_title() {
document.title=txt;
txt=txt.substring(1,txt.length)+txt.charAt(0)
refresh=setTimeout("scroll_title()",vitesse);
}
scroll_title();
</script>
</html>
Thank you !