search for: scalecont

Displaying 10 results from an estimated 10 matches for "scalecont".

Did you mean: scal_count
2006 Jun 13
2
passing options for render :update
I''m having some issues trying to pass some options into render :update in my controller: render :update do |page| page[''mybox''].visual_effect( :scale, 200, {:scaleContent => false}) end this should just scale the box, and not the content, however, the content scales. I noticed that the following is produced: $("folder-1").visualEffect("scale", 200, {"scaleContent": false}); I noticed that the scaleContent is in quotes - does...
2005 Sep 14
3
Effects.Scale and form input elements
...x...] So, I wrapped the two selects and the text input all in a span and called Effects.Scale on the enclosing span. Unfortunately, this doesn''t seem to work, whatever options I pass to the effect. I can scale individual form controls, but not a group wrapped in a span. Even with scaleContent set to true, the form controls don''t scale. Any hints? Following is sample code for what I''m trying: L. <input type="button" value="Select Locale" onclick="foo (''UiLocaleSelect'')"/> <span id="Ui...
2005 Nov 24
0
Scaling question
...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("currenta...
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)
2006 Apr 08
0
MSN like blind - BottomToTop
...Height - height) ) + ''px''; this.element.setStyle(d); } }); Effect.BlindBottomUp = function(element) { element = $(element); element.makeClipping(); element.setStyle({position: ''absolute''}); return new Effect.Scale2(element, 100, Object.extend({ scaleContent: false, scaleX: false, scaleFrom: 0, restoreAfterFinish: true, afterFinishInternal: function(effect) { effect.element.undoClipping(); } }, arguments[1] || {}) ); } If possible someone please update script and make it more understandable for others....
2005 Jul 12
0
Re: flashing divs in IE with use of BlindUp andBlindDown
...eight of 0 > > change your BlindDown to: > > Effect.BlindDown = function(element) { > $(element).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.Sca...
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
...le('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(effect.effects[0].element);...
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