 |
|
 |
I've spend ages trying to find a dock-menu example with dock-submenus that I can use for my website. I have not been able to find one yet but as this one looks fantastic and has a forum, I thought I ask the question... Is it possible to create a dock submenu, that, when you click on a dock-menu item, a dock-submenu with only pictures will appear from the menu item? Not sure if it can be done. If not possible, I can stop looking.....
|
|
|
|
 |
|
 |
Mmmmm... Good Question.
Teoretically It is possible (You need only to create a submenu object, something similar to the Ghost object).
The only problem is that I've no time to follow euDock Anymore and add new features.
I'm Sorry...
|
|
|
|
 |
|
 |
Not to worry. Do you mind me giving it a go by using your code as my template? I'm not very experienced in Java at all but I might figure it out. Do you have any pointers
|
|
|
|
 |
|
 |
You can use it as template if you want.
And I can Give You some advice to make it possible.
Or help You to write some javascript code.
The problem is that I've no time to debug it.
(My only computer is a Linux Machine, I cannot try it with IE 7-8-9)
|
|
|
|
 |
|
 |
That sounds great. I will start this weekend. Thanks for the offer. I'm sure I will need some assistance especially in the beginning.
|
|
|
|
 |
|
 |
Hi
It would be nice if you could do some tests to check compatibility with IE8.
Best regards
|
|
|
|
 |
|
 |
Mmmmm...
Currently I've only Linux machines available.
I'm sorry.
|
|
|
|
 |
|
 |
Hi
To bad, I'm getting some problems with IE8. I'm using two pictures, one for static and the other one for hover effect when passing the mouse. In IE8 the picture for static don't appears.
It would be nice if you could get a Virtual Machine with Windows.
Regards
|
|
|
|
 |
|
 |
I've tried at last with an IE8 installation.
http://eudock.jules.it
Works perfectly.
It has anyway static images (I.E. the icon with GNU).
Have you tried it?
Have you tried Your site with another Browser?
If it not works, try to send me your sources or a Link to your site.
|
|
|
|
 |
|
 |
Hi
I made tests on different machines and in one of them I got no problems.
Among the problems detected (there are no errors from the browser), when we hover the mouse in the menu the CPU goes to 80-90% and it's slow to react.
Then I realize that this was a security problem on IE8.
If I define my site as safe, everything works like it should be.
If anyone complains about IE8, this could be the answer.
Thanks again
|
|
|
|
 |
|
 |
Hello, I also got into some trouble with IE8. I figured out when there is a DoctypeDeclaration like
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
IE 8 only shows the hover image but not the initial one.
It only works in Quirksmode, but for cross-browser-compatibility of some other components i need to use strict/standard mode.
Is there any workaround?
Riepi
|
|
|
|
 |
|
 |
Unfortunately I don't touch javascript/HTML code since 2007 and I don't know Quirksmode or similar. I've also problems to debug it under windows/IE8.
So, currently there are no workarounds available.
I'm Sorry...
|
|
|
|
 |
|
|
 |
|
 |
Hi Pier
Finally I find you in the Web. First of all, very nice work, it's just 'fantastico'.
I'm using eudock has the main menu to my page asp.net application, however depending on login I want to change menu icons according to the user (change icons, or just disabling the ones I don't need). I think this should be possible using postback but I would like to do it without postback in my page.
I've been using your script like this:
<script type="text/javascript" language="javascript">
var dock = new euDock();
var ic_fichas;
var ic_relatorios;
var ic_prevencao;
var ic_login;
// I call this function in Body onLoad event
// Args has a list of icons I want to show
function eudock_load(args) {
...
// I check every icon according to my list
if (check_icon(args,"login") == true) {
// I add menu icon
ic_login = dock.addIcon( ...
}
if (check_icon(args,"fichas") == true) {
// I add menu icon
ic_fichas = dock.addIcon( ...
}
if (check_icon(args,"relatorios") == true) {
// I add menu icon
ic_relatorios = dock.addIcon( ...
}
...
}
// This works ok, but if I try to delete an icon, I got an error
function test_delete_icon() {
dock.delIcon(ic_login);
// Error says: 'dock' is a null or not an object
}
</script>
Can you tell me the best way to this without using postbacks to change Eudock menu.
Best regards
Quim
|
|
|
|
 |
|
 |
Hi Pier.
Some times we only find a solution afer we post the problem.
It's working already, for same how I got a problem with Ajax that's solved already.
I'm deleting all icons and create new ones without any problem.
Best regards
Quim
|
|
|
|
 |
|
 |
Ok, Thanks...
If You find other problems you can e-mail me to:
eudock@libero.it
|
|
|
|
 |
|
 |
Hi Pier,
Great script... has many more features than any other out there. I'm trying to use labels and hitting a roadblock. My labeled icons do not appear and I receive the following error:
window[ii] is not a constructor
http://127.0.0.1:8000/window/eudock2.0/js/euDock.2.0.js
Line 862
Here is my addIcon() call:
dock.addIcon(new Array({
euLabel: {
object: {
euImage: {
image: "eudock2.0/iconsEuDock/cube.png"
}
},
txt: "some text",
style: "text-align : center; border : 5px dashed #9Fb6b6;",
anchor: euDOWN,
offsetX: 0,
offsetY: 0
}
}), {
link: "http://www.google.ca"
});
Can you see anything on first glance?
|
|
|
|
 |
|
 |
Hi Jordan
Mmmm...
It seems that you don't have:
<script language="JavaScript1.3" src="eudock2.0/js/euDock.Label.js"></script>
In the header of your HTML page.
It is possible?
Every Feature is a separate object script.
Cheers...
Pier...
|
|
|
|
 |
|
 |
Pier,
Thank you so much for your quick response. I looked at it again with un-tired eyes this morning and realized that that was exactly the problem... my script path was incorrect. I was just about to post the answer but you beat me to it!
Thanks again for the great script. Keep up the great work.
|
|
|
|
 |
|
|
 |
|
 |
Hi.
I love this effect.
Really impressive.
Somebody knows an implementation of this in windows forms (.net framework) ??
|
|
|
|
 |
|
 |
Hello there,
I could not find a sample on how to implement the new optional targets you were referring to.
Could you post a sample or just a snippett?
Thanks and great job!
|
|
|
|
 |
|
|
 |
|
 |
it is so cute
i use u,r dock in my asp.net application,but i face problem when i want to generate a function for every click in the image button in the dock,when i use link to another page it work ,but when i call a function for the same page,it not work,and the dock disappear and give java script error.i use this code:
dock_5.addIcon(new Array({euImage:{image:"iconsEuDock/logup1.png"}}),
{mouseClick : function(x,y){alert("This is an Alert Window"););
this.mouseClick = function(x,y){
if (this.isAbsoluteInside(x,y)){
if (this.link)
{
if (this.target)
top.frames[this.target].location.href=this.link;
else
document.location.href=this.link;
}
else if (this.mouseInsideClick)
this.mouseInsideClick(x,y);
}
};
Ram Krishna Pattnayak
Software Developer(SDS)
Sun-Dew Solutions Pvt.Ltd
www.sundewsolutions.com
kolkata
|
|
|
|
 |
|
 |
Can you send me your sourcecode so can i test your script?
|
|
|
|
 |