I got this out off of another thread, but I have a question about it. I'm creating an expandable/collapsible list, using this code, but I need the list to be collapsed when you first come onto the page (instead of expanded, like it is now).
I'm obviously a complete beginner at web development, and I just need to know because I'm just creating a new website for our department.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
Just so you know, this script seems very fragile since you have to know the exact height of the container that's sliding, and confusingly you have to enter this in multiple locations throughout the code. Also, as written, you could only use this on a page for 1 slider.
Every fight is a food fight when you’re a cannibal.