Search Type: Posts; User: harmomelodic

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. of course, the event listeners have been moved back to the Element, and out of the component.
  2. Well, that doesn't deal with the issue of how to use the component's fireEvent to call to the elements event listeners.

    I did find a solution.



    onDragOver: function(e, targetId) {
    var...
  3. found this in the code...

    <br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. "click", "mouseover" etc), this
    * is usually only done when extra value can be added....
  4. So weird...
    I moved all the code for the div into the config for the component...


    mask_component = new Ext.Component({
    renderTo: Ext.getBody()
    , style: "display:block; left:"
    + box.x
    +...
  5. I think my problem is actually in dealing with how to wrap an existing div with an Ext.Component.
    I say this because when I set this up as...


    var mask = document.getElementById('mask');...
  6. I've tried pussing something like
    var dragEl = Ext.get(this.getDragEl()); dragEL.relayEvent('mousemove', mask); to my startDrag, but it doesn't seem to work.

    I also tried adding ...
  7. I'm trying to enable tooltip information over a part of my page during a drag.
    The after executing the code below (and finishing the procedures that called onDragOver), the event seems to die. I...
  8. Replies
    2
    Views
    642
    found it....
    renderTo: document.body
    needs to be added to the config so that body is set before the first render.
  9. Replies
    2
    Views
    642
    I've created a user extension for ToolTip that makes 'delegate' a function...this allows me to ask an embedded document for an object containing information regarding where, when, and with what...
  10. Solution:


    mask_el.addListener('mousedown', function (e) {
    e.browserEvent.preventDefault();
    svgdoc.DoMouseDown(replace_e_for_embed(e));
    });

    Firefox 3+ has a default drag behavior that...
  11. .embed_mask
    {
    z-index: 100;
    position: absolute;
    }
  12. Howdy. I have a svg embed with a great deal of mouse functionality (clicking, dragging, ect.).
    I am trying to instrument Ext's drag/drop system to work with it (parts of the embed are controled by...
  13. I'm starting to think this might be a strange browser issue...
    I try this in chrome and it works...the only caveat is I get the alpha entry cursor...but the functionality is exactly what it should...
  14. it does not look like the ext drag not allowed symbol, rather it looks like the standard cursor:not-allowed css setting...
  15. p.s. draggin on valid drag targets is working AOK.
  16. This is driving me crazy.
    stopPropagation = false doesn't even work.
    I've been spending enless amounts of time in firebug setting breakpoints, trying to figure out where this behavior is happening....
  17. Approach #2 seems to mostly work, except the behavior when I am not returning data (getDragData returning undefined) isn't quite right. Instead of not entering the drag state at all, it enters a...
  18. There is a bit of a chicken and egg problem here.
    I can add a dragzone, but how is it going to get the mouse interactions over the embed in the context of the whole page? Thats why we has to use...
  19. 1. I control the code in the embed. It is a customized svg doc.
    2. the object model is completely different.
    3. I can write code within the embed to make javascript calls into the main page. Within...
  20. One additional question.
    I am also going to need to drag from the embed to the main page. I can use code within the embed to call a hook to initiate a drag, but to do so I need to know how to...
  21. I just meant my implementation of your mask idea. It wasn't obvious to me how to use Ext's DOM wrappers to insert the div, pull it out, manipulate it. Nor was it obvious if there was any real...
  22. Wrong tree indeed.
    Thank you animal, this worked beautifully.
    I included a div in the pages base html with 'display:none and z-index:+' and set its box and display: block in startDrag, and back...
  23. I'm looking for a place to override the code that 'pulls' the proxy element back under the mouse so that I can add an offset to the event that I can look for in that code.
    Where does this code live?...
  24. If I do make a copy (new Object(browserevent)) I get the strange error...too much recursion. I guess the object is way too deep.
    Any thoughts on how to correct for the misplacement of the y axis in...
  25. It appears Ext.EventObject.setEvent(browserevent) will do this.
    Now a related problem crops up...the value for clientY in the onmousemove event for the embed is relative to the embed, not the...
Results 1 to 25 of 72
Page 1 of 3 1 2 3

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar