Search found 20 matches

by krogstrup
Mon Apr 04, 2005 6:15 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Problems with "click" area for menus
Replies: 2
Views: 2526

Im using IE 6 on WinXP
by krogstrup
Sun Apr 03, 2005 8:15 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Problems with "click" area for menus
Replies: 2
Views: 2526

Problems with "click" area for menus

Hi all

I have a strange problem, that actually occurs on all the sites where Im using the milonic menu.

For example this one:
http://www.dansprint.com/1/1/the-ergometer.html

When moving the cursor over the milonic menu (top menu), the menus doesnt get "active" before the cursor is 10-15 pixels ...
by krogstrup
Mon Feb 07, 2005 5:10 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Problems upgrading from 5.63 to 5.7
Replies: 9
Views: 5879

hehe - that site was created before I saw the light :-)

Here is our new website - based on Milonic - http://new.wkh.dk
by krogstrup
Mon Feb 07, 2005 7:46 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Problems upgrading from 5.63 to 5.7
Replies: 9
Views: 5879

Yep - I closed down my test-site since the problem got solved !

:-)
by krogstrup
Fri Feb 04, 2005 12:03 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Problems upgrading from 5.63 to 5.7
Replies: 9
Views: 5879

Hi John

That solved my problem !

Thanks a lot :D

Regards

David
by krogstrup
Thu Feb 03, 2005 9:41 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Problems upgrading from 5.63 to 5.7
Replies: 9
Views: 5879

Problems upgrading from 5.63 to 5.7

I´ve used Milonic dhtml menu version 5.63 on lots of sites. Im using the same site every time Im creating a new site. Until now I´ve just bought a new license, downloaded the zipfile and replaced the following 3 files in my website, to update the license:

milonic_src.js
mmenudom.js
mmenuns4.js ...
by krogstrup
Wed Dec 22, 2004 11:26 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: How to hide and show menu through javascript
Replies: 9
Views: 10050

Hi Kewin

Maybe we are misunderstandig eachother because I´ve forgotten to mention something very important.

The websites I produce is delivered with a content management system. This means that my customers manage the top Main Menu them self. This means that they can add pages and remove pages ...
by krogstrup
Wed Dec 22, 2004 8:53 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: How to hide and show menu through javascript
Replies: 9
Views: 10050

Hi Kevin

Thanks again for your very impressive answer - Im very greatfull for your well-explained answer !

Both your solution 1 and 2 works great :-) I think I´ll stick to solution 1 - very easy to implement...

But your comments on using screenposition and left:offset to solve my problem doesnt ...
by krogstrup
Wed Dec 22, 2004 2:01 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: How to hide and show menu through javascript
Replies: 9
Views: 10050

Hi again

You can see an example here:

http://www.cmspartner.dk
by krogstrup
Wed Dec 22, 2004 1:58 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: How to hide and show menu through javascript
Replies: 9
Views: 10050

Hi Kewin

Thanks for your answer - it works great :-)

But I found out that this solution doesnt solve my problem.

I have made a script that dynamically returns the left position af my menu. I have done this because my design is centered in the browser, so I need my menu to be positioned correctly ...
by krogstrup
Mon Dec 20, 2004 9:33 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: How to hide and show menu through javascript
Replies: 9
Views: 10050

My code should have been:

Code: Select all

function mm_showMenu() { 
   menuDisplay(gmobj("menu0"),1);
} 

function mm_hideMenu() { 
   menuDisplay(gmobj("menu0"),0);
}
But it still doesnt work ?!?
by krogstrup
Mon Dec 20, 2004 9:24 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: How to hide and show menu through javascript
Replies: 9
Views: 10050

How to hide and show menu through javascript

Hi

I need to do this:

1) drawMenus()
2) hideMenu
3) change position of menu
4) showMenu

I have made 2 functions for this purpose:

mm_showMenu() {
menuDisplay(gmobj("menu0"),1)
}

mm_hideMenu() {
menuDisplay(gmobj("menu0"),0)
}

My problem is that I cant seem to make the menu appear again ...
by krogstrup
Sun Oct 24, 2004 8:50 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: How do I position the MainMenu using a javascript function ?
Replies: 10
Views: 7106

aaaaaaah - got it :-)

I need to specify this for my Main Menus subs:

Code: Select all

top="offset=20";
left="offset=20";[code]
by krogstrup
Sun Oct 24, 2004 8:46 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: How do I position the MainMenu using a javascript function ?
Replies: 10
Views: 7106

I can see that subOffsetTop and subOffsetLeft is used to offset positions of subs to my subs.

But how do I offset the subs to my Main Menu ?
by krogstrup
Sun Oct 24, 2004 8:39 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: How do I position the MainMenu using a javascript function ?
Replies: 10
Views: 7106

hmmm - now I have a new problem :-(

When I try to offset the position of my subs it doesn´t work.

I´m trying this:

_subOffsetTop=20 // Sub menu top offset
_subOffsetLeft=20 // Sub menu left offset

but my subs stil shows positioned offsetTop:0 and offsetLeft:0

What am I doing wrong ?
by krogstrup
Sun Oct 24, 2004 8:07 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: How do I position the MainMenu using a javascript function ?
Replies: 10
Views: 7106

YEAH - finally :-)

Here is the solution:

function setLeftPosOfMainMenu(intLeftPos) {
spos(gmobj("menu" + getMenuByName("Main Menu")),null,intLeftPos,null,null);
}

setLeftPosOfMainMenu(findMenuLeftStart());

and to make sure the menu follows if the user resizes the window:

<body onResize ...
by krogstrup
Sun Oct 24, 2004 7:31 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: How do I position the MainMenu using a javascript function ?
Replies: 10
Views: 7106

I´ve looked at these two pages:

http://www.milonic.com/menu_methods.php (spos function)
http://forum.milonic.com/viewtopic. ... spos+gmobj (example of how to use spos function)

But I can´t seem to make it work ?!?

I´ve tryed this:

drawMenus();
spos(gmobj("Main Menu"),null,121,null,null);

to ...
by krogstrup
Sun Oct 24, 2004 6:55 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: How do I position the MainMenu using a javascript function ?
Replies: 10
Views: 7106

This is my problem:

The browser is 100% in width
My design is 760 pixels in width
My design is centered in the browser

I need the main menu to be positioned left BUT within my design area.

Here are a few examples of how different browser window sizes would affect the start position of my main ...
by krogstrup
Sat Oct 23, 2004 11:12 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: How do I position the MainMenu using a javascript function ?
Replies: 10
Views: 7106

Hi maz

I´m not sure I understand what you´re saying....?!?

How would that work ?
by krogstrup
Sat Oct 23, 2004 10:46 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: How do I position the MainMenu using a javascript function ?
Replies: 10
Views: 7106

How do I position the MainMenu using a javascript function ?

My website design is centered in the browser and I would like to dynamically set the LEFT position of the main menu by using a javascript function.

My function looks like this:

var ie4_check = (document.all && !document.getElementById) ? true : false;
var ie5_check = (document.all && document ...