CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
JavaScript Jungle
Help adding text description to a simple JS statement
abbeynormal
Permalink to comment
#
January 2010
My JS to switch videos is working great here:
http://www.angryvillagersproductions.com/Portfolio.html
but like in my old portfolio, I would like to add a description to each video:
http://www.angryvillagersproductions.com/origPort.html
Should I just add an additional IF to the JS? I don't know where to start to add to the existing statement.
Add a Comment
http://www.angryvillagersproductions.com/Portfolio.html
but like in my old portfolio, I would like to add a description to each video:
http://www.angryvillagersproductions.com/origPort.html
Should I just add an additional IF to the JS? I don't know where to start to add to the existing statement.