search for: mouseover

Displaying 20 results from an estimated 89 matches for "mouseover".

2006 Jun 20
4
Invoking MouseOver using link_to tag ?
Hi, How can we trigger a JavaScript built in function from a <%= link_to %> ie. i have the below statement in my view. I want to invoke a JavaScript function on "MouseOver" of this below text (''TestingMouseOverEvents''). <%= link_to "TestingMouseOverEvents" , :controller => "login", :action => "logout"%> Note: The controller and action should also be there as above. ie invoke the controller function...
2006 Mar 09
2
handling events: mouseover, etc.
I''m having a hard time figuring out how to handle mouseover events w/ Ruby on Rails (esp. whether Javascript takes over, or the Controller should be used). I''m currently trying to create a simple mouseover info box showing the definition, and some other information, when certain words are moused-over. Say I have an array of Word objects that...
2005 Dec 08
6
Bug in Effect.Highlight ?
...t; <head> <script src="prototype.js" type="text/javascript"></script> <script src="scriptaculous.js" type="text/javascript"></script> </head> <body> <select id="left" onmouseover="new Effect.Highlight(document.getElementById(''right''));"> </select> <select id="right"> </select> </body> </html> ---8<------------------------------ If I ''mouseover'' the first s...
2008 Apr 16
3
non-bubbling mouseover/mouseout
First, I have only played with Prototype for about a month, so I don''t know it well. Second, I am more of a server-side programmer than a client-side programmer. In my page, I have a div that appears as a result of a link mouseover event. This div is nested within another div that houses everything (id = ''menuContainer''). I want the resulting div (which is a submenu) to disappear when the user moves the mouse away from the container div. I''ve done a lot of research. MouseEnter and MouseLeave do...
2005 Dec 20
1
Can''t use mouseover with auto_complete_field
Good afertnoon. I''m trying to use a mouse over event: Event.observe("name_auto_complete", "mouseover", function(){alert("auto_complete")} ); with the auto_complete_field bellow. <%= text_field_tag("name") %> <%= content_tag("div", "", "id" => "name_auto_complete") %> <%= auto_complete_field("name", optio...
2008 May 24
1
link_to_remote, image_tag, mouseover is this possible?
Hi guys, I was wondering if you are able to have a link_to_remote, having an image_tag and the link_to_remote has a mouseover event that updates a div. Does the image_tag need the mouseover event? I currently have: <%= link_to_remote(image_tag(@p_image.public_filename(:thumb)), :update => "big_pic", :onmouseover => {:action => :color_change, :id => @p_image.id})%> I get this error on loadin...
2006 Mar 04
1
RE: Question about event listener highlighting withchild elements
...(also allows you to easily apply this behavior elsewhere when you need it in the future): Object.extend(this.el, HighlightBehaviorClass.prototype) 2. When defining your event handlers, assign them to variables so you have a handle to properly dispose of them, like this: this.mouseOver_Listener = this.highight.bindAsEventListener(this); Event.observe(this, "mouseover", this.mouseOver_Listener); ...now this will work... Event.stopObserving(this, "mouseover", this.mouseOver_Listener); ________________________________ From: rails-spinoffs-bounces-1W...
2005 Oct 31
2
Inplaceeditor and a tooltip on mouserollover?
on mouseover when using inplaceeditor it highlights in yellow. Great. However, I want to also show a tooltip inside this div on mouseover. Specifically, when a user is over editable text, besides the yellow background, I want to display next to it a "delete" link. One of the things I''ve trie...
2006 Jan 11
0
RE: Event.observer - unordered list problems
...ct though, as you could potentially move your mouse around within the same element for the duration of the timer and it could still trigger the mouseout action. In this case, I use span elements around my text to increase the number of elements within a div, thus increasing the coincident number of mouseover events that can get fired (thus resetting the timer mechanism). It also requires you to keep track the mouseover state of your parent element. (Hopefully I''m using descriptive enough variable names so you can figure out what you need to do). You might use the Event.findElement() function i...
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
2006 Feb 09
3
Draggables and Droppable performance (tips)
...gables or droppables. Here are a couple of optimizations I found that seem to work pretty good. The first one is along the lines of the "lazy loading" pattern. In other words, only create the draggables (or droppables) when they are likely to be needed. For draggables I do this with a mouseover event. You can pretty safely assume that an element does not need to be made draggable if the mouse never passes over it. So only create the draggable on a mouseover. For droppables, you can wait even longer to create them (and be more likely to be correct in assuming that a droppable must be creat...
2008 Jun 20
2
All Wine dialog boxes have the mouse symbol out of position
I've just installed Wine. Every Wine dialog box/window, on mouseOver, jumps the mouse cursor left and up, but sends mouse clicks to where the mouse would/should be. In other words, when I roll the mouse over any Wine box, the arrow symbol immediately moves left and up, then subsequently moves in relation to how I move the mouse, until the original mouse location ex...
2006 Jan 11
0
RE: RE: Event.observer - unordered list problems
...ct though, as you could potentially move your mouse around within the same element for the duration of the timer and it could still trigger the mouseout action. In this case, I use span elements around my text to increase the number of elements within a div, thus increasing the coincident number of mouseover events that can get fired (thus resetting the timer mechanism). It also requires you to keep track the mouseover state of your parent element. (Hopefully I''m using descriptive enough variable names so you can figure out what you need to do). You might use the Event.findElement() function i...
2006 Jun 21
2
Mouseover Speed Issues
I''m having severe speed issues on our server (localhost is lightening fast!). Here''s the call: <img src= <%= @pics[col].img_url %> height=80 width=60 onMouseover="<%= remote_function(:update => "diag_box", :url => { :action => :preview, :tit => @pics[col].mname, :desc => @pics[col].description })%>;"> It''s an image, that when moused-over, it calls the function :preview, and passes :tit and :desc. Th...
2011 Feb 03
2
Display note when MouseOver Input form
I''m using Rails 3, Formtastic an Jquery. I would like to display a "floating" note when an input field gets focus. A good example is when trying to submit a story on digg when you are not logged in. What is the best way to do this? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2008 Feb 01
0
[Bug 10618] glxgears or mouseover on buttons can crash X server
http://bugs.freedesktop.org/show_bug.cgi?id=10618 Maarten Maathuis <madman2003 at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Keywords| |NEEDINFO Resolution|
2006 Jun 16
5
Menu using Scriptaculous Effects = OnMouseOver bug
I am trying to achieve a Flash-like menu with OnMouseOver effects on 3 divs below. Unfortunately, the javascript resets when the mouse is rolled over the text and if you go mouse crazy on the divs, the script seems to remember where it cut off, and doesn''t roll down completely afterwards. Is it a good place to ask for help? I couldn'...
2008 Mar 05
6
Prototype Observe Links (Mouseover)
...pe and after a 2 hours of research I didn''t find a solution for the following question: I have the following list: <ul id="navi"> <li><a href="/about/">Home</a></li> <li><a href="/about/" class="dropdown" onmouseover="showSubnavi(this)">About</a> <ul style="display:none;"> <li><a href="/history/">History</a></li> <li><a href="/facts/">Facts</a></li> <li><a href="/partners/">Par...
2006 Apr 29
4
Event.observe mystery
...th a method ''addItem''. The method (simplified) looks like this: addItem: function(itemId, text) { this.container.innerHTML += ''<div id="''+itemId+''">''+text+''</div>''; Event.observe(itemId, ''mouseover'', this.onMouseOverHandler.bindAsEventListener(this), false); } I call my class in the following way: var myMenu = new Menu(); myMenu.addItem(''item1'', ''Item 1''); myMenu.addItem(''item2'', ''Item 2''); myMenu.addItem(...
2008 Jun 20
3
problems using effects.morph && effect.appear
Hi, i 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 be...