Help, I need really solid expand-collapse codeThursday, October 18, 2007 by Dave Winer. I really need a rock-solid expand-collapse display that I can integrate with Scripting News. If you're reading this in RSS, flip over to the home page and have a look. See how the pluses and minuses work? There are a bunch of problems: 1. Doesn't work in Opera. Deal-stopper. Opera users are cool folk. 2. I don't like the indentation. I want the text flush-left. 3. Takes too long to display. I want it to be instantaneous. 4. Must be multi-level. I haven't tested the code I'm using with more than two levels. I know it can be much better, because I see it done better in lots of places. Looking for help from people who know their Javascript. Me, I'm into other things (obviously). Mock up a Scripting News home page with your code, and post a pointer, and we'll test it out. When it's done, everyone will be able to use it. BTW, I know there are people from the Radio community that have stuff in this area, I just don't know how well supported the stuff is these days. It's been a while. Colin Faulkingham has a mockup that works in Opera, etc. |