Monday, February 20, 2017

Popup Button ling phprunner

$result["record"] = $button->getCurrentRecord();

var mywin =window.open('mytable.php?editid1='+ result.record["id"],'popUpWindow','height=630,width=530,left=20,top=20,resizable=no,scrollbars=yes,toolbar=no,menubar=no,location=no,directories=no,status=no');
mywin.focus();

Popup Sutome table

$value = "
<script type=\"text/javascript\">
// Popup window code
function Allocate(url) {
popupWindow = window.open(
url,'popUpWindow','height=500,width=650,left=20,top=20,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no')
}
</script>
<a href=\"Javascript:Allocate('http://SERVERNAME/APPLICATIONNAME/Allocate_add.php?mastertable=Allocate&masterkey1=".$data["SerialLink"]."');\">Allocate</a>";

phprunner popup


$value = "
<script type=\"text/javascript\">
// Popup window code
function Allocate(url) {
popupWindow = window.open(
url,'popUpWindow','height=500,width=650,left=20,top=20,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no')
}
</script>
<a href=\"Javascript:Allocate('http://10.1.42.18/archive/ViewerJS/#../files/".$data["Attach"]."');\">Allocate</a>";

Sample Full Screen html

<iframe src="mypage.html" style="position:fixed; top:0px; left:0px; bottom:0px; right:0px; width:100%; height:100%; border:none; margin:0; padding:0; overflow:hidden; z-index:999999;">
    Your browser doesn't support iframes
</iframe>

embed phprunner

$value = "<object style=\"width: 113px; height: 130px\">
< param name=\"movie\" value=\"http://www.youtube.com/v/".$value."\">
< /param><embed src=\"http://www.youtube.com/v/".$value."\" type=\"application/x-shockwave-flash\"
width=\"425\" height=\"344\"></embed></object>";


phprunner view custom filed status

if ($value=="Process") $str.='<img src="1.png">'; if ($value=="Receive") $str.='<i...