Tech Note: Moving the Deck Chairs on the Spaceship

Charles Johnsonfollow me on twitter
Sat Jul 5, 2008 at 6:30 pm PDT • Views: 157

I’ve been using that Flippy Triangle technique to organize more of the stuff that used to be visible by default in our left sidebar, like the Statistics, the Tag Cloud, and the contact form. This user interface saves a lot of space; in fact, the sidebar looks almost naked with everything tucked away.

I didn’t do this just for the cleaner look, though; the statistics display now refreshes via Ajax every time you show that flippy menu item. Ajax is also used to dynamically refresh the LGF Headlines, Top 10 Comments, and Recent Comments sections in the same way. And the contact form uses an Ajax token-based technique that prevents it from being abused by mindless spambots, so I don’t get hundreds of contact emails with links to poker sites and weird German porn.

Advertisement

119 comments

^ back to top ^

Name:

Pass:

Register Forgot Your Password? Account Settings Re-send Confirmation (To log in, cookies must be enabled in your browser!)

Turn off ads by subscribing!
For about 33 cents a day, our subscription option turns off all advertisements at LGF!
Read more...


► LGF Headlines

  • Loading...

► Tweeted Articles

  • Loading...

► Tweeted Pages

  • Loading...

► Top 10 Comments

  • Loading...

► Bottom Comments

  • Loading...

► Recent Comments

  • Loading...

► Tools/Info

► LGF Hits

► Resources

► Never Forget

► Statistics

► Tag Cloud

► Contact

You must have Javascript enabled to use the contact form.
Your email:

Subject:

Message:


Messages may be published in our weblog, unless you request otherwise.
Tech Note:
Using the Contact Form

More Partners

Compare Electricity Prices in your area. Texas Electricity is deregulated; you have the right to choose Texas Electric Rates from among many Texas Electric Companies.

When you see a turtle on a fence post, what’s the one thing you know?

TwitterFacebook
LGF Pages
Recent Pages

researchok
Obama Budget: National Debt Will Be $1 Trillion Higher in a Decade Than Previously Forecast
8 minutes ago
Views: 19 • Comments: 0
Tweets: 0 • Rating: 0

Interesting Times
24 Hours to Stop Keystone XL
52 minutes ago
Views: 37 • Comments: 0
Tweets: 0 • Rating: 0

researchok
California's Nuclear Alarm Bells
56 minutes ago
Views: 37 • Comments: 0
Tweets: 0 • Rating: 1

researchok
Room for Lobbyists in Romney Campaign
1 hour, 1 minute ago
Views: 33 • Comments: 0
Tweets: 0 • Rating: 0

researchok
Komen Founder Nancy Brinker's Mysterious Expense Report
1 hour, 3 minutes ago
Views: 47 • Comments: 0
Tweets: 0 • Rating: 0

Channeling Confucius
The Parts of Obama's Budget That May Actually Get Passed - the Atlantic Wire
1 hour, 7 minutes ago
Views: 22 • Comments: 0
Tweets: 0 • Rating: 0

Bob Dillon
Molecules From Scratch Without the Fiendish Physics
1 hour, 13 minutes ago
Views: 27 • Comments: 0
Tweets: 0 • Rating: 0

researchok
Israel accuses Iran in attack targeting diplomats in India, Georgia
1 hour, 16 minutes ago
Views: 38 • Comments: 0
Tweets: 0 • Rating: 1

Channeling Confucius
Wherefore Art Thou ACLU? Only certain civil liberties need apply. - Charles C. W. Cooke - National Review Online
2 hours, 9 minutes ago
Views: 78 • Comments: 1
Tweets: 0 • Rating: 0

Channeling Confucius
6 Pop Culture Mysteries That Were Solved by Fans
2 hours, 14 minutes ago
Views: 62 • Comments: 0
Tweets: 0 • Rating: 0

 Frank says:

Americans like to talk about (or be told about) Democracy but, when put to the test, usually find it to be an 'inconvenience.' We have opted instead for an authoritarian system disguised as a Democracy. We pay through the nose for an enormous joke-of-a-government, let it push us around, and then wonder how all those assholes got in there.