Skip to content

Ecce Signum

Immanentize the Empathy

  • Home
  • About Me
  • Published Works and Literary Matters
  • Indexes
  • Laboratory
  • Notebooks
  • RSS Feed

Day: August 21, 2002

Creak

2002-08-21 John Winkelman

Quick update today. Altered the stylesheet a little, obviously. Also changed the way the photo pages work, in order to get around some absolutely infuriating glitches in, well, every browser out there. And never the same glitch twice. All this from XHTML and CSS which conforms to all the latest standards.

Stupid browsers.

In order to make the pictures work I had to perform a (*gasp*) browser check.

if(document.all) {
 document.getElementById("picCaption").innerHTML = t.value;
 } else {
 document.getElementById("picCaption").innerHTML = t.attributes["value"].value;
 }

The first time I have had to do that on my site in seven months. The sharp-eyed of you will notice that I am using a non-standard HTML attribute, “value”, associated with an image. I figure, XHTML is just a flavor of XML, like MathML, or WDDX. Therefore, it is eXtensible! Why NOT use custom tags? Micro$oft does it all the time. That is why I made the browser-check as insulting as possible by checking for the obsolete (document.all) feature in IE6.

Posted in Programming comment on Creak

Personal website of
John Winkelman

John Winkelman in closeup

Archives

Categories

Posts By Month

August 2002
S M T W T F S
 123
45678910
11121314151617
18192021222324
25262728293031
« Jul   Sep »

Links of Note

Reading, Writing
Tor.com
Locus Online
The Believer
File 770
IWSG

Watching, Listening
Writing Excuses Podcast
Our Opinions Are Correct
The Naropa Poetics Audio Archive

News, Politics, Economics
Naked Capitalism
Crooked Timber

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

© 2025 Ecce Signum

Proudly powered by WordPress | Theme: x-blog by wpthemespace.com