similar to: Parameters to Event Handler Function

Displaying 20 results from an estimated 1000 matches similar to: "Parameters to Event Handler Function"

2006 Feb 06
10
Urgently Need Solution
I''m using scriptaculous'' SlideUp and SlideDown effects to animate a menu. Specifically, I SlideUp, make some CSS changes, and SlideDown. All works well, except that for a split second in between, the element''s display becomes ''none'' and the other menu item jump into the space. I haven''t been able to find any way to force an element to retain
2006 Feb 08
6
Effect Help
I posted the following earlier: "I need a way to do a blind up that makes the element APPEAR and a blind down that makes the element DISAPPEAR. In essence, the opposite of the current blindup/blinddown. Thoughts?" I think somebody responded in Dutch. Anyone else have any ideas? -- Yehuda Katz Web Developer (ph) 718.877.1325 (fax) 718.686.4288
2005 Dec 08
6
Bug in Effect.Highlight ?
Hi All, I''ve just discover scriptaculous and it is a really good library. Even if I have some difficulties with short syntax in javascript code :/ I have a strange behaviour with Effect.Highlight, and as it''s said on bug report page : "It''s also a good idea to discuss this on the Mailing List beforehand, maybe it''s already known and in the works, or it
2006 Feb 08
0
Need help with effect
I need a way to do a blind up that makes the element APPEAR and a blind down that makes the element DISAPPEAR. In essence, the opposite of the current blindup/blinddown. Thoughts? -- Yehuda Katz Web Developer (ph) 718.877.1325 (fax) 718.686.4288 _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Mar 04
1
RE: Question about event listener highlighting withchild elements
1. Create a separate class that has your highlight/unhighlight behavior in it, and extend just the element you want to highlight with that class... like this (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
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
2006 Feb 09
3
Draggables and Droppable performance (tips)
Hi all. I have some performance tips to share. I had been having problems with the overall performance of the drag/drop objects. This is due largely to the fact that my project really pushes the limits (potentially thousands of draggables and hundreds of droppables in the document at a time, although that is the extreme case). Something I discovered is that the performance of dragging goes WAY
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 exits the dialog box, when the
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 tried is this: <script language="JavaScript"> new
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 have 1) word name 2) definition
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})%>
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)
2006 Apr 29
4
Event.observe mystery
Hi, I have a class ''Menu'' with 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'',
2006 Aug 07
2
Administrative Console Update
Hi guys, I just wanted to announce the imminent release of the next revision of my autoDB Administrative Console. Now with: * Validations * A ton of association-related bug fixes * The ability to include the fields in belongs_to models into the form itself * AJAX improvements * Fixes to activate/deactivate and destroy * Rudimentary support for layouts Also, I made a change to the way
2005 Nov 08
1
Event.observers - I''m totally list - please help
Hello, I need some help on how to use the Event.observers - thank you in advance for your input. <div class="navcontainer"> <ul id="nav"> <li class="button"> <img src="images/spacer.gif" width="20" height="20"> </li> <li class="button"> <img
2008 Jan 16
1
Small doubts with clonePosition, Keypress and this
Hello Guys, I comes to try to clarify some small doubts, I''m trying to create a function that, if I positioned over this, create a box around the cell, but I don''t want to alter values of style, I think that a good way is create a floating table with the same dimensions, to do this, I found "Position": overlap but says it''s obsolete, then I found clonePosition
2006 Jul 17
3
Plugins and Engines
I''m trying to work out how to use the functionality from a plugin in an engine. It sounds weird, but it''s actually not so strange. I assume I can''t just add a vendor directory to an Engine, so some strategy for getting the plugin in the lib folder is probably necessary (and then requiring the plugin, perhaps?). -- Yehuda Katz -- Posted via
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") %> <%=
2007 Jul 18
3
immediate Descendants not working in IE
Hi, im currently styling a menu using a java script effect which hides the nested submenus on load, and also shows/hides them on mouseover. It is working in firefox, using ... var ul = $("nav").getElementsByTagName("ul")[0]; var lis = ul.immediateDescendants(); I then loop through lis to initially hide all the submenus. This works fine in firefox, but not in IE. The sub
2006 Feb 03
2
Scriptaculous: Newbie question - Effect.fade
Hi there, Is it possible to do an effect.fade without 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