Search found 9 matches

by Joseph
Wed Mar 29, 2006 10:53 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Popup() and right alignment
Replies: 21
Views: 15590

Hi Ruth,

Thank you for the idea - it definitely works, great workaround. I am going to use another absolutely positioned empty image as an anchor for a menu rather then one wide image, but I would not have thought of it myself.


<div class="contentcap">
<img src="ghost.gif" name="mmanchor" id ...
by Joseph
Tue Mar 28, 2006 4:13 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Popup() and right alignment
Replies: 21
Views: 15590

Hi Ruth,

I am sorry you are getting lost. I don't know whether you looked at the initial example I provided or not, but I thought it was pretty clear and had the source included. I was wrong apparently.

So I will try again.
First of all, what I am trying to achieve. I provided the simplified code ...
by Joseph
Mon Mar 27, 2006 12:44 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Popup() and right alignment
Replies: 21
Views: 15590

Michael,


don´t know about the existence of any property like
"collision menu applied custom offsets."


of course there is no such property

Sorry, English is not my mother tongue. Let me rephrase

...it would be much better if the menu
1) applied custom offsets (i.e. left="offset=-150")
2 ...
by Joseph
Mon Mar 27, 2006 12:35 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Popup() and right alignment
Replies: 21
Views: 15590

Ruth,

somewhere in the menu Javascript code there has to be something like

1) if (MyRightEdge is greater then window width) AND (ignore collisions is false) then MyLeftEdge=(window width - MyWidth).

I suspect MyRightEdge above is calculated before applying offsets.
2) if customOffset is defined ...
by Joseph
Mon Mar 27, 2006 11:08 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Popup() and right alignment
Replies: 21
Views: 15590

Thank you for advice, Ruth. I hope, we can live with divs for now - would be too complicated to get rid of them. Looks like in our case it works in the main browsers.

It turns out though there is still a problem. When collision detection is off, submenus (which do not have ignoreCollisions = true ...
by Joseph
Fri Mar 24, 2006 5:32 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Popup() and right alignment
Replies: 21
Views: 15590

Hi vikenk,

Thank you very much for that! Seems to have fixed the problem. Actually I tried to use it before in popup() function itself but probably did it incorrectly.
Apparently the code checks for collision before applying user offsets. Not a problem since I now know about it. Hope real life ...
by Joseph
Fri Mar 24, 2006 12:18 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Popup() and right alignment
Replies: 21
Views: 15590

Ruth,

I tried that before. The funny thing is - it sort of works but not as I expect it to.


<div style="align:right;margin:20px;">
<a href=# onmouseover="popup('milonic','milonicmenu')" onmouseout="popdown()">
<font size="3" color="green">Milonic</font>
<img src="arrow.gif" border="1" name ...
by Joseph
Fri Mar 24, 2006 10:56 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Popup() and right alignment
Replies: 21
Views: 15590

Hi Ruth,

Thank you for your response.
If you put your example into a div like that:


<div align="right">
<img src="transparent.gif" border="1" name="milonicmenu" id="milonicmenu">
<a href=# onmouseover="popup('milonic','milonicmenu',50,-350)" onmouseout="popdown()"><font size="3" color="green ...
by Joseph
Thu Mar 23, 2006 5:29 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Popup() and right alignment
Replies: 21
Views: 15590

Popup() and right alignment

Hi!

I am evaluating menu v.5 (build 744) and struggling with the following problem. We display the menu on mouseover for the image using popup(). When the image is right-aligned, menu is displayed at the page (or frame in our case) edge and no horizontal offset can move it to the left! Vertical ...