Displaying 9 results from an estimated 9 matches for "setopac".
Did you mean:
setopt
2005 Nov 07
2
Element.setOpacity Question
Why does the setOpacity function do this when the value = 1?
els.opacity = ''0.999999'';
That just seems weird to me.
Can someone please explain?
Thanks,
<http://zend.com/zce.php?c=ZEND002524&r=212822110>
Jon Whitcraft
Indianapolis Motor Speedway
jwhitcraft-1LwPDYEpVrH2eFz...
2005 Dec 09
0
Element.setOpacity issue in script.aculo.us effects
In the Element.setOpacity method definition in effects.js, there is a
line that sets the opacity to 0.999999 if the requested opacity is 1.
This is clearly there for a reason, but having a very slight
transparency actually makes my pages look bad - images are the worst,
but I can see the backgrounds through my supposedly...
2006 May 05
2
Effects in IE
I mentioned this before, but it would seem that in IE no matter what I do, if elementNode.setOpacity() or elementNode.getOpacitiy() is called then IE will throw a run time error saying that the function does not exists. This makes it quite hard to work with any of the effects that fade elements in and out. Is there a remedy for this?
I know if you do Element.getOpacity or Element.setOpacity it...
2007 Jun 26
5
Migration of Effect from 1.4.0 to 1.5.1
Hi,
Is there migration for custom Effect between prototype/scriptaculous
1.4 and 1.5 ?
Kevin Davis send me it''s cool Poof Effect but it seems to be tooooo
fast in last version of scriptaculous. I think it comes from the code
? But I don''t know the best way to correct that ?
Here is a copy/past of his mail for anybody interested in his Effect:
>
> Hey there, sorry for
2007 Jun 04
2
Re: Ajax.Request question with JSON return
...ion(){
> $(''txtRefNotes'').value = ''hello''; //this worked
> // $(''txtRefFirstName'').value = oUser.FName; //was
> hoping I could do this, but it didn''t work
> Element.setOpacity(resultDomElem, 0.0); Effect.Appear(resultDomElem,
> { duration: 0.5 });
> new Effect.Highlight(resultDomElem,
> {startcolor:CEB195, endcolor:F8F8D2});
> }
> }
> );
>
--~--~---------~--~----~------------...
2005 Dec 15
1
Some handy methods - perhaps cool enough to be committed some time
...instance of area
- Element.getPosition(element) - retrieves the position of an element
- Element.setPosition(element,position) - sets the position of an element
- Element.getSize(element) - retrieves the size of an element
- Element.setSize(element,position) - sets the size of an element
- Element.setOpacity(element,opacity) - sets the opacity of an element
(0-100)
- System.getWindowSize() - gets the size of the window
- System.setWindowSize(size) - sets the size of the window
- System.getScreenSize(availspaceonly) - gets the size of the screen.
argument i boolean. False = screenresolution, True =...
2006 May 02
0
IE DragDrop Oppacity Error
...this.element.setStyle({zoom: 1});
var options = Object.extend({ //Break here on error
from: this.element.getOpacity() || 0.0,
to: 1.0
}, arguments[1] || {});
this.start(options); //Till here
},
update: function(position) {
this.element.setOpacity(position);
}
});
The situation:
I created new draggable elements, upon clicking and dragging the first thing that happens is the error specified. I know that it is happening in the Effect.Opacity object because the item is made slightly translucent (default behavior) on pickup. However, I d...
2005 Sep 02
0
altering revert effect based on if dropped on given droppable?
...ptions = Object.extend({
from: 1.0,
to: 0.0,
afterFinish: function(effect)
{
alert(element.style.left);//ok this works
element.style.width = "330px"; // and this
oEl = $(element);
oEl.style.left = ''500px'' //and this
effect.setOpacity(1);
}
}, arguments[1] || {});
return new Effect.Opacity(element,options);
}
maybe my brain is too tired but I can''t see how in the FadeAndRevert
function I can get the drag images origional location before it was dragged?
Any thoughts on a postcard please
Rob C
2006 Feb 03
2
Scriptaculous: Newbie question - Effect.fade
Hi there,
Is it possible to do an effect.fade without removing the hidden document
from the flow when in becomes invisible?
I have a line of images (initially all invisible)
[] [] [] [] []
And a list of links
- link 1
- link 2
- link 3
- link 4
- link 5
And what I want to happen is to have the images appear on link mouseover
and disappear on mouseout but for the images to maintain their