Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

outlook 2002 sig. question

Options
  • 08-10-2003 3:32pm
    #1
    Registered Users 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 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