Hi Emmanuele,
I think there's a better way. If your goal is just to center the menu, then you can remove the left property altogether and use the screenposition property instead (see code below). Otherwise, you can combine screenposition with a left offset from center using the left property ...
Search found 11 matches
- Mon Nov 06, 2006 11:43 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Conditional positioning of Milonic scrolling menu
- Replies: 10
- Views: 30692
- Fri Nov 03, 2006 11:58 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Conditional positioning of Milonic scrolling menu
- Replies: 10
- Views: 30692
If you could describe in some detail how you want to position the menu in response to the window size changing, we might have a better solution.
The situation is quite simple. A part of my site is built in plain HTML jsp, while another part is hosted on a Infoglue CMS instance running on the very ...
The situation is quite simple. A part of my site is built in plain HTML jsp, while another part is hosted on a Infoglue CMS instance running on the very ...
- Fri Nov 03, 2006 12:27 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Conditional positioning of Milonic scrolling menu
- Replies: 10
- Views: 30692
- Wed Nov 01, 2006 9:57 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Conditional positioning of Milonic scrolling menu
- Replies: 10
- Views: 30692
Conditional positioning of Milonic scrolling menu
Here's a (probably) better version of the code snippet:
<script type="text/javascript">
var myWidth = 0;
if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
myWidth = window.innerWidth;
} else if( document.documentElement && ( document.documentElement.clientWidth || document ...
<script type="text/javascript">
var myWidth = 0;
if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
myWidth = window.innerWidth;
} else if( document.documentElement && ( document.documentElement.clientWidth || document ...
- Wed Nov 01, 2006 9:50 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Conditional positioning of Milonic scrolling menu
- Replies: 10
- Views: 30692
Conditional positioning of Milonic scrolling menu
Depending on the language in which you're writing the page - yes
I am writing either in plain HTML or JSP. But I don't think it matters that much.
Therefore, you can place corresponding statements/functions into the _data file to get what you need.
Hmm... I think I didn't understand the above ...
I am writing either in plain HTML or JSP. But I don't think it matters that much.
Therefore, you can place corresponding statements/functions into the _data file to get what you need.
Hmm... I think I didn't understand the above ...
- Wed Nov 01, 2006 7:36 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Conditional positioning of Milonic scrolling menu
- Replies: 10
- Views: 30692
Conditional positioning of Milonic scrolling menu
Dear all,
is it possible to conditionally set the x coordinate ("left=x") of the DHTML scrolling menu depending on the context, i.e. on the kind of page it appears in or the current screen resolution?
What I'm seeking here is the equivalent of a statement such as the following:
if (condition ...
is it possible to conditionally set the x coordinate ("left=x") of the DHTML scrolling menu depending on the context, i.e. on the kind of page it appears in or the current screen resolution?
What I'm seeking here is the equivalent of a statement such as the following:
if (condition ...
- Sun Oct 29, 2006 10:16 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Integrating Milonic menu into Infoglue CMS templates
- Replies: 0
- Views: 4042
Integrating Milonic menu into Infoglue CMS templates
Dear Milonic tech support (and fellow forum members),
here's a problem I'm having with Milonic DHTML menu (rolling version), of which I have used version 5.723 for a while without the slightest problem.
Now I am using a full-fledged CMS application for a section of my website: it is running on the ...
here's a problem I'm having with Milonic DHTML menu (rolling version), of which I have used version 5.723 for a while without the slightest problem.
Now I am using a full-fledged CMS application for a section of my website: it is running on the ...
- Mon May 16, 2005 8:40 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Scroll-following menu not working on IE 6.0
- Replies: 8
- Views: 5946
- Sun May 15, 2005 10:47 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Scroll-following menu not working on IE 6.0
- Replies: 8
- Views: 5946
I'm not sure what you mean by my homepage not working correctly, I don't have a menu on my home page
I mean that Milonic's homepage ( http://www.milonic.com ) has a menu on top with a lot of cascading menu items. On my PC, the latter do not show up on IE while they do in Firefox; therefore, I end ...
I mean that Milonic's homepage ( http://www.milonic.com ) has a menu on top with a lot of cascading menu items. On my PC, the latter do not show up on IE while they do in Firefox; therefore, I end ...
- Sun May 15, 2005 9:41 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Scroll-following menu not working on IE 6.0
- Replies: 8
- Views: 5946
- Sat May 14, 2005 7:00 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Scroll-following menu not working on IE 6.0
- Replies: 8
- Views: 5946
Scroll-following menu not working on IE 6.0
Hi all,
I'm using the scroll-following version of the Milonic Menu (latest version). For some reason, it works fine on Mozilla Firefox but not on IE (rel. 6.0.2800.1106.xpsp2.021108-1929 under Windows), at least on my PC, where submenu items are not displayed on some pages.
Here's the actual ...
I'm using the scroll-following version of the Milonic Menu (latest version). For some reason, it works fine on Mozilla Firefox but not on IE (rel. 6.0.2800.1106.xpsp2.021108-1929 under Windows), at least on my PC, where submenu items are not displayed on some pages.
Here's the actual ...