Skip to main content

dojo fisheye bug, consistent

3 replies [Last post]
a_laksmana
Offline
Joined: 2007-11-01

Try putting the current page as the last href item in the fisheye. The dojo fisheye will cease to function.

Let's say your current page is user.jsp; putting the menu below will make clicking the fisheye useless.

However, if you remove the user.jsp item; it will work.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31

Hi,

Actually your quotes are a little off. Try this:

value="[
{href : './team.jsp', iconSrc:'https://ajax.dev.java.net/images/chinnici.jpg', label : 'team'},
{href : './shift.jsp', iconSrc:'https://ajax.dev.java.net/images/chinnici.jpg', label : 'shift'},
{href : './clock.jsp', iconSrc:'https://ajax.dev.java.net/images/chinnici.jpg', label : 'clock'},
{href : './user.jsp', iconSrc:'https://ajax.dev.java.net/images/chinnici.jpg', label : 'user'}
]"
/>

-G

a_laksmana
Offline
Joined: 2007-11-01

Thanks for your reply Greg.

I tried putting the full image url as you suggested; But that does not fix it.
You can try clicking any of the items, the page will refresh but always displays user.jsp instead of going to its specified href. For example, clicking the shift item will bring me to user.jsp instead of shift.jsp. The same with every items in the fisheye

However, if you move the user item to the front; it will work. For example if currentpage is user.jsp:

value="[
[b]{href : './user.jsp', iconSrc:'../images/user.jpg', label : 'user'},[/b]
{href : './team.jsp', iconSrc:'../images/team.jpg', label : 'team'},
{href : './shift.jsp', iconSrc:'../images/shift.jpg', label : 'shift'},
{href : './clock.jsp', iconSrc:'../images/clock.jpg', label : 'clock'}
]"
/>

But the moment you put it back as the last item, the menu won't work

Message was edited by: a_laksmana

Message was edited by: a_laksmana

a_laksmana
Offline
Joined: 2007-11-01