我正在尝试使用Php桌面,到目前为止一切都很棒。 我怎么能够有一个按钮,使其进入全屏和外出(不仅最大化)。 有办法吗? 或者有没有办法在浏览器中启动应用程序?
答案 0 :(得分:2)
PHP桌面基本上使用浏览器(IE或Chrome)。因此,您可以使用Javascript全屏显示。像这样:
Hibernate:
select
ereturn0_.id as id1_1_0_,
user1_.id as id1_7_1_,
user2_.id as id1_7_2_,
user3_.id as id1_7_3_,
productite4_.id as id1_6_4_,
ereturn0_.barcode as barcode2_1_0_,
ereturn0_.carrier as carrier27_1_0_,
ereturn0_.consignee as consign28_1_0_,
ereturn0_.consigneeFirstName as consigne3_1_0_,
ereturn0_.consigneeLastName as consigne4_1_0_,
ereturn0_.creationtime as creation5_1_0_,
ereturn0_.disabled as disabled6_1_0_,
ereturn0_.dispatchedDate as dispatch7_1_0_,
ereturn0_.failedReturnPOBoxPrivateBag as failedRe8_1_0_,
ereturn0_.globalCondition as globalCo9_1_0_,
ereturn0_.globalId as globalI10_1_0_,
ereturn0_.groupName as groupNa11_1_0_,
ereturn0_.invoice as invoice12_1_0_,
ereturn0_.notes as notes13_1_0_,
ereturn0_.pickupDateTime as pickupD14_1_0_,
ereturn0_.pickupDateTimeOffset as pickupD15_1_0_,
ereturn0_.pieces as pieces16_1_0_,
ereturn0_.processedByShipper as process17_1_0_,
ereturn0_.reasonToReturn as reasonT18_1_0_,
ereturn0_.returnAction as returnA19_1_0_,
ereturn0_.returnMethod as returnM20_1_0_,
ereturn0_.returned as returne21_1_0_,
ereturn0_.rma as rma22_1_0_,
ereturn0_.scanDateTime as scanDat23_1_0_,
ereturn0_.shipper as shipper29_1_0_,
ereturn0_.status as status24_1_0_,
ereturn0_.trackingNumber as trackin25_1_0_,
ereturn0_.weight as weight26_1_0_,
user1_.accName as accName2_7_1_,
user1_.accNum as accNum3_7_1_,
user1_.address as address4_7_1_,
user1_.bankName as bankName5_7_1_,
user1_.branchName as branchNa6_7_1_,
user1_.bsb as bsb7_7_1_,
user1_.city as city8_7_1_,
user1_.contactNumber as contactN9_7_1_,
user1_.country as country10_7_1_,
user1_.disabled as disable11_7_1_,
user1_.email as email12_7_1_,
user1_.firstName as firstNa13_7_1_,
user1_.importEnabled as importE14_7_1_,
user1_.labelApiUrl as labelAp15_7_1_,
user1_.lastName as lastNam16_7_1_,
user1_.password as passwor17_7_1_,
user1_.pickupApiUrl as pickupA18_7_1_,
user1_.pobox as pobox19_7_1_,
user1_.postalcode as postalc20_7_1_,
user1_.secondContactNumber as secondC21_7_1_,
user1_.state as state22_7_1_,
user1_.type as type23_7_1_,
user1_.web as web24_7_1_,
user2_.accName as accName2_7_2_,
user2_.accNum as accNum3_7_2_,
user2_.address as address4_7_2_,
user2_.bankName as bankName5_7_2_,
user2_.branchName as branchNa6_7_2_,
user2_.bsb as bsb7_7_2_,
user2_.city as city8_7_2_,
user2_.contactNumber as contactN9_7_2_,
user2_.country as country10_7_2_,
user2_.disabled as disable11_7_2_,
user2_.email as email12_7_2_,
user2_.firstName as firstNa13_7_2_,
user2_.importEnabled as importE14_7_2_,
user2_.labelApiUrl as labelAp15_7_2_,
user2_.lastName as lastNam16_7_2_,
user2_.password as passwor17_7_2_,
user2_.pickupApiUrl as pickupA18_7_2_,
user2_.pobox as pobox19_7_2_,
user2_.postalcode as postalc20_7_2_,
user2_.secondContactNumber as secondC21_7_2_,
user2_.state as state22_7_2_,
user2_.type as type23_7_2_,
user2_.web as web24_7_2_,
user3_.accName as accName2_7_3_,
user3_.accNum as accNum3_7_3_,
user3_.address as address4_7_3_,
user3_.bankName as bankName5_7_3_,
user3_.branchName as branchNa6_7_3_,
user3_.bsb as bsb7_7_3_,
user3_.city as city8_7_3_,
user3_.contactNumber as contactN9_7_3_,
user3_.country as country10_7_3_,
user3_.disabled as disable11_7_3_,
user3_.email as email12_7_3_,
user3_.firstName as firstNa13_7_3_,
user3_.importEnabled as importE14_7_3_,
user3_.labelApiUrl as labelAp15_7_3_,
user3_.lastName as lastNam16_7_3_,
user3_.password as passwor17_7_3_,
user3_.pickupApiUrl as pickupA18_7_3_,
user3_.pobox as pobox19_7_3_,
user3_.postalcode as postalc20_7_3_,
user3_.secondContactNumber as secondC21_7_3_,
user3_.state as state22_7_3_,
user3_.type as type23_7_3_,
user3_.web as web24_7_3_,
productite4_.disabled as disabled2_6_4_,
productite4_.ereturn as ereturn18_6_4_,
productite4_.expirationDate as expirati3_6_4_,
productite4_.feedback as feedback4_6_4_,
productite4_.forward as forward5_6_4_,
productite4_.groupName as groupNam6_6_4_,
productite4_.location as location7_6_4_,
productite4_.lotNumber as lotNumbe8_6_4_,
productite4_.lotReceivedDate as lotRecei9_6_4_,
productite4_.lotStatus as lotStat10_6_4_,
productite4_.notes as notes11_6_4_,
productite4_.price as price12_6_4_,
productite4_.processed as process13_6_4_,
productite4_.product as product19_6_4_,
productite4_.quantity as quantit14_6_4_,
productite4_.quarantine as quarant15_6_4_,
productite4_.reserve as reserve16_6_4_,
productite4_.returnAction as returnA17_6_4_,
productite4_.ereturn as ereturn18_6_0__,
productite4_.id as id1_6_0__
from
ereturn ereturn0_
inner join
user user1_
on ereturn0_.shipper=user1_.id
inner join
user user2_
on ereturn0_.carrier=user2_.id
inner join
user user3_
on ereturn0_.consignee=user3_.id
inner join
product_item productite4_
on ereturn0_.id=productite4_.ereturn
where
ereturn0_.disabled=?
and (
ereturn0_.scanDateTime is not null
)
and ereturn0_.status=?
Hibernate:
select
productdef0_.id as id1_5_0_,
productdef0_.description as descript2_5_0_,
productdef0_.disabled as disabled3_5_0_,
productdef0_.height as height4_5_0_,
productdef0_.hsCode as hsCode5_5_0_,
productdef0_.length as length6_5_0_,
productdef0_.productNumber as productN7_5_0_,
productdef0_.serialNumber as serialNu8_5_0_,
productdef0_.shipper as shipper12_5_0_,
productdef0_.sku as sku9_5_0_,
productdef0_.weight as weight10_5_0_,
productdef0_.width as width11_5_0_,
user1_.id as id1_7_1_,
user1_.accName as accName2_7_1_,
user1_.accNum as accNum3_7_1_,
user1_.address as address4_7_1_,
user1_.bankName as bankName5_7_1_,
user1_.branchName as branchNa6_7_1_,
user1_.bsb as bsb7_7_1_,
user1_.city as city8_7_1_,
user1_.contactNumber as contactN9_7_1_,
user1_.country as country10_7_1_,
user1_.disabled as disable11_7_1_,
user1_.email as email12_7_1_,
user1_.firstName as firstNa13_7_1_,
user1_.importEnabled as importE14_7_1_,
user1_.labelApiUrl as labelAp15_7_1_,
user1_.lastName as lastNam16_7_1_,
user1_.password as passwor17_7_1_,
user1_.pickupApiUrl as pickupA18_7_1_,
user1_.pobox as pobox19_7_1_,
user1_.postalcode as postalc20_7_1_,
user1_.secondContactNumber as secondC21_7_1_,
user1_.state as state22_7_1_,
user1_.type as type23_7_1_,
user1_.web as web24_7_1_
from
product_definition productdef0_
left outer join
user user1_
on productdef0_.shipper=user1_.id
where
productdef0_.id=?
Hibernate:
select
productdef0_.id as id1_5_0_,
productdef0_.description as descript2_5_0_,
productdef0_.disabled as disabled3_5_0_,
productdef0_.height as height4_5_0_,
productdef0_.hsCode as hsCode5_5_0_,
productdef0_.length as length6_5_0_,
productdef0_.productNumber as productN7_5_0_,
productdef0_.serialNumber as serialNu8_5_0_,
productdef0_.shipper as shipper12_5_0_,
productdef0_.sku as sku9_5_0_,
productdef0_.weight as weight10_5_0_,
productdef0_.width as width11_5_0_,
user1_.id as id1_7_1_,
user1_.accName as accName2_7_1_,
user1_.accNum as accNum3_7_1_,
user1_.address as address4_7_1_,
user1_.bankName as bankName5_7_1_,
user1_.branchName as branchNa6_7_1_,
user1_.bsb as bsb7_7_1_,
user1_.city as city8_7_1_,
user1_.contactNumber as contactN9_7_1_,
user1_.country as country10_7_1_,
user1_.disabled as disable11_7_1_,
user1_.email as email12_7_1_,
user1_.firstName as firstNa13_7_1_,
user1_.importEnabled as importE14_7_1_,
user1_.labelApiUrl as labelAp15_7_1_,
user1_.lastName as lastNam16_7_1_,
user1_.password as passwor17_7_1_,
user1_.pickupApiUrl as pickupA18_7_1_,
user1_.pobox as pobox19_7_1_,
user1_.postalcode as postalc20_7_1_,
user1_.secondContactNumber as secondC21_7_1_,
user1_.state as state22_7_1_,
user1_.type as type23_7_1_,
user1_.web as web24_7_1_
from
product_definition productdef0_
left outer join
user user1_
on productdef0_.shipper=user1_.id
where
productdef0_.id=?
Hibernate:
select
productdef0_.id as id1_5_0_,
productdef0_.description as descript2_5_0_,
productdef0_.disabled as disabled3_5_0_,
productdef0_.height as height4_5_0_,
productdef0_.hsCode as hsCode5_5_0_,
productdef0_.length as length6_5_0_,
productdef0_.productNumber as productN7_5_0_,
productdef0_.serialNumber as serialNu8_5_0_,
productdef0_.shipper as shipper12_5_0_,
productdef0_.sku as sku9_5_0_,
productdef0_.weight as weight10_5_0_,
productdef0_.width as width11_5_0_,
user1_.id as id1_7_1_,
user1_.accName as accName2_7_1_,
user1_.accNum as accNum3_7_1_,
user1_.address as address4_7_1_,
user1_.bankName as bankName5_7_1_,
user1_.branchName as branchNa6_7_1_,
user1_.bsb as bsb7_7_1_,
user1_.city as city8_7_1_,
user1_.contactNumber as contactN9_7_1_,
user1_.country as country10_7_1_,
user1_.disabled as disable11_7_1_,
user1_.email as email12_7_1_,
user1_.firstName as firstNa13_7_1_,
user1_.importEnabled as importE14_7_1_,
user1_.labelApiUrl as labelAp15_7_1_,
user1_.lastName as lastNam16_7_1_,
user1_.password as passwor17_7_1_,
user1_.pickupApiUrl as pickupA18_7_1_,
user1_.pobox as pobox19_7_1_,
user1_.postalcode as postalc20_7_1_,
user1_.secondContactNumber as secondC21_7_1_,
user1_.state as state22_7_1_,
user1_.type as type23_7_1_,
user1_.web as web24_7_1_
from
product_definition productdef0_
left outer join
user user1_
on productdef0_.shipper=user1_.id
where
productdef0_.id=?
Hibernate:
select
productdef0_.id as id1_5_0_,
productdef0_.description as descript2_5_0_,
productdef0_.disabled as disabled3_5_0_,
productdef0_.height as height4_5_0_,
productdef0_.hsCode as hsCode5_5_0_,
productdef0_.length as length6_5_0_,
productdef0_.productNumber as productN7_5_0_,
productdef0_.serialNumber as serialNu8_5_0_,
productdef0_.shipper as shipper12_5_0_,
productdef0_.sku as sku9_5_0_,
productdef0_.weight as weight10_5_0_,
productdef0_.width as width11_5_0_,
user1_.id as id1_7_1_,
user1_.accName as accName2_7_1_,
user1_.accNum as accNum3_7_1_,
user1_.address as address4_7_1_,
user1_.bankName as bankName5_7_1_,
user1_.branchName as branchNa6_7_1_,
user1_.bsb as bsb7_7_1_,
user1_.city as city8_7_1_,
user1_.contactNumber as contactN9_7_1_,
user1_.country as country10_7_1_,
user1_.disabled as disable11_7_1_,
user1_.email as email12_7_1_,
user1_.firstName as firstNa13_7_1_,
user1_.importEnabled as importE14_7_1_,
user1_.labelApiUrl as labelAp15_7_1_,
user1_.lastName as lastNam16_7_1_,
user1_.password as passwor17_7_1_,
user1_.pickupApiUrl as pickupA18_7_1_,
user1_.pobox as pobox19_7_1_,
user1_.postalcode as postalc20_7_1_,
user1_.secondContactNumber as secondC21_7_1_,
user1_.state as state22_7_1_,
user1_.type as type23_7_1_,
user1_.web as web24_7_1_
from
product_definition productdef0_
left outer join
user user1_
on productdef0_.shipper=user1_.id
where
productdef0_.id=?
Hibernate:
select
productdef0_.id as id1_5_0_,
productdef0_.description as descript2_5_0_,
productdef0_.disabled as disabled3_5_0_,
productdef0_.height as height4_5_0_,
productdef0_.hsCode as hsCode5_5_0_,
productdef0_.length as length6_5_0_,
productdef0_.productNumber as productN7_5_0_,
productdef0_.serialNumber as serialNu8_5_0_,
productdef0_.shipper as shipper12_5_0_,
productdef0_.sku as sku9_5_0_,
productdef0_.weight as weight10_5_0_,
productdef0_.width as width11_5_0_,
user1_.id as id1_7_1_,
user1_.accName as accName2_7_1_,
user1_.accNum as accNum3_7_1_,
user1_.address as address4_7_1_,
user1_.bankName as bankName5_7_1_,
user1_.branchName as branchNa6_7_1_,
user1_.bsb as bsb7_7_1_,
user1_.city as city8_7_1_,
user1_.contactNumber as contactN9_7_1_,
user1_.country as country10_7_1_,
user1_.disabled as disable11_7_1_,
user1_.email as email12_7_1_,
user1_.firstName as firstNa13_7_1_,
user1_.importEnabled as importE14_7_1_,
user1_.labelApiUrl as labelAp15_7_1_,
user1_.lastName as lastNam16_7_1_,
user1_.password as passwor17_7_1_,
user1_.pickupApiUrl as pickupA18_7_1_,
user1_.pobox as pobox19_7_1_,
user1_.postalcode as postalc20_7_1_,
user1_.secondContactNumber as secondC21_7_1_,
user1_.state as state22_7_1_,
user1_.type as type23_7_1_,
user1_.web as web24_7_1_
from
product_definition productdef0_
left outer join
user user1_
on productdef0_.shipper=user1_.id
where
productdef0_.id=?
Hibernate:
select
productdef0_.id as id1_5_0_,
productdef0_.description as descript2_5_0_,
productdef0_.disabled as disabled3_5_0_,
productdef0_.height as height4_5_0_,
productdef0_.hsCode as hsCode5_5_0_,
productdef0_.length as length6_5_0_,
productdef0_.productNumber as productN7_5_0_,
productdef0_.serialNumber as serialNu8_5_0_,
productdef0_.shipper as shipper12_5_0_,
productdef0_.sku as sku9_5_0_,
productdef0_.weight as weight10_5_0_,
productdef0_.width as width11_5_0_,
user1_.id as id1_7_1_,
user1_.accName as accName2_7_1_,
user1_.accNum as accNum3_7_1_,
user1_.address as address4_7_1_,
user1_.bankName as bankName5_7_1_,
user1_.branchName as branchNa6_7_1_,
user1_.bsb as bsb7_7_1_,
user1_.city as city8_7_1_,
user1_.contactNumber as contactN9_7_1_,
user1_.country as country10_7_1_,
user1_.disabled as disable11_7_1_,
user1_.email as email12_7_1_,
user1_.firstName as firstNa13_7_1_,
user1_.importEnabled as importE14_7_1_,
user1_.labelApiUrl as labelAp15_7_1_,
user1_.lastName as lastNam16_7_1_,
user1_.password as passwor17_7_1_,
user1_.pickupApiUrl as pickupA18_7_1_,
user1_.pobox as pobox19_7_1_,
user1_.postalcode as postalc20_7_1_,
user1_.secondContactNumber as secondC21_7_1_,
user1_.state as state22_7_1_,
user1_.type as type23_7_1_,
user1_.web as web24_7_1_
from
product_definition productdef0_
left outer join
user user1_
on productdef0_.shipper=user1_.id
where
productdef0_.id=?
有关详细信息,请参阅:https://developers.google.com/web/fundamentals/native-hardware/fullscreen/
答案 1 :(得分:2)
PHP桌面在“window.phpdesktop”对象下公开API到javascript。要全屏调用phpdesktop.ToggleFullscreen()
,请撤消再次调用。
参见示例:
参见文档: