Javascript help: Moveable by dragging

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
nm3210
Beginner
Beginner
Posts: 2
Joined: Mon Mar 13, 2006 7:32 pm
Contact:

Javascript help: Moveable by dragging

Post by nm3210 »

Now you guys look like some of the best people around in javascript through these menus and some of the menus do what I'm looking for.

I'm admin at MyriaFX.com and I have recently put up a Shoutbox in my forums that floats on the page much like one of your menus. I have used code from here and that is the basis of how my Shoutbox works right now; you can move it to the four corners and that's it. What I am wanting to do is make it dragable but I don't have much experience in javascript so I'm really at a loss of what to do. The position is based off of a target_x and target_y if that means anything. I just want a simple way to drag the menu around the window.

So to clarify once more I am looking for a way to change the attributes of target_x and target_y by dragging the window around, that's it; nothing else. I appreciate the help!
Image
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

Hello,

Sorry, this forum is a support forum for the Milonic Menu only. If you need JavaScript support try these internet newsgroups:

1) alt.comp.lang.javascript
2) comp.lang.javascript

You can either use a newsreader or go to Google.com and click on groups. Search for the above groups.

Hope this helps.
User avatar
nm3210
Beginner
Beginner
Posts: 2
Joined: Mon Mar 13, 2006 7:32 pm
Contact:

Post by nm3210 »

well sorry to bug ya guys, i just thought it would be nice to get some help even though i'm not following strict guidelines, thanks for the info, though!
Image
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

Not a problem. I think you'd be better off at one of those forums. Even though the people in this forum know the menu inplementation pretty well, I'm not sure there are any hardcore JavaScript-ers in here.

I can't write any JS myself, but I can usually figure out how to implement it pretty well.

Good luck.
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

just for fun

have a look there

http://www.javascripttoolbox.com/lib/dragiframe/


Michael
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi
I just want a simple way to drag the menu around the window.
So why don´t you look at this and make use of it ?
http://milonic.com/menusample22.php

Michael
Post Reply