Posts tagged ‘html’
Beating the spread
December 19th, 2011 at 10:15 pm by Dr. Drang
I have a weakness for parenthetical comments. Usually they’re not in parentheses—my real penchant is for dashes—but whatever punctuation I use, I love to shoehorn extra comments into my sentences. And ever since I adapted Lukas Mathis’s popup footnote JavaScript to work here, I’ve been sticking footnotes into almost every post. The problem with footnotes…
Span alignment trick
June 21st, 2011 at 5:37 pm by Dr. Drang
This is a bit off my normal track, but it’s a cute little HTML/CSS trick you may find useful. The neighborhood pool my family belongs to has a water polo team that plays the other pool teams in the area. My boys play on the team, and my wife and I volunteered to do some…
Fraction practice sheet
January 5th, 2011 at 10:57 pm by Dr. Drang
I had a long drive today, and I passed the time by thinking about making a new set of math practice sheets for my ten-year-old son. This year has been fraction-heavy, so I thought I’d start with a simple one: a page with a bunch of proper fractions that may or may not need to…
Embedded Google maps
July 14th, 2010 at 11:52 pm by Dr. Drang
I’m my company’s default webmaster, and I spent a few hours today learning how to embed Google maps into our web pages. I figured I’d write up an example before I forget. There’s a whole family of Google Maps APIs, covering JavaScript, Flash, static images, Google Earth images, and more. The JavaScript API makes the…
Scientific American screws up Martin Gardner’s last article
May 30th, 2010 at 12:40 am by Dr. Drang
Scientific American has republished on its web site Martin Gardner’s last article for the magazine. It’s from 1998, well after Gardner stopped his long-running “Mathematical Games” column. Unfortunately, SA screwed up the article’s HTML, making part of it incomprehensible. Here’s the section that’s messed up: Let me propose to teachers the followingexperiment. Ask each group…
Sound on a web page
May 14th, 2010 at 4:22 pm by Dr. Drang
In last night’s post, I included some code to embed a little audio player in the page. There are many ways to do this, and I spent entirely too much time exploring them to ever want to do it again. So here’s (almost) everything I know on the subject. Standard link You don’t really have…
Scrolling simply
April 23rd, 2010 at 7:33 pm by Dr. Drang
I’m not an HTML/CSS tips kind of blogger, but I was testing some new design ideas for my company’s web site today, and I ran across simplyScroll by Logicbox. It’s very nice as is, and you can easily improve it. SimplyScroll is a jQuery plugin that takes a series of images—all of which must be…
What’s wrong with Roger Ebert’s blog
March 9th, 2010 at 12:21 pm by Dr. Drang
It’s not the content, of course, it’s the formatting. Have you tried to read his RSS feed on an iPhone? I started reading Roger’s latest blog entry this morning and ran into the same problem I always do when reading him on my iPhone. The screenshot above is from the MobileRSS feed reader, but I…
HTML notes
January 14th, 2010 at 11:12 pm by Dr. Drang
Every once in a while, I spend a little time Googling to see if someone has made a personal wiki system—or any wiki system, really—that will work better for my project notes than the home-grown system I developed a couple of years ago. When I took one of those trips around the internet last week,…
MathJax: equations on the web
December 15th, 2009 at 10:15 pm by Dr. Drang
When I started reading the MathJax homepage, I wondered why I would ever want to switch to it from the tried and true jsMath, which I’ve used for years to get good looking equations in my web page. Then I saw that Davide Cervone, the creator of jsMath, is one of the MathJax designers, and…



