![]() |
#1 |
Tri-State Addict
|
javascript homework help
I need help with #5a+b It's due tonight at midnight. Here's the instructions ![]() ![]() Here's the code they gave for home.htm....... <html> <head> <!-- New Perspectives on JavaScript Tutorial 4 Case Problem 2 The Home Center Author: Josh Story Date: 2/7/2010 Filename: home.htm Supporting files: logo.jpg, random.js, styles.css, tips.js, work.jpg --> <title>The Home Center</title> <link href="styles.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="tips.js"></script> <script type="text/javascript" src="random.js"></script> ............I PUT THESE IN FOR #4........... </head> <body> <div id="searchbox"> Search <input size="20" /> </div> <div id="links"> <img src="logo.jpg" alt="the Home Center" /> <ul> <li><a href="#">Home</a></li> <li class="new"><a href="#">What's New</a></li> <li><a href="#">Home Projects</a></li> <li><a href="#">E-Newsletter</a></li> <li><a href="#">FAQ</a></li> <li class="new"><a href="#">Online Store</a></li> <li><a href="#">Product Search</a></li> <li class="new"><a href="#">Forums</a></li> <li><a href="#">Our Partners</a></li> <li><a href="#">Contact Us!</a></li> <li><a href="#">About the Home Center</a></li> </ul> </div> <div id="main"> <div id="tip"> <h1>Random Tip<br /> Tip Title </h1> Place random tip text here in this box. </div> <p id="firstp"><b>The Home Center</b> is your number one source for do it yourself home improvement help with tutorials and tips on all your home repairs, remodeling, and redecorating. Our goal is to make your projects easy, inexpensive, and rewarding. Nothing matches the satisfaction of a job well done.</p> <p>You will find step-by-step instruction and money-saving tips on all your do-it-yourself projects including house painting, wallpaper, carpentry, home insulation, woodworking, electrical, plumbing, air conditioning and heating, flooring, masonry, concrete, wood decks, interior decorating, gardening, how to save energy, reduce your utility bills, and more.</p> <p>Be sure to visit our online store for great prices on the tools and materials you need for your home repair projects!</p> </div> </body> </html>
__________________
Josh Story Design |
![]() |
![]() |
![]() |
#3 |
Tri-State Addict
|
In between the div id "Tip", do i put this?
<script type=text/javascript"> document.write(tipTitle)) document.write(tipText)) </script> and delete the H1 stuff and the text under it? I'm completely lost lol
__________________
Josh Story Design |
![]() |
![]() |
![]() |
Bookmarks |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Homework Help needed (MS Excel) | Jjaeger240 | Off-Topic | 4 | 03-06-2008 09:14 PM |
Help with my homework? | dragonfly2k3 | General Car Related Chat | 7 | 02-23-2008 05:44 AM |
If anyone is up help me with my Philosophy Homework!!! | maximaserg | Off-Topic | 17 | 02-17-2008 01:55 AM |