I have a table whose elements are div (inside each td element).
I need to attach dinamically to some of those divs a tooltip displaying infos.
The problem is that often (and randomly acting different times on the same div) the positioning of the Tooltip is wrong and misleading (it seems to refer to another element of the table).
positioning
Tooltip positioning issues and layout modification
- Login or register to post comments
- Read more
- Subscribe post
set a widget in the right position ( sharing code )
Probably this is not the right place but I worked hard on this and I think this could help someone else.
I read many posts and none of them set a widget in the right position ( coord ) so I figured out this could be a way. I set a new widget where I click.
I create my widget with 2 attributes more ( left and top ) that will be parameters when I call the new statement. My template uses those two parameters to set the left and top attributes and I set them in the postCreate function.
Here is the code:
Template:
- Login or register to post comments
- Read more
- Unsubscribe post
How would you float a widget over top of the dndItemOver highlight and have it follow it as you drag?
I looked at the dnd manager and I don't think that will help me outside of using the publishing it does. I then tried to connect an event to the .dojoDndContainer that would wait that would listen for a .dojoDndItemOver but I don't think that's possible... Any suggestions on where to start.
