CHAPTER 11Incorporating JavaScript

Even if you are not a programmer, or not familiar with JavaScript, you can still make use of this powerful language using the classes in this chapter. With them, you can embed simple calculations or complex expressions within an object, just by placing them within a pair of special tokens.

You can also use these plug-ins to leverage the power of JavaScript for creating sections of conditional HTML, whether based on expressions of your choice, or using a special global keyword to identify the browser in use (such as Firefox, or Internet Explorer, and so on).

Once you’ve used these classes, I think you may find them so handy you’ll wonder how you ever managed without them.

PLUG-IN 91: Embed JavaScript (embedjs) ...

Get Plug-In CSS 100 Power Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.