Hot to contact a user

I'm developing a gadget for a Web site. This gadget has to let user serarch a string using the site searh and opening the web browser for display the results. I've do all, but the sarch must not to be done if the string is less than 3 character. Is there a way to warn a user if he enters a string that type javascript alert doesn't work, and i was thinking if it is possible to use a balloon tip!!!

Thanks all
Luca


Answer this question

Hot to contact a user

  • daviddou2006

    Thank you!!! This work great
  • harcrow

    You have a few choices, here's three possibilities:

    1. A floating DIV over your Gadget
    2. VBScript MsgBox
    3. Shell Popup

  • Maheswari

    Thank you for the answer. I try to use a shell popup, coping the code from the link you give me but... It say WScript is not define...I'm sorry, i'm really bad with host scripting...Is there something i have not done
  • TheMaj0r

    var oShell = new ActiveXObject("WScript.Shell");
    oShell.Popup("some text");

  • Daniel Hilgarth

    Jonathan, is it possible to put a hyperlink in the Shell Popup As it doesn't appear to support html.

  • Bigmo

    If you follow the link I posted above, it states "Displays text in a pop-up message box."

    So, a hyperlink will show as text without the link.

  • Hot to contact a user