similar to: how to cancel/stop a script.aculo.us effect

Displaying 20 results from an estimated 2000 matches similar to: "how to cancel/stop a script.aculo.us effect"

2006 Jun 07
9
Unobtrusive Javascript for Rails
I made a brief post on here the other day about this and now I can proudly present the initial release of our unobtrusive_javascript plugin for Rails. We''ll be working with Dan Webb of Vivabit to roll in much of the functionality in his own as-yet unreleased unobtrusive_javascript plugin into a single plugin. This is essentially a preview release and probably not suitable for use on a
2006 Jun 19
10
Trying to delete from a unordered list using ajax
I have a controller method as such: def delete @category = Category.find_by_name(params[:name]) @element_id = @category.name Category.delete_all(["name = ?", @category.name]) end (For the purpose of this exercise, category names are unique) I have the corresponding delete.rjs file: if @element_id page.remove :id => @element_id page.visual_effect :highlight,
2005 Jul 12
2
highlighte
hi, i''ve just started using script.aculo.us visual effects, lots of fun. i was wondering what the best and most efficient way would be of achieving something along the lines of fade anything technique (FAT, http://www.axentric.com/aside/fat/) whereby an element''s background fades away from one color to the element''s native background-color. (for example, you get
2006 Jan 30
5
Multiple ajax calls
This is slightly OT for which I apologise in advance, but I was wondering if anyone here has had any problems when making multiple ajax calls at the same time. I''m working on a large Intranet application which makes heavy use of ajax calls and the bugs are flying in from the testers that if they repeatedly click on a link that makes an ajax call then Internet Explorer can fall
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
2005 Oct 01
8
Ajax.InPlaceEditor on Safari & Firefox
Hi, I''ve downloaded the latest svn trunk and was glad to see that Ajax.InPlaceEditor forms can now be correctly submitted on Safari as well, with the server response being correctly displayed as well. The problem is, however, that clicking again on the same element (after sumbitting it first) will duplicate the submit form. The next attempt will triplicate it etc, etc... Could
2005 Oct 20
4
cross-fade effect on elements updated by ajax.updater?
Hello. I was wondering if anybody could point me in the right direction of creating a cross-fade effect for Ajax.Updater. If you have an element that gets replaced by a new one with Ajax.Updater, how can we blend one into the other? Many thanks. Tench
2005 Aug 11
2
bocking Effects during other effects
hi everyone, it''s my first time tonight. great script lib you''ve got there. i spent a whole day trying to code myself, use tutorials, use dreamweaver timeline animation - when i was about knocked out by the heavy draw backs i stumbled upon this truly mir.aculo.us library and all i ever asked for became true! thanks! one question though: is it possible to disallow
2005 Jul 27
4
safari vs. firefox on mac os x: flickering combination effects
Hi. I''m wondering if this is a documented problem. Combination effects such as .BlindDown or .SlideDown exhibit a not so fun flicker at the end of their rendering process in Firefox on Mac OS X. This does NOT happen in Safari. Does anybody know how to fix this or if it will get fixed in a next release? All best, Tench
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
2005 Oct 19
1
js not executed after ajax.updater -- evalScript:true not a solution
Hi. I have a <div> on a page that I replace with a new one using Ajax.Updater. Inside this newly placed div, I am using classes and behavior.js to launch various Ajax things and scriptaculous effects. None of them, however, get triggered after the update. They also fire no javascript errors or anything of the kind. I''ve seen the option evalScripts with Ajax stuff-- but
2006 May 24
2
newbie oo question
Hey everyone, I''m trying to create an object that will have some properties predefined, but will allow me to pass in properties to override those standard props if needed. I''m trying something like: var myObject = Class.create(); myObject.prototype = { initialize: function(element, options) { this.element = $(element); this.name = this.element.id; this.options =
2006 Jun 27
5
Ajax - Inserting selected elements from request.responseText
After retrieving a URL using an Ajax.Request... function onComplete (request, json) { // request.responseText holds the entire page Only the content contained in elementID = ''source'' is intended for display At this time, the following code works, but it disturbingly copies the entire page from the source URL into the target DIV $(''target'').innerHTML =
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
2005 Jul 28
2
autocomplete: how to access a child element of <li>
hi. i promise this will be my last question for the day. still playing with autocompleter, everything is working ok, but i''m having difficulties accessing just the href attribute of <a> element, which is a child of <li> in the autocomplete response, i.e: <div class ="autocomplete"> <ul> <li><a href
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 Jul 28
2
CSS and autocompleter
hi. I''m rewriting the code from my own save-yourself-if-you-can implementation of xmlhttprequest to scriptaculous autocompleter, and it''s all fine and dandy, except that I am having difficulty positioning the auto_complete div which contains the results returned by xmlhttprequest. the auto_complete div is always stuck in one place, it starts a little below and half
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 Jan 24
1
Liquid templates and RJS
Does anybody know whether Liquid templates can be combined with RJS ? -- Roberto Saccon - http://rsaccon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060124/edeafadc/attachment.html
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