search for: mouseout

Displaying 20 results from an estimated 32 matches for "mouseout".

2006 Jan 11
0
RE: Event.observer - unordered list problems
...picture as it wasn''t necessary to include to the mailing list so everyone can hear the general techniques), I recently had a very similar problem with my project. The problem arises because whenever you move the mouse to ANY element, the previous element that the mouse was over gets a mouseout event, even if it happens to be a parent of the newly moused-over element. So it''s clear that the mouse events don''t really keep track of parent-child relationships, it''s either one element or another (not conditional based on the tree). So I think in your case, this is w...
2006 Jan 11
0
RE: RE: Event.observer - unordered list problems
...picture as it wasn''t necessary to include to the mailing list so everyone can hear the general techniques), I recently had a very similar problem with my project. The problem arises because whenever you move the mouse to ANY element, the previous element that the mouse was over gets a mouseout event, even if it happens to be a parent of the newly moused-over element. So it''s clear that the mouse events don''t really keep track of parent-child relationships, it''s either one element or another (not conditional based on the tree). So I think in your case, this is w...
2007 May 11
15
Simulating onmouseleave and onmouseenter with Prototype
...ffect that mootools implements, namely the simulation of onmouseleave and onmouseenter events. Why? Lets say you have a Menu. A ul element that contains many li elements. If you want to have a function (maybe an effect) fire when the mouse moves outside of the ul, you are out of luck. Observe the mouseout function like so: Event.observe(nav, ''mouseout'', function(e) { // you would think this would work alert(''mouse is outside of nav?...''); }); and what actually happens is that every time the mouse leaves the element OR crosses the boundary of a child element (l...
2008 Apr 16
3
non-bubbling mouseover/mouseout
...ubmenu) to disappear when the user moves the mouse away from the container div. I''ve done a lot of research. MouseEnter and MouseLeave do exactly what I want them to do, but I don''t know how to write these in Prototype or even JavaScript. Alternately, I would want MouseOver and MouseOut to not bubble down to their children. Currently, I have the following code: Event.observe(''menuContainer'', ''mouseout'', function(e){ if (!e.descendantOf(''menuContainer'')) { hideSubmenu( activeSubmenu ); activeSubmenu = '''...
2006 Mar 04
1
RE: Question about event listener highlighting withchild elements
...ffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: [Rails-spinoffs] Question about event listener highlighting withchild elements I have created a JavaScript object which is initialized for some input fields, fieldsets, and divs on the page. With each object i attach a mouseover and mouseout event that highlights and un-highlights. Also on mouseout i am trying to display the id of the object to a console. The highlighting works except for cases when an object is the child of another object. In this case both are highlighted and only the parent''s id is currently. I want only th...
2006 Mar 04
0
Question about event listener highlighting with child elements
I have created a JavaScript object which is initialized for some input fields, fieldsets, and divs on the page. With each object i attach a mouseover and mouseout event that highlights and un-highlights. Also on mouseout i am trying to display the id of the object to a console. The highlighting works except for cases when an object is the child of another object. In this case both are highlighted and only the parent''s id is currently. I want only th...
2005 Aug 31
0
Event listener problems
...in twenty, sometimes on the second or thrid click sometimes after forty or more clicks. I can only assume that Safari is garbage collecting the method as soon as it is de- registered even if it is still executing. Second I was testing on Firefox. I wanted to monitor mouseover, mousemove, mouseout and mouseup. There was a lot of commonality to the code so I made a single binding of my handler object to the handler method and test for the event.type to handle any differnce for event type. The binding was like this.myboundhandler = this.handlermethod.bindAsEventListener(this); and th...
2006 Jun 15
12
Why such bad performance with IE ?
Regarding DragDrop I am wondering what the deal about Internet Explorer 6 is. My application is near to final and now while testing browsers all but the IE6 are running as supposed to. Any other browser is performing smooth movement while IE compared provides a very bad expirience. I''ve seen some "tuning" infos on this list but they are either outdated or not actually working
2005 Dec 08
6
Bug in Effect.Highlight ?
...ect> <select id="right"> </select> </body> </html> ---8<------------------------------ If I ''mouseover'' the first select box, the second will be highlighted. Great. If I ''mouseover'' and rapidly ''mouseout-mouseover'' the first select box whereas the effect is not finished, the second select box will be freezed, i.e. the select box remains yellow and will not anymore return to initial state. It is a bug ? a feature ? Is there a workaround ? I''m working on Firefox 1.0.7/Fedora Core...
2008 Jun 03
7
Iframe shenanigans
...ccessible as possible. (So ajax is essentially out, screen readers aren''t up to snuff yet). Thus I''m using an iframe. The unfortunate part is that I have navigation menus that appear over the iframe.. but when the mouse hits an element over the iframe firefox believes this to be a mouseout and hides the navigation. (IE6 , 7 and Safari seem to respect the z-index of my navigation.) Has anyone here run into this? and or used Prototype to solve this issue? Is there a way to get a Div to act like an Iframe yet not use Ajax? Much thanks to anyone with advice. -P --~--~---------~--~----~...
2006 Feb 03
2
Scriptaculous: Newbie question - Effect.fade
...ut removing the hidden document from the flow when in becomes invisible? I have a line of images (initially all invisible) [] [] [] [] [] And a list of links - link 1 - link 2 - link 3 - link 4 - link 5 And what I want to happen is to have the images appear on link mouseover and disappear on mouseout but for the images to maintain their positions on the page. So, for instance, mousing over link 3 would have image 3 appear thus: [] And then over link 4: [] And then over link 1: [] You get the picture! Is this possible? Cheers. Mike
2006 Jan 20
5
Height problem after interrupting SlideDown/SlideUp effects
Hi, i have a problem with the the SlideDown and SlideUp effects. Since a similiar problem is also visible on the script.aculo.us homepage, i''m going to explain it this way. - Go to http://script.aculo.us/ - On the main site below "visual effects", click "Advanced options", the sub panel will scroll down. - Hit the close button, and while the panel is still
2005 Oct 05
5
InPlaceEditor crash on Safari
Quick question.. I often crash my Safari when using ''Enter'' on InPlaceEditor''s for submitting. Works fine on firefox(win & Mac) - no javascript errors. Anyone else seen this behavior? (Maybe it is just my alterings of InPlaceEditor :-) Best Regards Michael Krog
2006 Jan 18
2
Event.stopObserving and anonymous functions
Hi all, I'm using behaviour(.js) to add event handlers to all the table cells in a table (mouseover, mouseout, clickk). However, I'm also ditching the table and replacing it with an Ajax.Updater so I want to remove all the observers before I lose them. Unfortunately, the Event.observe calls were written as inline anonymous functions so, when calling Event.stopObserving, I'm supposed to pass in a re...
2008 Jun 20
3
problems using effects.morph && effect.appear
...wrote a sliding navigation using effect.morph and effect.appear. I don''t know why but there are a couple of problems: 1. effect.appear seems not to work in IE6 2. The effects aren''t really "smooth". 3. When using effect appear. The new element triggers onmouseover the onmouseout function.... It''s a small script: www.rhizom.nl/volkan/scriptalicous First version was in mootools later i found out that magento uses scriptalicous.... www.rhizom.nl/volkan/moo gr Volkan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are s...
2006 Mar 09
2
extending an existing DOM object in a prototype way
...es this look right? Also, I''ll eventually want to go through the child elements in the initalize method to set those children up as well. The overall goal of this is to create an enhanced table class where you just call a function and it does all sorts of things like handling mouseovers, mouseouts, zebra striping, etc. If I''m completely wrong, and someone has an example they can point me at, that would be great! If this looks ok, though, I''ll continue on with it :) If this is not possible, or if I have to attach my code to the object like: span.BLAH = new ActiveSpan .....
2006 Jun 19
13
PNG and Alpha-Transparency
Is there a prototype / extension which will assist in cross-browser support of PNG images? http://www.alistapart.com/articles/pngopacity/ It seems to me that a class could be developed which would zip through the DOM and make changes where needed for IE 5.5 / IE 6.0 to handle PNG images. I don''t want to write one if it''s been done before. Sam
2006 Feb 24
0
Visited Link Style and link_to_remote
...ultiple link items in one page, as far as one of them is clicked, all the others will change the status to "click". Now I am solving this problem by not using <a> tag (which means directly using javascript, not the link_to_remote helper) and custom define the class for mouseover, mouseout, clicked and unclicked. Is there any better approaches? -Tony -- Posted via http://www.ruby-forum.com/.
2006 Oct 29
1
scriptaculous: fade out then in.
I''m pretty new to javascript, and scriptaculous, but I know what I want to do. I want to make it so that when a person clicks a link, the previous content of the div fades out, and the new content fades in. This is what I''ve got for my function: <script type="text/javascript"> //<![CDATA[ function loadmerch(im) { new
2006 Jun 27
0
dropdown menu based on unordered list
Hello, I have an unordered list with 1 or two sub-lists - I like to convert it to a drop down list using prototype/scriptaculous. Does anybody have an example or some code to share - I''m specifically interested in the event observers (clicks, mouseover and mouseout events). Thank you in advance for your input. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs