Displaying 20 results from an estimated 200 matches similar to: "One content at a time - Effect.toggle"
2007 May 15
3
NOOB question RSPEC
Hi all !!
I have this code:
require ''account''
describe Account, "when first created" do
before do
@account = Account.new
end
it "should have a balance of $0" do
@account.balance.should eql(Money.new(0, :dollars))
end
after do
@account = nil
end
end
How can I pass the @account.balance.should eql(Money.new(0, :dollars))
spec. From my
2005 Oct 17
11
a better question
I''m trying to call a click() event on an <a href> that has an
Observable registered for it. Something like:
<a href="#" id="toggle_1929">show</a>
...
Event.observe("toggle_1929", ''click'', function(event){ Element.toggle
("group_1929"); return false; });
...
$("toggle_1929").click(); //this throws
2008 May 17
7
SAMBA PDC with LDAP backend syncing unix/samba accounts ...
Hi all ,
I'm running Debian Etch . I just finished
configuring SAMBA
as PDC to authenticate against LDAP server which works.
The system in question uses default debian etch packages.
As My Linix/unix accounts can authenticate against it. The
LDAP works.
I Used the default shipped smbldap-populate script to
setup SAMBA.
Everything seems to work as Anonymous User or as
user
2008 Apr 07
4
Staff Manager tutorial from "Prototype and script.aculo.us" by Christophe Porteneuve
Hi there,
Taking my first steps in Prototype and reading this very helpful book
by Christophe Porteneuve. There''s an interesting tutorial (Chpt. 7) on
making a tree to organize staff members. The problem is that I can''t
make it working in IE. In Firefox it works just great.
Did anybody fiddle with it? Maybe somebody has already figured it out.
IE says
2010 Jun 05
2
how to use 'points' function to plot two curves with errbar
Dear R Users,
I am using R on windows.
how to use 'points' function to plot two curves with errbar
I am doing like:
x.val <- as.integer(names(co2mean))
errbar(x.val, co2mean, co2mean + co2sd, co2mean - co2sd, xaxt='n', col=1,
xlab=NA,ylab=NA)# obs error bar
lines(x.val, co2mean, col=1, lwd=2)
errbar(x.val, co2tm3.month.mean, co2tm3.month.mean + co2sd.tm3,
co2tm3.month.mean -
2007 Sep 04
3
how to do interpolation
Hello R Users,
How to make a variable equidistance with time i.e. how to interpolate a
variable if it is not sampled at equal time interval.
Many thanks,
Regards,
Yogesh
[[alternative HTML version deleted]]
2013 Aug 19
2
[LLVMdev] [cfe-dev] -fsanitize=address on centos 6.4
GNU ld version 2.20.51.0.2-5.36.el6 20100205
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
From: Kostya Serebryany [mailto:kcc at google.com]
Sent: Monday, August 19, 2013 5:36 AM
To: Sergey Matveev
Cc:
2010 Dec 21
4
how to control ticks
Hi,
I want 12 ticks at axis 1 and want to write Jan-Dec on each.
something like:
axis(1, at=1:12, labels=c('J','F','M','A','M','J','J','A','S','O','N','D'))
I could omit default ticks but now how to control ticks.
plot(file$time, file$ch4*1000, ylim=c(1500,1700), xaxt='n', xlab= NA,
2015 Feb 11
2
[LLVMdev] poolalloc and steensgaard
Hi Daniel,
To my knowledge, there is no other implementation available for Steensgaard
AA except poolalloc.
I have tried Steensgaard AA under LLVM 2.7 poolalloc, but there are lots of
bugs which need to be fixed. It will be a good idea to use previous
implementation, but you will have to modify (a lot) it with respect to the
latest version of LLVM poolalloc.
Thanks,
-Yogesh
-------------- next
2012 Jun 11
1
[PATCH 10/21] nouveau: Add support for ARB_sampler_object
ARB_sampler_object is very simple software only extension to support.
I want to make it mandator extension for Mesa drivers to allow meta
module to use it.
This patch add support for the extension to nouveau. It is completely
untested search and replace patch. I hope someone with old NV hardware
could give a try that there is no regressions and ARB_sampler_object
tests passes.
Signed-off-by:
2006 Dec 14
0
feature request: config option to toggle scheduled jobs based on environment
I have BackgrounDRb configured to handle two cases of long-running tasks:
(1) on-demand user triggered requests for some action, and (2) scheduled
background running of tasks on a predetermined schedule.
In my particular case, we have a publication task that can take several
minutes to perform. Users can setup a regular publication schedule, or can
hit a ''publish now'' button to
2006 Jun 06
2
Toggle css for display on page load?
In my layout I have a navigation bar with a few elements in it. The
elements can be toggled on or off and thereby reveal or conceal some
subtopics. I store the state of the toggle for the navigation elements
in the session.
When the page is reloaded, the navigation items are collapsed because
the css for display: none is set by default in the html for the
navigation elements. Is there a
2006 Jun 26
1
RJS visual_effect toggle?
Is there a way to toggle an effect in an RJS? If not, anyone have
recommendations for how to manually make it toggle? I guess I would
assume some boolean that the rjs checks everytime it''s called and
depending on whether it''s true or false it will do page.visual_effect
:appear or page.visual_effect :hide
-Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 May 03
4
Simple Toggle Question
I''m having trouble with the toggle() function from prototype.
Basically I want the element hidden by default, and I can''t seem to do
it.
My code:
The CSS:
#furtherinfo {
dislplay: none;
}
The View:
<%= link_to_function(''Further Information'',
"Element.toggle(''furtherinfo'')") %>
<div id="furtherinfo">
2006 Jun 14
0
weird toggle behavior on IE
Hi,
Just found out this weird bug in IE (or I probably should say IE bug that
needs workaround?)
This works in IE, FF
document.getElementsByClassName(''box'').each (
function(e) {new Effect.toggle(e, ''blind''); }
);
But this doesn''t work in IE
document.getElementsByClassName(''box'').each (
function(e) {new Effect.toggle(e,
2005 Oct 15
3
latest prototype breaks toggle
I''ve found that when I revert this change, toggle works again.
Otherwise, it''s broken (Mac OS Tiger, Safari and Firefox):
- element.style.display =
- (element.style.display == ''none'' ? '''' : ''none'');
+ Element[Element.visible(element) ? ''show'' : ''hide''](element);
I looked
2005 Aug 30
0
content slide in out / simple toggle of content
Hi All,
I have been trying to get a toggle tab system working with protoype
effects. The best example of what I want is shauninman.com (the nav/search)
I intend to have a sidebar and an expandable horizontal tab both of
which can be toogled in and out of place.
for example the sidebar (which will contain a tree menu (like windows
explorer))
Mark Up
---
<div
2005 Jun 24
1
Blind Toggle "effect"
I wrote a simple toggle function similar to Element.toggle that will
toggle a section between being up and down using the Blind effect.
I''m relatively new to the code, so I''m not sure if it''s implemented
100% correctly 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
2007 Apr 04
0
SV: toggle.appear focus on div problem / question
Is this what you want: http://prototypejs.org/api/element/scrollto
-Tobias
-----Oprindelig meddelelse-----
Fra: rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-spinoffs@googlegroups.com] På vegne af natquick
Sendt: 4. april 2007 12:53
Til: Ruby on Rails: Spinoffs
Emne: [Rails-spinoffs] toggle.appear focus on div problem / question
Hi there,
Can anyone help me,
2008 Jun 01
2
Mouse warping, toggle option
One of the nagging issues that has been around for awhile with wine is "mouse warping"
In some cases it doesn't place nice with the house environment, in other cases it doesn't play nice with the game, and overall it's a bit of an annoyance.
Would it be possible to introduce an option to wine that would allow one to select whether warping is used (maybe a checkbox for