Announcement

Collapse
No announcement yet.

File Upload window

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Guest's Avatar
    Guest replied
    File Upload window



    Hi Kent,
    That line is generated by merchant.
    The only option I have is the 'Gill' part.

    Bill

    =============================
    Bill Gilligan
    Gilligan On-Line
    www.gilliganonline.com
    850-233-8775

    > -----Original Message-----
    > From: Kent [mailto:[email protected]]
    > Sent: Tuesday, April 19, 2005 5:03 PM
    > To: Bill Gilligan
    > Cc: Miva Merchant coders list
    > Subject: Re: [mrc] File Upload window
    >
    > I'm not a JS expert, but I think that in the various scripts
    > in Merchant
    > admin, they use syntax such as
    > document.forms['Gill'].elements instead of
    > document.Gill.elements. Maybe it's compatible with more
    > browsers that way?
    >
    > HTH --
    >
    >
    > >I have a file upload window opening, and it works fine exept
    > it won't
    > >close automatically.
    > >
    > >I get an error "'opener.document.Gill.elements' is null or
    > not an object"
    > >
    > >I believe this is aying that it can't close window 'gill'....
    > >
    > >I think this is the code erroring out:
    > >
    > ><SCRIPT LANGUAGE = "JavaScript">
    > ><!--
    > >opener.document.Gill.elements[ 'AttributeValue[4]' ].value =
    > 'someimage.jpg';
    > >window.close()
    > >
    > >//-->
    > ></script>
    > >
    > >Ideas?
    >
    >
    >
    >
    > Kent Multer | /| P.O.Box 701895,
    > Dallas TX 75370
    > Magic Metal Productions | / | (214) 570 8264 voice/fax
    > | | [email protected]
    > * Web developer/designer http://TheMagicM.com
    > * E-commerce and Miva
    > * Author, The Official Miva Web Scripting Book -- available on-line:
    >
    > <A HREF ="http://www.amazon.com/exec/obidos/ISBN=0966103211/magicmetalproducA">http://www.amazon.com/exec/obidos/ISBN=0966103211/magicmetalproducA</A>
    >
    >


    Leave a comment:


  • Guest's Avatar
    Guest replied
    File Upload window



    I'm not a JS expert, but I think that in the various scripts in Merchant
    admin, they use syntax such as document.forms['Gill'].elements instead of
    document.Gill.elements. Maybe it's compatible with more browsers that way?

    HTH --


    >I have a file upload window opening, and it works fine exept it won't
    >close automatically.
    >
    >I get an error "'opener.document.Gill.elements' is null or not an object"
    >
    >I believe this is aying that it can't close window 'gill'....
    >
    >I think this is the code erroring out:
    >
    ><SCRIPT LANGUAGE = "JavaScript">
    ><!--
    >opener.document.Gill.elements[ 'AttributeValue[4]' ].value = 'someimage.jpg';
    >window.close()
    >
    >//-->
    ></script>
    >
    >Ideas?




    Kent Multer | /| P.O.Box 701895, Dallas TX 75370
    Magic Metal Productions | / | (214) 570 8264 voice/fax
    | | [email protected]
    * Web developer/designer http://TheMagicM.com
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    <A HREF ="http://www.amazon.com/exec/obidos/ISBN=0966103211/magicmetalproducA">http://www.amazon.com/exec/obidos/ISBN=0966103211/magicmetalproducA</A>



    Leave a comment:


  • Guest's Avatar
    Guest started a topic File Upload window

    File Upload window



    I have a file upload window opening, and it works fine exept it won't close automatically.

    I get an error "'opener.document.Gill.elements' is null or not an object"

    I believe this is aying that it can't close window 'gill'....

    I think this is the code erroring out:

    <SCRIPT LANGUAGE = "JavaScript">
    <!--
    opener.document.Gill.elements[ 'AttributeValue[4]' ].value = 'someimage.jpg';
    window.close()

    //-->
    </script>

    Ideas?


Working...
X