-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all,
can i add/remove a META-Tag from one zul to another? In my iphone App it is principle not allowed to zoom. I set the Meta-Tag in index.zul
<?meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.5, user-scalable=no" ?>
but when i show a zul-File with a pdf then i will aktivate the zoom only for this zul-File
<?meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.5, user-scalable=yes" ?>
When i close this zul-File then the zoom must be deaktivated again.
Any ideas?
Regards Andi
In der Version zk 6.5 it is possible to set the META-Tag per zul-File, but it does not work!
i set the property in the zk.xml
<library-property> <name>org.zkoss.zul.tablet.meta.viewport.disabled</name> <value>true</value> </library-property>
and the META-Tag as described above
Can anyone help me? What am I doing wrong?
Regards Andi
Asked: 2012-09-03 11:51:32 +0800
Seen: 133 times
Last updated: Aug 01 '13