display over form

Discussion in 'Javascript' started by greg, Jul 19, 2004.

  1. greg

    greg Guest

    hi

    i have a form that permit users to send a message (like mails) and add
    attachments.
    When a user adds an attachment, i display a little message like "please wait
    while loading ..."

    my problem is that this message doesn't appear over the input elements of
    the form.

    how could i resolve that ?

    thanks in advance
    Greg

    for info, the source for the little message
    function attente_transfert()
    {
    promptbox = document.createElement('div');
    promptbox.setAttribute ('id' , 'prompt')
    document.getElementsByTagName('body')[0].appendChild(promptbox)
    promptbox = eval("document.getElementById('prompt').style")
    promptbox.position = 'absolute'
    promptbox.top = 200;
    promptbox.left = 450;
    promptbox.width = 200
    promptbox.border = 'outset 3 #ffffff'
    document.getElementById('prompt').innerHTML = "<table width=100%
    bgcolor=#F0F0F0 align=center><tr align=center><td><br><h3>Veuillez
    Patienter</h3><img src=\"/images/patienter.gif\"><h3>Transfert en
    cours</h3></td></tr></table>"
    }
    greg, Jul 19, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cesar Zam
    Replies:
    0
    Views:
    337
    Cesar Zam
    Nov 6, 2003
  2. someone

    FTP over SSL vs FTP over SSH

    someone, Apr 24, 2004, in forum: Java
    Replies:
    1
    Views:
    4,582
    iksrazal
    Apr 25, 2004
  3. Replies:
    7
    Views:
    6,706
    Alex Molochnikov
    Feb 23, 2005
  4. Nagesh
    Replies:
    2
    Views:
    9,391
    =?ISO-8859-1?Q?Arne_Vajh=F8j?=
    Aug 12, 2006
  5. Michael Ansel
    Replies:
    5
    Views:
    440
Loading...

Share This Page