Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

outlook 2002 sig. question

  • 08-10-2003 03:32PM
    #1
    Registered Users, Registered Users 2 Posts: 10,339 ✭✭✭✭


    Anyone know if you can get the signature in an email (html format) to contain a javascript that will actually run?

    not hugely important, just curiosity, but when I use a html sig for a scroller, for example, it just stays in it's initial state and doesnt change.

    script for signature: (not mine i hasten to add!)
    <html>
    <head>
    <title>test2</title>
    <SCRIPT LANGUAGE="JavaScript">
    
    <!-- Begin
    function scroll(message_loop)
    {
    var messages = new Array();
    messages[0] = "name";
    messages[1] = "title";
    messages[2] = "company";
    messages[3] = "Phone:";
    messages[4] = "Fax:";
    messages[5] = "Email:
    if(message_loop >= messages.length)
    {
    message_loop = 0;
    }
    var old_value = window.document.scroll_form.banner.value;
    var new_value;
    var random = Math.floor(Math.random() * messages[message_loop].length);
    var change_letter = messages[message_loop].charAt(random);
    if(old_value == messages[message_loop])
    {
    message_loop++;
    setTimeout("scroll("+message_loop+")",4000);
    return;
    }
    if(change_letter == old_value.charAt(random))
    {
    scroll(message_loop);
    return;
    }
    var first_part = old_value.substring(0,random);
    random++;
    var last_part = old_value.substring(random,messages[message_loop].length);
    var new_value = first_part + change_letter + last_part;
    window.document.scroll_form.banner.value = new_value;
    setTimeout("scroll("+message_loop+")",150);
    }
    //  End -->
    </script>
    </head>
    
    <body onLoad="scroll(0);">
    <align="left">
    
    <form name="scroll_form" style="text-align:left;">
    <input type="text" size="28" value="Signature" name="banner">
    </form>
    </body>
    </html>
    


Comments

  • Registered Users, Registered Users 2 Posts: 2,598 ✭✭✭Yavvy


    My outlook sig has Java in it.. I dont understand java but I can send you my sig and you can look for yourself


Advertisement