Prev | Current Page 313 | Next

Kevin Potts

"Web Design and Marketing Solutions for Business Websites"

jpg" onclick="window.open(this.href); return false;">src="/images/tractor-engine_thumbnail.jpg" alt="tractor engine" />.
3. The previous JavaScript examples only load the images in a new window, but the
language also has the power to dictate the design of the browser window, such as
the width and height, whether the navigation items are visible, and whether the
window is resizable. Building off the previous example, a simple version might look
like .
4. There are also many external scripts that handle this functionality as well. Roger
Johansson, author of the web design site 456 Berea Street, wrote a simple script
that loads any link with a rel="external" attribute in a new window, relegating the
behavior to an external file.1 Lightbox, another good option covered later, is a
piece of JavaScript that loads images into a
that overlaps the main page. Both
of these prevent the JavaScript from being embedded in the HTML, so the page size
is kept small and the HTML remains semantically strong.


Pages:
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325