Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:37

Limiting the drag drop area


Poster: jptilkes
Dated: Friday July 29 2005 - 16:22:29 BST

Is their a way to limit the area that a user can drag and drop the menu?

I am creating a portal page for our Intranet and would like to be able to limit where on the screen they can place portals. i.e. I want to prevent them from placing the portals over the Main menu or over some other important information.

Obviously I plan to use the menu to generate the portals.

Thanks


Poster: kevin3442
Dated: Saturday July 30 2005 - 1:11:47 BST

No method that I'm aware of. If the menu can be dragged, then it can be dragged anywhere within its container. I suppose you could try defining an iframe on the page (no visible borders or scroll), then place the menu within the iframe. When the menu hits a border of the iframe, it would get clipped (a visual clue to stop dragging it).

Cheers,

Kevin

Thanks


Poster: jptilkes
Dated: Tuesday August 2 2005 - 14:12:12 BST

Thanks, the iframe solution might actually work for me. I plan on using iframes for other parts of the site so adding one to the portal page would not be difficult.

Thanks