0

Change Meta-Tag on run-time

asked 2012-09-03 11:51:32 +0800

andij62 gravatar image andij62
303 1 7

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

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2012-09-06 09:58:31 +0800

andij62 gravatar image andij62
303 1 7

Hi all,

have anyone an idea and can help me?

Regard Andi

link publish delete flag offensive edit

answered 2012-10-15 17:19:12 +0800

andij62 gravatar image andij62
303 1 7

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

link publish delete flag offensive edit

answered 2013-08-01 01:47:16 +0800

paowang gravatar image paowang
140 6

check this: http://books.zkoss.org/wiki/ZUMLReference/ZUML/ProcessingInstructions/meta

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-09-03 11:51:32 +0800

Seen: 129 times

Last updated: Aug 01 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More