0

Fisheye link to another page?

asked 2009-04-24 22:31:22 +0800

daniel5 gravatar image daniel5
9

I am trying to get a fisheye to become a link to another page so that when you click on the fisheye in the fisheyebar it takes you to another page.

Anyone know how I could do that?

Thanks!

delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2009-04-27 01:03:33 +0800

hideokidd gravatar image hideokidd
750 1 2

Hi,

Take zk demo as an example,

<fisheyebar id="fsb" style="position:absolute;margin:80px 150px;"
				attachEdge="top" itemWidth="80" itemHeight="80" itemMaxHeight="160" itemMaxWidth="160">
				<fisheye image="/img/.gif" label="Folder"
					onClick='Executions.sendRedirect("http://www.zkoss.org")' />
	</fisheyebar>

just overwrite the onClick event you can redirect to another page.

link publish delete flag offensive edit

answered 2009-04-27 02:28:09 +0800

daniel5 gravatar image daniel5
9

Ok, I tried doing that but I got this error message:

Method, setOnClick, not found for class org.zkoss.zkex.zul.Fisheye

Is there anything I need to do special besides just insert this new part of the code?

link publish delete flag offensive edit

answered 2009-04-27 02:33:56 +0800

hideokidd gravatar image hideokidd
750 1 2

Hi,

Weird,
I'm using zk 3.6.0 enterprise edition.
http://www.zkoss.org/download/zk.dsp#zk

link publish delete flag offensive edit

answered 2009-04-27 14:09:59 +0800

daniel5 gravatar image daniel5
9

Okay, I am using version 3.5.2, is there anyway to do this in this version?

link publish delete flag offensive edit

answered 2009-04-28 00:58:23 +0800

hideokidd gravatar image hideokidd
750 1 2

Hi,

Could you upgrade to professional or enterprise edition?

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: 2009-04-24 22:31:22 +0800

Seen: 264 times

Last updated: Apr 28 '09

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