0

Overlapping graphics - possible ?

asked 2011-01-31 04:41:25 +0800

ForumGuest gravatar image ForumGuest
150 1

updated 2011-01-31 05:04:13 +0800

Hello,

I want to place several status pictures over a background picture.
The background picture will show a business process picture, while the smaller images will show a status (just as a traffic light) or a small chart with information about the numbers of transactions of that underlying business process.

Here is an example: click here for example image
The grey business process is the background picture, the coloured images show the status of each step.

The problem is that I dont find the option to define x/y coordinates in the syntax of the image object.
It seems to be placed by the layout containers automatically (hlayout, vlayout etc.).
What I need is to define a x/y position of the image over the background image.

Is it possible with ZK standard edition to place several images onto different visual layers ?

Thanks in advance
Bernd

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2011-01-31 11:47:30 +0800

ForumGuest gravatar image ForumGuest
150 1

Is it possible to place several images on top of another picture using x/y positioning ?

Greetings
Bernd

link publish delete flag offensive edit

answered 2011-01-31 12:07:40 +0800

twiegand gravatar image twiegand
1807 3

Bernd,

To do what you want, try CSS positioning. One simple method to do this is to use margins like this:

<zk>
	<div style="background-image:url('http://www.eltercer.cat/english/food/fruit.jpg'); background-repeat:no-repeat;" vflex="true">
		<image src="http://t1.gstatic.com/images?q=tbn:ANd9GcTh5hw33e9KZAOsGT8cvFp2lNTrnk9am8HVSuzRumQny6oPUR4a" style="margin-left: 100px; margin-top: 50px;"/>
	</div>
</zk>

Maybe that will give you an idea...

Regards,

Todd

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: 2011-01-31 04:41:25 +0800

Seen: 413 times

Last updated: Jan 31 '11

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