Online Shopping : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 15 people (60%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

How can I drag a popup by declaring an area(onmousedown,onmousemove=move.popup) i.e. replacing the titlebar-drag

Apr 5th, 2008 19:07
ha mo, Colin Fraser, Jacques de Villiers Burke,


I am not sure this is possible, I have tried to get it to work but 
there are a number of issues that need be resolved.  
Firstly, to achieve a successful result, you need have no other mouse 
event on the page, no links, no nothing. 
Secondly, the drag event needs to work only on the onMousedown event, 
anything other than that will cause further problems. 
Thirdly, you also need to relate the pointer position with the dynamic 
script that is required in the onMouseup event.  
Lastly, this seems like a lot of work that seeks to reinvent the wheel. 
Good luck.
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com