Wxa2 > Jss / Image Select.js

Questions? Need Help? Want to share? » PHP Forum
Script Name:
Wxa2

Download:
wxa2.zip

Category:
Database Tools

Archive Content:

Wxa2

Wxa2 > I > Buttons

Wxa2 > I > Upload

Wxa2 > I > Upload > Test

Wxa2 > I > Upload

Wxa2 > I > Www

Wxa2 > Jss

Wxa2 > Modules > Action

Wxa2 > Modules > Display

Wxa2 > Modules > Inc

Wxa2 > Modules > Thirdparty > Explorer

Wxa2 > Modules > Thirdparty > Explorer > I

Wxa2 > Modules > Thirdparty > Explorer

Wxa2

Wxa2 > Xml > Local

Wxa2 > Xml

Wxa2 > Xml > Www > Xml > Local

Wxa2 > Xml > Www > Xml

Image Select.js:


var L_form;
    var newwin = 0;
    var IndexNom = 0;
    var IndexId = 0;
    var action_image="";
    
    function imgSelect(nom_image, imgWidth, imgHeight){
       // alert('hello');
       if (action_image=="")
           {
       eval("L_form." + lg + ".value =  nom_image");
        //self.document.ajoutmodif.elements[IndexId].value = image_id;
        }
    if (action_image=="corpsHTML")
        {
        insertImg(nom_image, imgWidth, imgHeight, "align=left");
        }
    newwin.close();
    }

    function launchwin(frm,  image_field,  libdir)
        {
        L_form = frm;
        var nom = '';
        action_image="";
        /*for (lg=0 ; lg < L_form.elements.length ; lg++)
            {
            nom = L_form.elements[lg].name;
            if (nom == nom_image) IndexNom = lg;
           // if (nom == image_id) IndexId = lg;
            }*/
        lg=image_field;
        newwin =  window.open(libdir + "modules/thirdparty/explorer/img_select.php", "Selection", "top=0,  left=0, height=370, width=500, scrollbars=yes, status=no");
        newwin.focus();
        }




Other Database Tools Scripts:

WebMaster Resources Home

©RingsWorld.com