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.
What is this effect called?
Moderator: General Moderators
-
captcadaver
- Forum Newbie
- Posts: 17
- Joined: Fri Jul 17, 2009 11:12 pm
Re: What is this effect called?
I'm not sure what you mean.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Re: What is this effect called?
You mean like createElement() and appendChild()?
-
captcadaver
- Forum Newbie
- Posts: 17
- Joined: Fri Jul 17, 2009 11:12 pm
Re: What is this effect called?
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!!
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!!
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
Re: What is this effect called?
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
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