Page 1 of 1

What is this effect called?

Posted: Mon Sep 14, 2009 11:26 pm
by captcadaver
Hi, I'm looking for a particular JavaScript effect that does the following:

If I click x, then one element per line will be rendered below.

Re: What is this effect called?

Posted: Tue Sep 15, 2009 10:16 am
by pickle
I'm not sure what you mean.

Re: What is this effect called?

Posted: Tue Sep 15, 2009 10:52 am
by jackpf
You mean like createElement() and appendChild()?

Re: What is this effect called?

Posted: Tue Jan 12, 2010 1:52 am
by captcadaver
I'm pretty noob with JavaScript, so I apologize. I'm sure this is a MooTools or jQuery effect.

Let's say I've got a list of campus dormitories, organized like so:

Dormitories
-Illinois Street Residences
-Florida Avenue Residences
etc...

When the user first loads the page, all they see is:

Dormitories

When the user clicks "Dormitories", there is a downward sliding effect and each individual dormitory is revealed in descending order.

I have a second effect I'm wondering about. I am using my monitor to display a hypothetical web page with a box that contains information. I want to, every 30 seconds, change the information that appears in the box. I want to cycle between three sets of information. How can I do this?

Let me know if I'm still being vague. Thanks!!

Re: What is this effect called?

Posted: Wed Jan 13, 2010 11:54 am
by daedalus__
something that appears to be an animation is probably a jQuery effect.

you could load the data to display dorms a couple of different ways.

if you want to change something every 30 seconds you can use the setInterval() function