-2
function Close() 
{

    $('.mask').hide();
    $('.window').hide();
}


function display() {


    $('.mask').css({ 'width': 1700, 'height': 1500 });
    $('.mask').fadeIn(100);
    $('.mask').fadeTo("fast", 0.8);
    $('.window').css('top', 200);
    $('.window').css('left', 375);
    $('.window').css('display', 'inline');
    $('.window').fadeIn('slow');

}

function display1() {


    $('.max').css({ 'width': 1500, 'height': 900 });
    $('.max').fadeIn(100);
    $('.max').fadeTo("fast", 0.8);
    $('.wind').css('top', 200);
    $('.wind').css('left', 375);
    $('.wind').css('display', 'inline');
    $('.wind').fadeIn('slow');

}

function Close1() {

    $('.max').hide();
    $('.wind').hide();
}

function showDataRow(rowContainerId) {

    var childControlsArray = document.getElementById(rowContainerId).childNodes;

    var empId, empName, empAge, empBasicPay;

    for (var i = 0; i < childControlsArray.length; i++) {

        if (childControlsArray.item(i).id == 'dvEmpId') {
            empId = childControlsArray[i].innerHTML;
        }
        else if (childControlsArray.item(i).id == 'dvEmpName') {
            empName = childControlsArray.item(i).innerHTML;
        }
        else if (childControlsArray.item(i).id == 'dvEmpAge') {
            empAge = childControlsArray.item(i).innerHTML;
        }

    }

    //document.getElementById('dvEmployPopup').innerHTML = empId + '  ' + empName + '  ' + empAge + '  ' + empBasicPay;

    //document.getElementById('txtEmpId').value = empId.trim();
    // document.getElementById('SupplierNameTxt').value = empName.trim();
    document.getElementById('ChangeDisplayTxt').value = empAge.trim();


    $('.max').css({ 'width': 1500, 'height': 1437 });
    $('.max').fadeIn(100);
    $('.max').fadeTo("fast", 0.8);
    $('.wind').css('top', 287.5);
    $('.wind').css('left', 409.5);
    $('.wind').css('display', 'inline');
    $('.wind').fadeIn('slow');


    return false;
}

Edited by Dani: Formatting fixed

2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by simplypixie
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.