|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Problems with expand/collapse
Last night I changed the way Scripting News is rendered in HTML, and while it works in Firefox on the Mac (the browser that I use) it is broken in a bunch of others. This afternoon I'm going to try to get it working everywhere.
1. Apparently the <a name="xxx"> element is causing a problem, the purpose of it is to enable permalinks to work within the archive pages, Colin suggests making this the name of the <div>, so that's what I did. (This got today's elements expanding and collapsing in IE, but not older days. Very weird.)
2. In the stylesheet, added width:400px; to both .show and .hide and padding-left:15px; to .show. (That successfully widened the body of each post in MSIE.)
3. I eliminated the table I was using to indent the body text. (Now the older days expand and collapse. Hurrah!)
5. At this point it appears to work in both MSIE 6 and Firefox/Mac. I will now download Opera and try it there. (Downloaded and installed, but I can't get it to display any web pages including scripting.com. Very very strange. If you have Opera installed, could you try clicking on the pluses and minuses on scripting.com and let me know if it works. Apparently it does.)
|
Last update: Thursday, June 3, 2010; 4:01:53 PM
Mail: |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
© Copyright 1997-2010 Dave Winer. Last build: 6/4/10; 7:39:56 AM. "It's even worse than it appears." Previous / Next |
||||||||||||||||||||||||||||||||||||||||||||||||||||