Displaying 11 results from an estimated 11 matches for "scalefrom".
Did you mean:
callfrom
2006 May 20
10
Changing the height of LI elements to achieve such an effect?
Hi Everybody,
I was wondering if there is such a work done with Scriptaculous/Prototype
before and if not how to achieve it?
Example : http://www.anatolip.com/
It is done with codes borrowed from moofx and his own codes.
Thanks in advance
Danial
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Apr 08
0
MSN like blind - BottomToTop
...(Effect.Scale2.prototype, Effect.Base.prototype), {
initialize: function(element, percent) {
this.element = $(element)
var options = Object.extend({
scaleMode: ''box'', // ''box'' or ''contents'' or {} with provided values
scaleFrom: 100.0,
scaleTo: percent
}, arguments[2] || {});
this.start(options);
},
setup: function() {
this.restoreAfterFinish = this.options.restoreAfterFinish || false;
this.elementPositioning = this.element.getStyle(''position'');
this.originalStyle = {};...
2005 Sep 14
3
Effects.Scale and form input elements
...ariant" type="text" value="[Variant]"/>
</span>
<script>
new Effect.Scale($(''UiLocaleSelect''), 100, {
scaleContent: true,
scaleY: false,
scaleX: true,
scaleFrom: 0});
</script>
--
Laurie Harper
Open Source advocate, Java geek: http://www.holoweb.net/laurie
Founder, Zotech Software: http://www.zotechsoftware.com/
2006 Mar 10
0
Effect.Scale
...trary size with
new Effect.Scale("test", 100, {scaleMode: { originalHeight: 400,
originalWidth: 200 }});
but this leaves out the nice transition effect. I''d like to keep the
"scale" and just resize the window, is this possible?
Also, any plans on implementing more scaleFrom options? Like
scaleFromTopBottom, or better yet,
{scaleFrom: topLeft || top || topRight ... } so you can scale from
any of the eight corners or center.
Another wish is to be able to scale to arbitrary absolute
coordinates. Say I have some sort of picture gallery and for each
thumbnail clic...
2005 Nov 24
0
Scaling question
...xt
height, but 100% of another value. What would be the best way to fix
this?
My code:
var offset = 0;
function fadeIn(r)
{ $("currentaside").innerHTML = r.responseText;
new Effect.Scale("currentaside", 100.0, {scaleX: false,
scaleFrom: 50, scaleContent: false});
}
function getData()
{
new Ajax.Request("./aside.php?fromcat=2&offset=" +
offset, {onComplete: fadeIn});
}
function refresh()
{ offset++;
new Effect.Scale...
2005 Oct 18
3
Blind... Effects
Hello,
is there a way to basically achieve a BlindLeft and BlindRight effect and if
yes, how would I do that?
Thank you in advance for your help.
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
2005 Jun 24
3
flashing divs in IE with use of BlindUp and BlindDown
I''m having an issue with flashing divs in IE (firefox is fine and the
only other browser I''ve used)
My scenario is as follows. I have 2 divs (initially hidden) and using
the BlindDown and BlindUp functions (possibly others) the divs flash
when starting to roll down in BlindDown (due to the Element.show call)
and also at the end of the BlindUp call (due to the Element.hide call)
2005 Jul 12
0
Re: flashing divs in IE with use of BlindUp andBlindDown
...ment).style.height = ''1px'';
> $(element).style.overflow = ''hidden'';
> Element.show(element);
> new Effect.Scale(element, 100,
> { scaleContent: false,
> scaleX: false,
> scaleMode: ''contents'',
> scaleFrom: 0
> }.extend(arguments[1] || {})
> );
> }
>
> the only change here is a start height of ''1px'' instead of 0 also
> change the start of Effect.Scale.setDimensions from:
>
> setDimensions: function(width, height) {
> if(this.options.scaleX) th...
2006 Apr 28
3
AJAX effects not smooth on Rails
I''ve been playing around with AJAX effects using
ActionView::Helpers::ScriptaculousHelper. When I implement these
''freehand'' on a regular html page the Scriptaculous effects are smooth.
However when I use them rails methods they are not.
For example Appear, Grow and Slideup all blink the text at the start.
As in the content appears for a split second, then
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...osition: element.getStyle('position'),
top: element.style.top,
@@ -563,12 +569,12 @@ Effect.Puff = function(element) {
height: element.style.height
};
return new Effect.Parallel(
- [ new Effect.Scale(element, 200,
+ [ new Effect.Scale(element, 200,
{ sync: true, scaleFromCenter: true, scaleContent: true, restoreAfterFinish: true }),
new Effect.Opacity(element, { sync: true, to: 0.0 } ) ],
Object.extend({ duration: 1.0,
beforeSetupInternal: function(effect) {
- Position.absolutize(effect.effects[0].element)
+ Position.absolutize(effec...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply
to this email, as some of the replaced lines are too long, so git
won't let me send the email. However, there is nothing wrong with
that patch, and it should be applied in the sequence listed below.
Note also that I assume this will be tested on a clean f11 install, rather
than an upgrade of an existing ovirt server