search for: originalwidth

Displaying 5 results from an estimated 5 matches for "originalwidth".

2006 Apr 08
0
MSN like blind - BottomToTop
...height'',''fontSize''].each( function(k) { this.originalStyle[k] = this.element.style[k]; }.bind(this)); this.originalTop = this.element.offsetTop; this.originalLeft = this.element.offsetLeft; this.originalHeight = this.element.offsetHeight; this.originalWidth = this.element.offsetWidth; this.factor = (this.options.scaleTo - this.options.scaleFrom)/100; this.dims = null; if(this.options.scaleMode==''box'') this.dims = [this.element.offsetHeight, this.element.offsetWidth]; if(/^content/.test(this.options.scaleMode))...
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 Mar 10
0
Effect.Scale
I know you can scale to arbitrary 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 ... } s...
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
2006 Apr 14
1
Script.aculo.us Effects with callbacks not working as it should.
..., but it doesn''t work yet :( // So to at least do some resizing we added the function resize_content_node // //new Effect.Scale(content_or_editor, // { // queue: ''end'', // scaleMode: { originalHeight: 100, originalWidth: 100} // }); $(content_elements[''edit_button'']).disabled = false; $(content_elements[''save_button'']).disabled = true; Element.hide(content_elements[''busy_indicator'']); } function clean_u...