Well I am developing a lookup using window.open object for the web apps which runs on the webkit browser of android tablet.Now the problem is the object is not displaying to its given height & width on the tablet while it is displaying good on the windows desktop.Following is my code.
function ADShowLookup(Title,For,Obj,ObjDesc,Text,WeDate, Focus,FunName,Height,Width,UserGroup)
{
URL = "Height="+Height+"&hObject=" + Obj + "&hObjDesc=" + ObjDesc + "&hFor=" + For + "&Text=" + Text;
if(Focus != undefined) URL += "&nextfocus=" + Focus ;
if(FunName != undefined) URL += "&hFunName=" + FunName ;
if(UserGroup != undefined) URL += "&hUserGroup=" + UserGroup ;
if(WeDate != undefined) URL += "&WeDate=`dtWeDate`" ;
doOpenWin('calltc2?title=' + Title + '&report=showLookup¶ms=' + escape(URL),Height,Width);
}
function doOpenWin(URL, Height, Width)
{
Att = "dialogWidth:" + Width + "px; dialogHeight:" + Height + "px; status:no; center:yes;scroll:no";
var hwin;
hwin = window.open(URL,'win1','toolbar=no,statusbar=yes,width=400,height=600');
hwin.moveTo(300, 400);
}
<img src="/michel/lookup.gif" önclick=" ADShowLookup('CC Search','cc16','CcCode','CcDesc','`cJobNo`','County','',600,300)" style="cursor:pointer">
So can anyone help me in this?
Your help will surely appreciated.
Thanks in Advance!!!!!
Regards,
Arvind