Hello, I want to have my box that I''m sliding down hidden when I start and then slidedown to 100px. What is the best way to do this? I don''t see anything on the wiki about it. Thanks, <http://zend.com/zce.php?c=ZEND002524&r=212822110> Jon Whitcraft Indianapolis Motor Speedway jwhitcraft-1LwPDYEpVrH2eFz/2MeuCQ@public.gmane.org Phone: (317) 492-8623 :: Fax: (317) 492-6419 ******************** ******************** This E-mail (and attachments) may contain confidential/privileged information intended only for the named addressee(s). If you are not an intended recipient, do not read, copy, disseminate or take any action based on the content of this E-mail. Please notify the sender by reply E-mail and erase this E-mail from your system. Your assistance is appreciated. E-mail transmission may not be secure or error-free. The company is not responsible for any loss/damage arising from any virus transmitted. ******************** ******************** _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Just to clarify:
Are you trying to make a DIV element that is hidden, slide down
100px and then show when it finishes moving? Or are you trying to have a DIV
element slide down 100px and fade into visibility while moving?
...can you take the time to actually re-read what you type?
-Andrew Martinez
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]On
Behalf Of Whitcraft, Jon
Sent: Thursday, April 27, 2006 2:46 PM
To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: [Rails-spinoffs] effect.SlideDown question
Hello,
I want to have my box that I''m sliding down hidden when I start and
then slidedown to 100px. What is the best way to do this? I don''t see
anything on the wiki about it.
Thanks,
<http://zend.com/zce.php?c=ZEND002524&r=212822110>
Jon Whitcraft
Indianapolis Motor Speedway
jwhitcraft-1LwPDYEpVrH2eFz/2MeuCQ@public.gmane.org
Phone: (317) 492-8623 :: Fax: (317) 492-6419
********************
********************
This E-mail (and attachments) may contain confidential/privileged information
intended only for the named addressee(s). If you are not an intended recipient,
do not read, copy, disseminate or take any action based on the content of this
E-mail. Please notify the sender by reply E-mail and erase this E-mail from your
system. Your assistance is appreciated. E-mail transmission may not be secure or
error-free. The company is not responsible for any loss/damage arising from any
virus transmitted.
********************
********************
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
I have a div that is hidden on my page. When I mouse over an image I
want the div to scroll down to 100px tall. I can get it to work when
the div is initially shown on the page at 100px tall but when I start it
out at 0px tall it doesn''t do anything and the only code that you can
pass is percentages not pixels to the effect. Is there a way to tell it
that I want it to go to 100px instead of 100% so that way I can start
out by having it at 0px tall.
Thanks,
<http://zend.com/zce.php?c=ZEND002524&r=212822110>
Jon Whitcraft
Indianapolis Motor Speedway
jwhitcraft-1LwPDYEpVrH2eFz/2MeuCQ@public.gmane.org
Phone: (317) 492-8623 :: Fax: (317) 492-6419
________________________________
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]
On Behalf Of
Martinez, Andrew
Sent: Thursday, April 27, 2006 2:51 PM
To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: RE: [Rails-spinoffs] effect.SlideDown question
Just to clarify:
Are you trying to make a DIV element that is hidden, slide
down 100px and then show when it finishes moving? Or are you trying to
have a DIV element slide down 100px and fade into visibility while
moving?
...can you take the time to actually re-read what you type?
-Andrew Martinez
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]On
Behalf Of
Whitcraft, Jon
Sent: Thursday, April 27, 2006 2:46 PM
To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: [Rails-spinoffs] effect.SlideDown question
Hello,
I want to have my box that I''m sliding down hidden when I start and
then
slidedown to 100px. What is the best way to do this? I don''t see
anything on the wiki about it.
Thanks,
<http://zend.com/zce.php?c=ZEND002524&r=212822110>
Jon Whitcraft
Indianapolis Motor Speedway
jwhitcraft-1LwPDYEpVrH2eFz/2MeuCQ@public.gmane.org
Phone: (317) 492-8623 :: Fax: (317) 492-6419
********************
********************
This E-mail (and attachments) may contain confidential/privileged
information intended only for the named addressee(s). If you are not an
intended recipient, do not read, copy, disseminate or take any action
based on the content of this E-mail. Please notify the sender by reply
E-mail and erase this E-mail from your system. Your assistance is
appreciated. E-mail transmission may not be secure or error-free. The
company is not responsible for any loss/damage arising from any virus
transmitted.
********************
********************
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
What you need to do is wrap your original DIV in another div that
doesn''t have a border and has its background color as transparent. Set
the containing DIV to have a height of 100px. Place your original DIV inside
this one with a height of 0px. Your call should still pass the original (now
inner) DIV element.
-Andrew Martinez
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]On
Behalf Of Whitcraft, Jon
Sent: Thursday, April 27, 2006 3:35 PM
To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: RE: [Rails-spinoffs] effect.SlideDown question
I have a div that is hidden on my page. When I mouse over an image I want the
div to scroll down to 100px tall. I can get it to work when the div is
initially shown on the page at 100px tall but when I start it out at 0px tall it
doesn''t do anything and the only code that you can pass is percentages
not pixels to the effect. Is there a way to tell it that I want it to go to
100px instead of 100% so that way I can start out by having it at 0px tall.
Thanks,
<http://zend.com/zce.php?c=ZEND002524&r=212822110>
Jon Whitcraft
Indianapolis Motor Speedway
jwhitcraft-1LwPDYEpVrH2eFz/2MeuCQ@public.gmane.org
Phone: (317) 492-8623 :: Fax: (317) 492-6419
_____
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]
On Behalf Of Martinez, Andrew
Sent: Thursday, April 27, 2006 2:51 PM
To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: RE: [Rails-spinoffs] effect.SlideDown question
Just to clarify:
Are you trying to make a DIV element that is hidden, slide down
100px and then show when it finishes moving? Or are you trying to have a DIV
element slide down 100px and fade into visibility while moving?
...can you take the time to actually re-read what you type?
-Andrew Martinez
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]On
Behalf Of Whitcraft, Jon
Sent: Thursday, April 27, 2006 2:46 PM
To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: [Rails-spinoffs] effect.SlideDown question
Hello,
I want to have my box that I''m sliding down hidden when I start and
then slidedown to 100px. What is the best way to do this? I don''t see
anything on the wiki about it.
Thanks,
<http://zend.com/zce.php?c=ZEND002524&r=212822110>
Jon Whitcraft
Indianapolis Motor Speedway
jwhitcraft-1LwPDYEpVrH2eFz/2MeuCQ@public.gmane.org
Phone: (317) 492-8623 :: Fax: (317) 492-6419
********************
********************
This E-mail (and attachments) may contain confidential/privileged information
intended only for the named addressee(s). If you are not an intended recipient,
do not read, copy, disseminate or take any action based on the content of this
E-mail. Please notify the sender by reply E-mail and erase this E-mail from your
system. Your assistance is appreciated. E-mail transmission may not be secure or
error-free. The company is not responsible for any loss/damage arising from any
virus transmitted.
********************
********************
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Set it to 100px, and add display:none; to the inline style.>From the wiki (http://wiki.script.aculo.us/scriptaculous/show/Effect.BlindDown): Also, if you would like the block hidden when someone first lands on your page, you must use the "display: none" property within the style attribute of the div/block tag, and not in the CSS class for the div. For example: <div style="display: none" id = "id_of_element"> Blind content </div> and not: #id_of_element{ display: none; etc... } See other CombinationEffects<http://wiki.script.aculo.us/scriptaculous/show/CombinationEffects> -Jerod <http://wiki.script.aculo.us/scriptaculous/tags/effects> On 4/27/06, Whitcraft, Jon <jwhitcraft-1LwPDYEpVrH2eFz/2MeuCQ@public.gmane.org> wrote:> > I have a div that is hidden on my page. When I mouse over an image I > want the div to scroll down to 100px tall. I can get it to work when the > div is initially shown on the page at 100px tall but when I start it out at > 0px tall it doesn''t do anything and the only code that you can pass is > percentages not pixels to the effect. Is there a way to tell it that I want > it to go to 100px instead of 100% so that way I can start out by having it > at 0px tall. > > > > Thanks, > > > > <http://zend.com/zce.php?c=ZEND002524&r=212822110> > > Jon Whitcraft > Indianapolis Motor Speedway > jwhitcraft-1LwPDYEpVrH2eFz/2MeuCQ@public.gmane.org > > Phone: (317) 492-8623 :: Fax: (317) 492-6419 > > > ------------------------------ > > *From:* rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto: > rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] *On Behalf Of *Martinez, > Andrew > *Sent:* Thursday, April 27, 2006 2:51 PM > > *To:* rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > *Subject:* RE: [Rails-spinoffs] effect.SlideDown question > > > > Just to clarify: > > > > Are you trying to make a DIV element that is hidden, slide > down 100px and then show when it finishes moving? Or are you trying to have > a DIV element slide down 100px and fade into visibility while moving? > > > > …can you take the time to actually re-read what you type? > > > > -Andrew Martinez > > > > -----Original Message----- > *From:* rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto: > rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]*On Behalf Of *Whitcraft, Jon > *Sent:* Thursday, April 27, 2006 2:46 PM > *To:* rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > *Subject:* [Rails-spinoffs] effect.SlideDown question > > > > Hello, > > > > I want to have my box that I''m sliding down hidden when I start and then > slidedown to 100px. What is the best way to do this? I don''t see anything > on the wiki about it. > > > > Thanks, > > > > <http://zend.com/zce.php?c=ZEND002524&r=212822110> > > Jon Whitcraft > Indianapolis Motor Speedway > jwhitcraft-1LwPDYEpVrH2eFz/2MeuCQ@public.gmane.org > > Phone: (317) 492-8623 :: Fax: (317) 492-6419 > > > > ******************** > > ******************** > > This E-mail (and attachments) may contain confidential/privileged > information intended only for the named addressee(s). If you are not an > intended recipient, do not read, copy, disseminate or take any action based > on the content of this E-mail. Please notify the sender by reply E-mail and > erase this E-mail from your system. Your assistance is appreciated. E-mail > transmission may not be secure or error-free. The company is not responsible > for any loss/damage arising from any virus transmitted. > > ******************** > > ******************** > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs