search for: effect2

Displaying 11 results from an estimated 11 matches for "effect2".

Did you mean: effect
2005 Jun 27
1
stage left and right effects
..."amount" to initially shake the element by. So in StageLeft''s case, it moves -20 left, 40 right and then -1000 left and finally renders the element hidden. The opposite holds for StageRight. Feel free to use it for whatever you like and any suggestions are welcome. Andrew Effect2.StageBase = function(element, amount) { new Effect2.MoveBy(element, 0, amount, { duration: 0.05, afterFinish: function(effect) { new Effect2.MoveBy(effect.element, 0, -(amount*2), { duration: 0.05, afterFinish: function(effect) { new Effect2.MoveBy(effect.element, 0, amount...
2005 Jun 24
1
Blind Toggle "effect"
...orrectly or if it can be done better. I am using it though and it seems to be working fine. Anyway, here''s the code and if you think it''s worthy of being in the main lib, then go ahead and add it, otherwise, use it alone if you think it''s useful to you. Thanks, Andrew Effect2.BlindToggle = function(element) { $(element).style.display == ''none'' ? new Effect2.BlindDown(element).extend(arguments[1] || {}) : new Effect2.BlindUp(element).extend(arguments[1] || {}) }
2005 Jun 24
1
Executing custom effect for n seconds
...ustom 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 FadeIn(element, {afterFinish: new Fadeout}) } Effect.Pulsate = function(element) { render(Effect2.Pulse, {duration: 10}); } I have most of this working, but the Pulse effect only runs 1, and when supplied with duration: n, it will take n seconds to rende...
2011 Jan 14
2
read in data, maintain decimal places
...maintain the number of decimal places in the type of situation below? I would like to maintain the number of decimal places in 0.667, despite the fact that its column-mates have a fourth decimal place. Thank you for your time. Jim dat.txt contents: MARKER ALLELES FREQ1 RSQR EFFECT2 STDERR CHISQ PVALUE rs6599753 C,T .2087 .1866 0.166 0.387 0.1850 0.6671 rs12443141 A,T .2087 .1868 0.166 0.386 0.1851 0.667 rs12905389 A,G .2806 .6149 -0.038 0.193 0.0381 0.8452 R: >dat = read....
2005 Jun 24
3
flashing divs in IE with use of BlindUp and BlindDown
...avascript_include_tag ''effects2'' %> <script type="text/javascript"> var selected = '''' function selectBatch() { if (selected == ''single'') Element.hide(''single'') selected = ''batch'' new Effect2.BlindDown(''batch'') } function selectSingle() { if (selected == ''batch'') Element.hide(''batch'') selected = ''single'' new Effect2.BlindDown(''single'') } function selectNone() { if (selected != ''...
2011 Jan 26
2
write.table -- maintain decimal places
Hello, All, How can I maintain the decimal places when using write.table()? Jim e.g. df: EFFECT2 PVALUE 1 0.023 0.88080 2 -0.260 0.08641 3 -0.114 0.45200 write.table(df,file='df.txt',quote=F,sep='\t',row.names=F) df.txt: EFFECT2 PVALUE 0.023 0.8808 -0.26 0.08641 -0.114 0.452 [[alternative HTML version deleted]]
2005 Jun 28
1
Thomas script.aculo.us (important bug and add ons)
...eds to sit in the DOM at all. No cleanup necessary then as the element never refers to the javascript instance. Sorry I''m not a huge help. Just ran across this today while trying out some of your code so I''m not intimately familiar with your code yet. Also, a final bug notice on Effect2.Appear(). There is no way to cancel the effect which is important when the same effect is launched on the same element. My workaround was to not use the Appear effect and use the opacity effect directly and then call the cancel method on that. Basically I always kept track of the last effect and th...
2003 Oct 22
1
passing a variable (containing the value of the argument) to a function
...ious question put in a simpler way: How would I pass a value of a variable to a function such as lm(Effect1~Trt*Dose, data = x, contrasts = list(Trt = contr.sum, Dose = contr.sum))? Here, 'Effect' is a column name in my data matrix, and I want "Effect1" to be replaced by "Effect2" and so on (my other column names in the data frame) for successive anova calculations. So I am storing the column names as an array, and passing the array as a parameter to the lm() function. Thanks, ----- Forwarded by Subramanian Karthikeyan/HC-SC/GC/CA on 2003-10-22 01:47 PM -----...
2008 May 08
3
lme nesting/interaction advice
Hi everyone, I am confused on how to specify some nesting and interaction terma with lme(). I have a dataset where some flies where selected for accessory gland size, made to mate in presence/absence of another male and the level of some protein measured. Now the complex stuff. The selection has been replicated twice, so that the selection term has got two levels (large and small) with
2005 Jun 28
0
New beta of script.aculo.us
...on pages with no droppables * Added Effect.Transitions.pulse * Added Effect.Pulsate and Effect.Fold effect by Justin Palmer * Added transitions by Mark Pilgrim: .full, .none * Added effects by Mark Pilgrim: Effect.Grow, Effect.Shrink * Changed effects namespace to Effect. (Effect2 is deprecated, but works too) * Added Element.setContentZoom() function * Added expanded Effect.Highlight ("Yellow Fade Technique") to have user-defined colors and autodetecting the background color * Sortable.create passes the zindex, starteffect, reverteffect and en...
2005 Jun 29
0
Effects flicker in firefox when called with setTimeout
...;dragdrop.js" type="text/javascript"></script> <script language="javascript" type="text/javascript" src="effects2.js"></script> <script language="javascript" type="text/javascript"> function hide() { new Effect2.Fade("box"); } window.onload = function() { setTimeout("hide()",2000); } </script> </head> <body> <div id="box" style="width: 300px; margin: 10px; padding: 30px; border: 1px solid red; background: #000;"> <div style=&quo...