mouseenter

WPF ListBox DataTemplate and Image Question

I have a ListBox with a StackPanel that contains an image and label. <ListBox.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel Orientation="Horizontal" IsItemsHost="True" /> </ItemsPanelTemplate> </ListBox.ItemsPanel> <ListBox.ItemTemplate> <DataTemplate> <StackPanel Orientation="Vertical"> ...

jQuery UI slide effect on mouseenter

I've been at this for a couple of days now, so any help would be much appreciated. I've got a link which contains two divs sitting on top of each other. The top div is hidden, but slides in to partially cover the bottom div on mouseenter, and then out again on mouseleave. It is working to a degree, but is a bit buggy. This is what I have...

JQuery mouseout timeout

Similar problems have been dealt with before but I believe mine's slightly different owing to the use of the bind() function. Anyhow... $('.overlay').bind("mouseenter",function(){ $(this).fadeTo('slow', 0); }).bind("mouseleave",function(){ setTimeout(function() { $(this).fadeTo('slow', 1); }, 2000); }); I want to fad...

MouseEnter event not fired during an animation

I have a red border moved by an animation (with a RenderTransform) and the blue border underneath is handling the MouseEnter event. Unfortunately, the MouseEnter is not fired when the mouse enters the blue border (because the red border has moved away) but when the mouse is moved. The sample below is tested in Silverlight but I believe...

TreeView MouseLeave event fires when moves over ScrollBar

In the TreeView, ListBox, or it seems from my google searches anything with a ScrollBar, the ScrollBar is not considered a part of the control. I have a TreeView that I'm putting into a custom control, and it's Dock Fill. So there it acts as a custom TreeView which has all our logic to manage it in one place. In parts of our program we...

Problem with jQuery Mouseenter/Mouseleave in Firefox

I'm having a problem with the mosueenter/mouseleave events only in Firefox... http://www.screencast.com/users/StanleyGoldman/folders/Jing/media/be3572de-9c72-4e2a-8ead-6d29b0764709 <HTML> <HEAD> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.js"&gt;&lt;/script&gt; <script> $(docume...

using .aspx page as Jquery Cluetip?

Hi, I am using an .aspx page as cluetip bound to an anchor tag. I need to pass a parameter from anchor to this page and then call a WCF service to populate my template with returned JSON. I tried putting body onload function but that doesnt seems to work. Thanks Koby. ...

jquery mouseenter/mouseleave error when the target div has child input fields

I have two sortable lists, one being nested, with a mouse enter effect on the li elements of the nested sortable list. My problem is that the mouseenter and mouseleave functions are being called inconsistently when a user moves the mouse quickly through the list over the child elements which are input fields. Here is a sample of what is...

jquery issue, disable on mouseenter queue

When you mouseenter .li_group class it does a slide down effect on 1 single <li> tag, everything goes smoothly, but during the delay if you take your mouse off and on .li_group it "queues" the effect and slides the li down, delay, slides it down again etc etc... I have tried every way i can think of, even stop(); but it still does it... ...

Issue with hover events and parents

So let's say I have a block of nested divs: <div class='nested'> <div class='nested'> <div class='nested'></div> </div> </div> I want this kind of behavior: Hover on a div. That particular div changes background color, and its children don't. Hover on that div's child. Again, it changes color while its children don't, AND(impor...

jquery: mouseleave event seems to fire when it's not supposed to

Given the following html table and script shown below I am having a problem where the mouse leave event appears to fire right after the mouse enter, even if I don't move the mouse out of the row. <script type="text/javascript" language="javascript"> function highlightRows(iMainID) { $('tr[mainid=' + iMainID+ ']').each...

How can I tie a WPF Command to a MouseEnter event?

I need to tie a WPF-Command to the MouseEnter event of a Stackpanel. How can I do that? ...

Java MouseEvents not working

This may be a stupid question, but I have to ask! I have the following code snippets that are supposed to run their corresponding methods when the user interacts with objects. For some reason, "foo" is never printed, but "bar" is. myJSpinner1.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.eve...

Trying to convert JQuery to Mootools - show hide using mouseenter and mouseleave

I am trying to port the code below to mootools 1.1 code but am having no luck jQuery(document).ready( function(){ jQuery("div#fpss-nav_activator").bind("mouseenter",function(){ jQuery("div#navi-outer").stop(true, true).show("slow"); }).bind("mouseleave",function(){ jQuery("div#navi-outer").stop(true, true).hide("slow"); ...

jQuery Hover Panes Flickering on child

OK. Here's my basic HTML structure: <ul class="tabNavigation"> <li> <a href="#">Main Button</a> <div class="hoverTab"> <a href="#">Link Within Div</a> </div> </li> </ul> And here's my jQuery command: $('ul.tabNavigation li').mouseenter(function() { $('ul.tabNavigation div.hoverTab').hide(); $(this).children...

Jquery Sortable and mouseenter problem

I have sortable divs and in this divs - paragraphs. If I use mouseenter event to check if the mouse is in this divs - it doesn't work. I.e Sortable + mouseenter on the sortable elements = doesn't work. How can I fix it? Here you are some code $("#sort").click(function() { $("#ps").sortable(); $("#ps").disable...

Complicated jQuery .hover Work

The following code is giving me a lot of trouble. To note, .hover changes the background image. Firstly, how can I combine the two with .hover rather than a separate mouseenter and mouseleave? Second, How can I make it so that while the div is shifting upwards, the background image is simultaneously fading? $('div.designbox.orangehel...

WPF - attached behavior to capture MouseEnter on Image in TreeviewITem

Hi! Could I have, please, a little code-sample of WPF "attached behavior"? I explain my problem: I've done my TreeView all with XAML but now I'd like to manage an event with code-behind. The HierarchicalDataTemplate contains an Image. I need to capture the events MouseEnter / MouseLeave on the Image. I'd like to do this with "attache...

Mootools: How to get `morpha.start()` after 2sec `mouseenter`?

Mootools: How to get morpha.start() after 2sec mouseenter? window.addEvent('domready',function() { var morph = new Fx.Morph('resize',{duration:700,delay:400}); $$('#resize').addEvent('mouseenter',function(e){ e.stop(); morpha.start({ width: '200px', height: '100px' }); }//It does not work on adding ',2000' he...

WPF Creating Custom Events

I am working on a part of a menu to allow it to be re-organized by its user. This menu has a grid(4x3) with 12 elements, all of which are of the type NavButton, a class I created that extends Button. In the NavButton I have a drag feature that allows the buttons to be moved throughout the grid and currently I am working on determining wh...