Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 


 
Microsoft Gold Certified Partner - DNN Benefactor

DotNetNuke Powered! 


Friday, December 05, 2008 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
Wedjet - (free web 2.0 skin element)

Subject: Dragging container with mouse
You are not authorized to post a reply.
 
Author Messages
oxns
Cruiserweight
Posts:121

04/21/2008 9:35 AM Alert 
Hi,

I am trying to use a wedjet with some popup data to be edited by a user. All works brilliantly except for one monir niggle.

The wedjet is capturing all mouse clicks and using them to drag the module on-screen. This means that I cannot click in one of my editable boxes to set the focus there :-((.

Anyone any idea how to fix this so that only the outer container is draggable, and the mouse behaves as normal on the 'content' of the wedjet ?.

I suspect its the line in the 'start' function :

document.onmousemove = Drag.drag;

but I don't know how to limit it to the outer container only.

My mouse pointer is a move cursor on the outer box, but overridden to a pointer when inside by content.

Many Thanks

Graham
oxns
Cruiserweight
Posts:121

04/21/2008 12:06 PM Alert 
I found a work-around to this :-)).

Added the following code to every editable field :

onclick="this.focus();"

Well it works ;-)).

Graham
You are not authorized to post a reply.
Forums > Bi4ce.Modules > Wedjet - (free web 2.0 skin element) > Dragging container with mouse



ActiveForums 3.6
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation