Hello,
I'd like to have a small horizonal (2 px to the right) and vertical offset (8 px down) for the submenu items. How can I realize that?
Thanks for any working suggestions!
Regards,
Sebastian
submenu offset
Re: Submenu offset
the suboffset variables are overridden by the screen position or pixel location variables. You can always change the offset variables as well. If you need further assistance please provide a site where we can see the issue and mention of what browser you are using when you see it.
Thanks,
Yadin
Thanks,
Yadin
submenu offst
Hello,
you can have a look at http://www.claus.de/index.htm to see a prototype.
The submenu items should be below the blue bar.
Thanks for your help, regards,
Sebastian
By the way, i'm not: All about daryl@chem.ucsd.edu
My email-address is: sebastian.becker@berlin.de
you can have a look at http://www.claus.de/index.htm to see a prototype.
The submenu items should be below the blue bar.
Thanks for your help, regards,
Sebastian
By the way, i'm not: All about daryl@chem.ucsd.edu
My email-address is: sebastian.becker@berlin.de
submenu offset
Hi, Andy,
> You should be able to set Top and Left offsets with the following:
> "offset=8", // Top position
> "offset=-2", // Left position
but that's the offset for the main menu, isn't it?
And then there is suboffset_top and suboffset_left, but that's the offset of the subsubmenu, isn't it?
What I need is to influence the distance between the main menu items and all layers, which are invisible by default.
Cheers,
Sebastian
P.S.
I also have a feature request: In some cases (f.e. for external guestbooks) it may be useful to define a base URL to make all links absolute. This could easily be implemented by adding a variable. Maybe you could add this to future versions ...
> You should be able to set Top and Left offsets with the following:
> "offset=8", // Top position
> "offset=-2", // Left position
but that's the offset for the main menu, isn't it?
And then there is suboffset_top and suboffset_left, but that's the offset of the subsubmenu, isn't it?
What I need is to influence the distance between the main menu items and all layers, which are invisible by default.
Cheers,
Sebastian
P.S.
I also have a feature request: In some cases (f.e. for external guestbooks) it may be useful to define a base URL to make all links absolute. This could easily be implemented by adding a variable. Maybe you could add this to future versions ...
submenu offset
Hi, Andy,
so this is my menu ( test site: http://www.claus.de/index.htm ) :
addmenu(menu=[
"mainmenu",14,"offset=150",70,0,"left",style1,1,"left",0,0,1,0,,,0,0,,,,,
,"home"index.htm",,"Homepage",0
,"person", "show-menu=person",,"Zur Person",0
,"projects", "show-menu=projects",,"Projekte",0
,"partner", "show-menu=partner",,"Partner",0
,"contact", "show-menu=contact",,"Kontakt",0
,"guestbook", "guestbook/guestbook.php",,"Gästebuch",0
])
addmenu(menu=["person",,,90,1,,style2,0,"left",effect,0,,,,,,,,,,,
,"Zur Person","about_de.htm",,"Zur Person",1
,"Referenzen","references_de.htm",,"Referenzen",1
,"Bilder","pictures_de.htm",,"Bilder",1
,"Webcam","webcam_de.htm",,"Webcam",1
])
...
Now I have a problem getting a vertical offset of 9 px between the menus "mainmenu" and "person" and a vertical offset of 2 px for "person". Can you possibly tell me what to change?
As for the feature request, I've found another solution for me: I simply have two menu arrays now, one with relative links and another with absolute links for the guestbook.
Thanks for your great work and your help.
Regards from Berlin,
Sebastian
P.S.
Instead of your site the content of http://www.databasewatch.com was displayed today.
so this is my menu ( test site: http://www.claus.de/index.htm ) :
addmenu(menu=[
"mainmenu",14,"offset=150",70,0,"left",style1,1,"left",0,0,1,0,,,0,0,,,,,
,"home"index.htm",,"Homepage",0
,"person", "show-menu=person",,"Zur Person",0
,"projects", "show-menu=projects",,"Projekte",0
,"partner", "show-menu=partner",,"Partner",0
,"contact", "show-menu=contact",,"Kontakt",0
,"guestbook", "guestbook/guestbook.php",,"Gästebuch",0
])
addmenu(menu=["person",,,90,1,,style2,0,"left",effect,0,,,,,,,,,,,
,"Zur Person","about_de.htm",,"Zur Person",1
,"Referenzen","references_de.htm",,"Referenzen",1
,"Bilder","pictures_de.htm",,"Bilder",1
,"Webcam","webcam_de.htm",,"Webcam",1
])
...
Now I have a problem getting a vertical offset of 9 px between the menus "mainmenu" and "person" and a vertical offset of 2 px for "person". Can you possibly tell me what to change?
As for the feature request, I've found another solution for me: I simply have two menu arrays now, one with relative links and another with absolute links for the guestbook.
Thanks for your great work and your help.
Regards from Berlin,
Sebastian
P.S.
Instead of your site the content of http://www.databasewatch.com was displayed today.