我有一个具有名称的数据库,我想在名称空间后使用PHP替换,数据示例:
$x="Laura Smith";
$y="John. Smith"
$z="John Doe";
Run Code Online (Sandbox Code Playgroud)
我想要它回来
Laura
John.
John
Run Code Online (Sandbox Code Playgroud) 无论如何使用Titanium Appcelerator来使用百分比.用于流体和响应设计; 否则看起来我会为所有设备的IF ELSE语句而烦恼!
原始代码
WebViewWindow=Titanium.UI.createWebView({
html:globalHTMLHeadert,
visible:true,
width:100%, //note I have tried also "100%" with/out comma
left:0,
bottom:30%,
zIndex:400
});
Run Code Online (Sandbox Code Playgroud)
我想要
WebViewWindow=Titanium.UI.createWebView({
html:globalHTMLHeadert,
visible:true,
width:320,
left:0,
bottom:150,
zIndex:400
});
Run Code Online (Sandbox Code Playgroud)