DB4 - end function...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
<?xml version = "1.0" encoding = "utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!--Jaime Martin Discussion Board 4 Assignment - Exercise 12.3 --> <html xmlns = "http://www.w3.org/1999/xhtml"> <head> <title>Using Links Collection</title> <style type = "text/css"> body { font-family: arial, helvetica, sans-serif; } h1 { font-family: tahoma, geneva, sans-serif; text-align: center; } p { margin: 5%; } p a { color: #aa0000; } .links { font-size: 14px; text-align: justify; margin-left: 10%; margin-right: 10%; } .link a { text-decoration: none; } .link a:hover { text-decoration: underline; } </style> <script type = "text/javascript"> <!-- function processlinks() { var linkslist = document.links; // get the document's links // concatenate each link to contents for ( var i = 0; i < linkslist.length; i++ ) { linkslist.item(i).style.backgroundColor="yellow"; } // end for document.getElementById( "links" ).innerHTML = contents;
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: } // end function processlinks // --> </script> </head> <body onload = "processlinks()"> <h1>Deitel Resource Centers</h1> <p><a href = "http://www.deitel.com/">Deitel's website</a> contains a rapidly growing <a href = "http://www.deitel.com/ResourceCenters.html">list of Resource Centers</a> on a wide range of topics. Many Resource centers related to topics covered in this book, <a href = "http://www.deitel.com/iw3htp4">Internet and World Wide Web How to Program, 4th Edition</a>. We have Resouce Centers on <a href = "http://www.deitel.com/Web2.0">Web 2.0</a>, <a href = "http://www.deitel.com/Firefox">Firefox</a> and <a href = "http://www.deitel.com/IE7">Internet Explorer 7</a>, <a href = "http://www.deitel.com/XHTML">XHTML</a>, and <a href = "http://www.deitel.com/JavaScript">JavaScript</a>. Watch the list of Deitel Resource Centers for related new Resource Centers.</p> <div id = "links" class = "links"></div> </body> </html>...
View Full Document

{[ snackBarMessage ]}

Page1 / 2

DB4 - end function...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online