alexking.org

Main Navigation

  • Blog
  • Projects
  • Sports
  • About
  • Contact

Font Size Switcher

December 23, 2006

I get a fair number of e-mails asking if the Font Size switcher in my sidebar is a WordPress plugin or where to find it. I built it based on this tutorial at A List Apart.

Sorry Safari users, Safari chokes hard on this technique. I recommend using a better browser.

I also added this info to my About page, on the off chance someone actually thinks to look there. :)

14 Replies

Categories alexking.org, Development

  • 14 Replies
  • 13 Comments
  • 0 Tweets
  • 0 Facebook
  • 1 Pingback
Last reply was 1726 days ago
  1. Vincent
    View 1872 days ago

    I’d be happy if you could make this a wordpress plugin. Still have no idea how to make it on my blog.

    Reply
  2. Erik J. Barzeski
    View 1872 days ago

    C’mon now, the slam on Safari is probably not needed. You had a choice: explain why it doesn’t work on Safari (even as simple as “poor _______ support”) or to make an uninformative slam. I’m disappointed that you chose the latter.

    And yes, I like Safari. I’ll leave it at that.

    Reply
  3. Alex
    View 1872 days ago

    A search on Safari on this blog will net you a list of Safari specific bugs (for a while it was a new show-stopper with every new release) that I’ve had to code around in my software. I’m not a fan.

    If I have the font switcher enabled in Safari, it freaks out hard. You probably have the debug menu enabled in Safari, tell Safari to masquerade as a different browser and visit here. You’ll find that you can’t click some links, stuff flickers all over the place, and at times flies around on you.

    I don’t know what the actual Safari bug is, several days of debugging it netted no useful info to me.

    Reply
  4. Erik J. Barzeski
    View 1872 days ago

    I changed user agents (Mozilla 1.1) and the font switcher works quite wonderfully in Safari 2.0.4. I realize you may primarily be speaking of older versions of Safari, but in this case, all appears well. I doubt you’ll require a movie screen capture to prove it, but I’d be willing to make one to show you. I also clicked around and spent some time on your blog and encountered nothing I’d consider weird or unusual.

    I did do a search on your blog at your suggestion, and found very, very few Safari bugs. In fact, I found more posts saying something worked on Safari than not (often while you were testing IE workarounds). I stopped searching when I got back to Safari 1.2 on about the fourth page of results (in the year 2004), as we’ve had Tiger for quite awhile now already.

    Safari 2.0.4 here.

    Reply
  5. Adam Knight
    View 1872 days ago

    I’m using Safari here and once I trick your site into showing the widget, it works fine.

    I think you’re imagining things. :)

    Reply
  6. rudy
    View 1872 days ago

    Safari 2.0.4 here, works fine w/ user agent set to Moz 1.1

    Reply
  7. PatrickQG
    View 1871 days ago

    I also think the “better browser” is a bit unnecessary. The font rendering alone in Gecko browsers is enough to keep me in Safari/WebKit powered browsers (like NetNewsWire, where I am now).

    I code websites too, including internal applications (some of which make heavier use of javascript than others), other than the lack of being able to add script tags using the dom (and have them parsed), there’s a grand total of one work around (small, one line) for Safari.

    Reply
  8. Alex
    View 1871 days ago

    I’ll re-enable it for Safari and we’ll see what happens. I hope it doesn’t cause problems. In my testing before I released the site (Sept. 2006 version of Safari), things did not go well.

    I’m glad Safari continues to improve, but based on my experience with it I stand by my recommendation above.

    Reply
  9. Alex
    View 1871 days ago

    I almost forgot, the old version of my site also had this issue in Safari. I took the “disable this feature in Safari” check out of the code when building the new site in the hopes that whatever bug had caused the problem was fixed, but it still barfed on it at the time (so I had to put it back in).

    Here are the old posts:

    http://alexking.org/[...]tyle-options
    http://alexking.org/[...]ari-problems
    http://alexking.org/[...]ily-disabled
    http://alexking.org/[...]cher-is-back

    Reply
  10. Erik J. Barzeski
    View 1871 days ago

    Each of those four links are from April, 2004. The world – and Safari – have moved on quite a bit since then. Your recommendation appears to be outdated by about 30 months.

    Reply
  11. Alex
    View 1871 days ago

    Those 4 links from 2004 describe the problem with the previous style switcher and Safari – the same problem I saw this fall while developing the new site.

    And just because new versions of Safari have been released that fix some of these bugs doesn’t stop the old versions with these bugs from existing out there. I know, I get the reports from users of my web apps.

    You seem intent on placing the burden of proof for this on me, however I don’t feel this burden.

    I could go into detail about the “accesskey on buttons” issue that caused Safari (and any app using WebKit) to crash, or the hidden form that would spike the CPU to 100 percent and require a Force Quit, or the myriad of issues (particularly with keypress capture) we ran into while building the FeedLounge interface, but instead I will simply repeat that I stand behind my recommendation.

    You’re welcome to continue to express your opinion here (and it’s nice to see a developer champion Safari), but I hope you don’t mind if I express mine as well.

    Reply
  12. Alex
    View 1871 days ago

    Vincent wrote:

    I’d be happy if you could make this a wordpress plugin.

    If someone would like to sponsor the development, I’d be happy to try to put something together.

    Reply
  13. Safari | alexking.org
    View 1755 days ago

    [...] is challenging me to give Safari another chance, I’m going to take him up on it. I’m setting Safari as my default browser1 for the rest [...]

    Reply
  14. lorenzo piccinini
    View 1726 days ago

    I hope too that you can make a plugin for this very very nice tool, but now I will try to take inspiration from your code and the tutorial you posted and I will try to do my own best.

    ciao

    Reply
Logging In...

Profile cancel

Sign in with Twitter Sign in with Facebook
or

Not published

Steven Frank on .Mac » « Safari
wcsea-speakinggolf-swingsxswwcsfPhotographing Big Ben
prev next

Alex King, Web Developer

I live in Denver, CO where I founded Crowd Favorite. We enjoy building cool web stuff – especially with WordPress and Open Source.

I was an original contributor to WordPress, creator of ShareThis, and I am the co-founder of CloudMoxie and BackupMoxie.

  • Twitter
  • Facebook
  • GitHub
  • Flickr
  • Pinboard
  • WordPress
  • Stellar
  • Untappd
  • LinkedIn
  • Crowd Favorite

Recent Blog Posts

  • http_build_query() Separator Tip
  • Twitter Tools 3.0 beta 2
  • WP_Query by “Standard” Post Format
  • WordPress Core Contributions
  • Goals for 2012
  • 2011 in Review
  • Popularity Contest is Dead (and on GitHub)
  • Domain Registrar with DNS and Migration?
  • A Couple of Core Submissions
  • WordPress Plugins and Symlinks

Archives

Categories

Powered by WordPress  ·  FavePersonal by Crowd Favorite

Copyright © 2002-2012 Alex King. All Rights Reserved.