Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>a) Of course you can use browser detection. The easiest way to do this is probably using <a href="http://jquery.com" rel="nofollow noreferrer">jQuery</a>'s <a href="http://docs.jquery.com/Utilities/jQuery.browser" rel="nofollow noreferrer">browser</a> method. (jQuery is an awesome JavaScript library that makes a lot of JS-development easier in case you haven't heard)</p> <p>Depending on what browser (or OS) results you get, you could present the user with different solutions, from normal text to something like a Flash solution.</p> <p>However, I advise against it. Things look better on new machines than old ones. That's just the way it is, which is why I recommend against spending precious time on minor glitches in older browsers. -- Unless users with older browsers are your main demographic of course. In this case, how about you just do it in Flash altogether? No use coding up two solutions if one always works, right?</p> <p>b) You can in fact create anti-aliased text via JavaScript. Have a look at my project <a href="http://diestimmegottes.de/DieStimmeGottes/250/" rel="nofollow noreferrer">Die Stimme Gottes</a> ("Voice of God" -- not for the religiously squeamish) for an example. In this project, I used the excellent <a href="http://typeface.neocracy.org/" rel="nofollow noreferrer">typeface.js</a> for this.</p> <p>c) Just use CSS, maybe? </p> <pre><code>h1.welcome { background: url('the-welcome-image.png') no-repeat; color: transparent; </code></pre> <p>}</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload