Displaying 20 results from an estimated 40000 matches similar to: "Effect.Base.position property"
2005 Jul 28
0
fix in effects.js
Hello. I was doing some work with the Appear and fade command and found a problem when you are not using an opicaty of 1.0.
if you test it out with something like 0.4 it will always appear lighter than normal.
this fixes it.
render: function(pos) {
if(pos != this.options.to) {
if(this.options.transition) pos = this.options.transition(pos);
pos = pos *
2007 May 02
1
Scriptaculous Effect onfinish property???
Is there some "onfinish" property I can set for an effect so I can
perform a custom function (not neccessarily another effect, so this
leaves out Effect.Queues)?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
2005 Aug 25
0
[PATCH] do not use beforeStart, afterFinish, beforeUpdate, and afterUpdate internally in combination effects
Hello,
my patch separates usage of the callback between the user, combination
effects, and the core effects.
Consider these use cases.
a) user - core effects
b) user - combination effects - core effects
For a), the existing callbacks can be used by the user
For b), the existing callbacks are partly used by the combination
effects as a communication channel to the core effects, therefore they
2007 Jul 02
2
Object Property Sorting - Hash?
I''m trying to sort an object by its property names. As I understand it,
iterating over an object using for...in or using Hash.each() (or
Hash.sortBy()) does not guarantee the order of the properties.
Is there an easy and low-overhead way to guarantee order? Or would I
need to have some type of collection object that uses arrays instead of
the property-value configuration that Hash
2008 May 05
1
get element by property
I''m fairly new to Prototype and I was wondering if anyone can help me
out here.
i need to search the document for elements with a specific innerHTML.
I have the innerHTML string already, but i dont know how to find the
elements with that property.
thanks,
andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2006 Mar 31
1
Property not supported error with newest prototype.
I''m getting an error from IE on the following line in the newest prototype...
element._extended = true;
IE is saying that ''Object doesn''t support this property or method''.
I''m using IE6.
Has anybody else had similiar issues?
2005 Nov 10
1
Effect.BlindDown: element.style has no properties
I''m running Typo, and after a comment is successfully posted, Typo
runs this snippet of Javascript:
new Effect.BlindDown($(''commentList'').lastChild);
which throws the following error under Firefox 1.5rc1 (OSX)
Error: element.style has no properties
Source File: http://laughingmeme.org/javascripts/effects.js
Line: 754
The problem being that lastChild() is returning
2007 Jul 20
0
IE6 assigns "undefined" to _counted property when matching
I''m pretty sure I''ve come across a bug for CSS matching in IE6. (I''m
kind of new at the collaborative thing, so I figured here would be a
safer place to write this, as opposed to
The relevant HTML is:
<script type="text/javascript">
function getLineItems() { return $$("#LineItems tbody tr"); }
function addLineItem(e) {
var template =
2006 Feb 16
3
Retrieve a property defined in a css
Hi all,
I have a property, defined in an external stylesheet:
.my_class {
background-color: #FF0000;
}
I want to retrieve the value of this background-color of the class my_class.
How can I do that with prototype/scriptaculous ?
Thanks in advance,
Nicolas Terray
2005 Jul 07
1
Problem with Appear Visual Effect (script.aculo)
Hi There,
I am playing with the visual effects from script.aculo.us.
I am trying to get the ''Appear'' effect to work, it appears to work a
treat in Firefox on Linux and Windows, however in IE (6.x on Win Xp) it
kind of half works and text is rendered badly.
Is this a known problem, or am I making a mistake somewhere?
Thanks,
Vince
2006 Nov 25
2
Effect.Appear and PNG on IE6
Hi to all,
I''m using an Effect.Appear on a div that have a PNG 24 (with alpha
transparency). Works prefectly on all excecpt... IE6 that do not
render alpha channel on PNGs. So I wrote a conditional comment to
apply the propietary IE filter to load alpha adding filter: in a style
tag.
Well, during Effect.Appear, appear a black png background on the alpha.
Have workarounds or tips to fix
2008 Jan 09
4
Using Prototype - Getting Javascript Error - "Object doesn't support this property or method"
I have the following javascript being called on my site and I am
getting a Javascript error - "Object doesn''t support this property or
method". The error is invoked on the line that has - "listItems = $
("vidList").childElements("li");".
The purpose of the Javascript is two fold: ''swapVideo'' to change the
Youtube video and
2005 Jul 18
13
in place text edit
I''ve written a pretty nice Flickr style in place text edit JavaScript
control based on the Script.aculo.us library.
API is like this:
<span id="editme">Edit me!</span>
<script>
new InPlaceEditor($(''editme''), ''url/to/action'');
</script>
Background changes to gray as mouse hovers over the text (like flickr)
and the
2005 Nov 21
0
New Core Effect
Hey everyone,
I''ve created a new "core" effect for use with a project I''m working on.
Thought some people might find it useful. It takes a CSS parameter that
has top, right, left, and bottom parameters and adjusts them as
specified; useful making adjustments to page layouts (ie, hide one
element and adjust another''s margin to fill to void). I''ve
2006 Apr 14
1
Script.aculo.us Effects with callbacks not working as it should.
Hello all!
I''m having a problem which is driving me insane.
It''s probably related to the fact that I''m new to javascript.... :)
Here''s the thing, I have a couple of effects which are all being put
in the queue.
Some of these effects have callbacks; e.g. "afterFinish".
But the calback is being made directly instead of after the effect is done.
The
2006 Jan 20
2
Effect.Slideshow and Ajax.Slideshow
Ok,
I''m almost done programming this, although I still have to test the ajax
version. Anyway, I thought I''d pass along the documentation to y''all,
so you can look it over and see if there''s anything missing, or anything
I should change. There''s a lot to read here, so if you aren''t
interested, quit now :)
Effect.Slideshow:
Syntax:
new
2005 Dec 15
6
Dynamic Text Replacement
I noticed there are a lot of PHP based dynamic text replacement
examples out there such as:
http://artypapers.com/csshelppile/pcdtr/
Is there anything like this for Ruby / Rails? I know there''s always
SiFR but that method is often frustrating because I''ve noticed
significant slow down in page load time even on pages that use it
sparingly.
2005 Jun 24
1
Executing custom effect for n seconds
Glad to see this list get going!
I have a custom effect ''Pulse'' that basically does an opacity fade in/
out.
I want to execute this effect with a custom duration.
I''m looking for a consistent approach that is inline with
script.alicio.us and Prototype.
Is there a way to do something like this (pseudo code):
Effect2.Pulse = function(element) {
new
2005 Aug 15
6
setting position for draggables?
Hi list,
how can I set the top and left CSS properties for draggable divs? When I modify the properties directly, the DIV jumps to its old position when I start to drag it.
Thanks in advance!
Martin
_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail k?nnen Sie eine SMS an alle
Freunde gleichzeitig schicken:
2006 Jun 12
0
Effect.Appear/Hide and numbered lists
Hi,
I''m building a wizard with several steps per page and i''ve organised
them per page in a numbered lists. So an average page looks like
1. Do something
xxxxxxxxxxx
2. Do something else
xxxxxxxxxxx
etc
and the code is
<ol>
<li>Do something<br />xxxxxxxxxx</li>
<li>Do something else<br />xxxxxxxxxx</li>
</ol>
On one