<html><!-- #BeginTemplate "/Templates/2002.dwt" --><!-- DW6 -->
<head>
<!-- #BeginEditable "doctitle" --> 
<title>Dreamweaver for WIT 2002</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#003300" onLoad="MM_preloadImages('../../../img/2002logo-alt-over.gif')" leftmargin="0" topmargin="20" link="#0033CC" vlink="#009933" alink="#66CC66" background="../../../img/background2002.jpg">
<font face="Arial, Helvetica, sans-serif"> </font> <font face="Arial, Helvetica, sans-serif"> 
<table width="100%" border="0" cellspacing="0" cellpadding="10">
  <tr>
    <td rowspan="3" width="163" valign="top" align="left"> 
      <p><a href="../../index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Logo','','../../../img/2002logo-alt-over.gif',1)"><img name="Logo" border="0" src="../../../img/2002logo-alt.gif" width="150" height="150"></a></p>
      <table width="100%" border="0" cellspacing="10" cellpadding="0">
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002home.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value="."><param name="BGCOLOR" value="#006600">
              
              <embed src="/Templates/2002home.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002about.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002about.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002homerooms.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002homerooms.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002curriculum.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002curriculum.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002software.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002software.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002mentor.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002mentor.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002projects.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002projects.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002feedback.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BASE" value=".">
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002feedback.swf" base="."  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
        <tr> 
          <td width="5">&nbsp;</td>
          <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="22">
              <param name=movie value="/Templates/2002search.swf">
              <param name="wmode" value="transparent">
			  <param name=quality value=high>
              <param name="BGCOLOR" value="#006600">
              <embed src="/Templates/2002search.swf" base=""  quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#006600">
              </embed> 
            </object></td>
        </tr>
      </table>
      <div align="center"></div>
          </td>
    <td valign="top" align="left" colspan="2" height="47"> 
      <h1><!-- #BeginEditable "title" --> Navigation bars in Dreamweaver <!-- #EndEditable --></h1>
    </td>
  </tr>
  <tr> 
    <td colspan="2" valign="top" align="left"> <!-- #BeginEditable "body" --> 
      <h6>&nbsp;</h6>
      <table border="3" align="center" cellpadding="4" bordercolor="#009999" bgcolor="#99CC99">
        <tr> 
          <td><div align="center"> 
              <h5><a href="overview.htm">Overview</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="howtogethelp.htm">How to get help</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="sitesetup.htm">Site setup and maintenance</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="textetc.htm">Text, layout, styles, links</a></h5>
            </div></td>
        </tr>
        <tr> 
          <td><div align="center"> 
              <h5><a href="images.htm">Images</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="templates.htm">Templates</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="libraries.htm">Libraries</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="navbars.htm">Navigation bars</a>/<a href="altnavbar.htm"><br>
                Alternative version</a> </h5>
            </div></td>
        </tr>
        <tr> 
          <td><div align="center"> 
              <h5><a href="frames.htm">Frames</a> </h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="behaviors.htm">Layers and behaviors</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="extending.htm">Extending Dreamweaver</a></h5>
            </div></td>
          <td><div align="center"> 
              <h5><a href="index.htm">Module Home</a></h5>
            </div></td>
        </tr>
      </table>
      <p align="right"><a href="altnavbar.htm">MUCH EAS<font face="Arial, Helvetica, sans-serif">IER 
        </font>ALTERNATIVE TO T<font face="Arial, Helvetica, sans-serif">HIS NAVIGATION 
        BARS LESSON</font></a></p>
      <ul>
        <li><a href="#goal">Goal for today</a></li>
        <li><a href="#navbar">What's a Nav Bar?</a></li>
        <li><a href="#buttons">The previously-created buttons</a></li>
        <li><a href="#activity">Activity</a></li>
      </ul>
      <h2><a name="goal"></a>Goal for today</h2>
      <p>Create a navigation bar for a small web site, using previously-created 
        button images. </p>
      <p><a href="#top">Back to the top.</a> </p>
      <blockquote> 
        <h4> </h4>
      </blockquote>
      <h2><a name="navbar"></a>What's a nav(<i>igation</i>) bar</h2>
      <ul>
        <li> In this section, we'll create a navigation bar similar to the one 
          used in the <a href="http://cuip.uchicago.edu/wit/2000" target="_blank">WIT 
          2000 website</a>.</li>
        <li>Dreamweaver includes a tool to make it easy to create a nav bar.</li>
        <li>I will make mine as a template, which I can then &quot;apply&quot; 
          to my curriculum web.</li>
        <li>Before using Dreamweaver to create a nav bar, you need to create the 
          images that will be used in the Nav Bar. Good tools for creating these 
          are Photoshop and Fireworks. (You can download a trial version of Fireworks 
          from <a href="http://www.macromedia.com/software/fireworks/" target="_blank">Macromedia</a>.)</li>
        <li>I've created a set of buttons.To use them, save all of them into a 
          folder called &quot;img&quot; in your local root folder. (Simply right-click, 
          or control-click on the Mac, and choose Save Image As...).</li>
      </ul>
      <p><a href="#top">Back to the top.</a></p>
      <h2><a name="buttons"></a> The previously-created buttons</h2>
      <ul>
        <table border="1" width="425">
          <tr bgcolor="#9999CC"> 
            <td> <div align="center"><font color="#FFFFFF">UP</font></div></td>
            <td> <div align="center"><font color="#FFFFFF">Over</font></div></td>
            <td> <div align="center"><font color="#FFFFFF">DOWN</font></div></td>
          </tr>
          <tr> 
            <td><img src="img/navbar/activityup.gif" width="125" height="45"></td>
            <td><img src="img/navbar/activityover.gif" width="125" height="45"></td>
            <td><img src="img/navbar/activitydown.gif" width="125" height="45"></td>
          </tr>
          <tr> 
            <td><img src="img/navbar/demo1up.gif" width="125" height="45"></td>
            <td><img src="img/navbar/demo1over.gif" width="125" height="45"></td>
            <td><img src="img/navbar/demo1down.gif" width="125" height="45"></td>
          </tr>
          <tr> 
            <td><img src="img/navbar/demo2up.gif" width="125" height="45"></td>
            <td><img src="img/navbar/demo2over.gif" width="125" height="45"></td>
            <td><img src="img/navbar/demo2down.gif" width="125" height="45"></td>
          </tr>
          <tr> 
            <td><img src="img/navbar/demo3up.gif" width="125" height="45"></td>
            <td><img src="img/navbar/demo3over.gif" width="125" height="45"></td>
            <td><img src="img/navbar/demo3down.gif" width="125" height="45"></td>
          </tr>
          <tr> 
            <td><img src="img/navbar/demo4up.gif" width="125" height="45"></td>
            <td><img src="img/navbar/demo4over.gif" width="125" height="45"></td>
            <td><img src="img/navbar/demo4down.gif" width="125" height="45"></td>
          </tr>
          <tr> 
            <td><img src="img/navbar/demo5up.gif" width="125" height="45"></td>
            <td><img src="img/navbar/demo5over.gif" width="125" height="45"></td>
            <td><img src="img/navbar/demo5down.gif" width="125" height="45"></td>
          </tr>
          <tr> 
            <td><img src="img/navbar/homeup.png" width="125" height="45"></td>
            <td><img src="img/navbar/homeover.gif" width="125" height="45"></td>
            <td><img src="img/navbar/homedown.gif" width="125" height="45"></td>
          </tr>
        </table>
      </ul>
      <p>&nbsp;</p>
      <ul>
        <li>Okay, let's begin</li>
        <li>First, I'll open a new file and save it as a template.</li>
        <li>I'll make my nav bar along the LEFT edge of the page, with room for 
          content on the right.</li>
        <li>SO I'll make a 100% wide table with two columns. The left column will 
          be 130 pixels (10 more than the buttons). The right column will be split 
          into two cells, with the top one for the page title and the bottom one 
          for the content. Thus:</li>
        <table width="100%" border="1" bordercolor="#9999CC" cellpadding="10">
          <tr> 
            <td rowspan="2" width="120" bgcolor="#CCCCFF"> <table border="0" cellpadding="0" cellspacing="0">
                <tr> 
                  <td>&nbsp;</td>
                </tr>
              </table></td>
            <td bgcolor="#9933FF"> <h2><font color="#FFFFFF">Page Title will go 
                here (editable region, the Title) </font></h2></td>
          </tr>
          <tr> 
            <td bgcolor="#CCCCFF">content will go here (this will be an &quot;editable 
              region,&quot; the BODY)</td>
          </tr>
        </table>
        <li>Then, in the cell on the left, I will begin to build my nav bar. Use 
          Insert|Interative Elements|Navigation Bar.</li>
        <li>Name each element (for example &quot;Home,&quot; &quot;Demo1&quot;). 
          Then put the specific images into the right places in this dialog box. 
          (NOTE: after taking this screen shot I changed my bar to &quot;vertically&quot; 
          at the bottom of the dialog box.):</li>
      </ul>
      <p><img src="img/dw31.jpg" width="607" height="407"></p>
      <p>NOTE: subsequent to creating this navbar, I &quot;optimized&quot; the 
        button images with Fireworks, and it created GIF files (not PNG). The 
        files, by the way, decreased from 28K apiece to 1K apiece. Quite impressive!</p>
      <p><a href="#top">Back to the top.</a></p>
      <p>This is the nav bar I get as a result.</p>
      <ul>
        <table border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td><a href="curriculumweb/index.htm" onClick="MM_nbGroup('down','group1','Home','img/navbar/homedown.gif',1)" onMouseOver="MM_nbGroup('over','Home','img/navbar/homeover.gif','',1)" onMouseOut="MM_nbGroup('out')"><img name="Home" src="img/navbar/homeup.gif" border="0" onLoad=""></a></td>
          </tr>
          <tr> 
            <td><a href="curriculumweb/demo1.htm" onClick="MM_nbGroup('down','group1','Demo1','img/navbar/demo1down.gif',1)" onMouseOver="MM_nbGroup('over','Demo1','img/navbar/demo1over.gif','',1)" onMouseOut="MM_nbGroup('out')"><img name="Demo1" src="img/navbar/demo1up.gif" border="0" onLoad="" width="125" height="45"></a></td>
          </tr>
          <tr> 
            <td><a href="curriculumweb/demo2.htm" onClick="MM_nbGroup('down','group1','Demo2','img/navbar/demo2down.gif',1)" onMouseOver="MM_nbGroup('over','Demo2','img/navbar/demo2over.gif','',1)" onMouseOut="MM_nbGroup('out')"><img name="Demo2" src="img/navbar/demo2up.gif" border="0" onLoad="" width="125" height="45"></a></td>
          </tr>
          <tr> 
            <td><a href="curriculumweb/demo3.htm" onClick="MM_nbGroup('down','group1','Demo3','img/navbar/demo3down.gif',1)" onMouseOver="MM_nbGroup('over','Demo3','img/navbar/demo3over.gif','',1)" onMouseOut="MM_nbGroup('out')"><img name="Demo3" src="img/navbar/demo3up.gif" border="0" onLoad="" width="125" height="45"></a></td>
          </tr>
          <tr> 
            <td><a href="curriculumweb/demo4.htm" onClick="MM_nbGroup('down','group1','Demo4','img/navbar/demo4down.gif',1)" onMouseOver="MM_nbGroup('over','Demo4','img/navbar/demo4over.gif','',1)" onMouseOut="MM_nbGroup('out')"><img name="Demo4" src="img/navbar/demo4up.gif" border="0" onLoad="" width="125" height="45"></a></td>
          </tr>
          <tr> 
            <td><a href="curriculumweb/demo5.htm" onClick="MM_nbGroup('down','group1','Demo5','img/navbar/demo5down.gif',1)" onMouseOver="MM_nbGroup('over','Demo5','img/navbar/demo5over.gif','',1)" onMouseOut="MM_nbGroup('out')"><img name="Demo5" src="img/navbar/demo5up.gif" border="0" onLoad="" width="125" height="45"></a></td>
          </tr>
          <tr> 
            <td><a href="curriculumweb/finalactivity.htm" onClick="MM_nbGroup('down','group1','Activity','img/navbar/activitydown.gif',1)" onMouseOver="MM_nbGroup('over','Activity','img/navbar/activityover.gif','',1)" onMouseOut="MM_nbGroup('out')"><img name="Activity" src="img/navbar/activityup.gif" border="0" onLoad="" width="125" height="45"></a></td>
          </tr>
        </table>
      </ul>
      <p>I have applied this to a second copy of my curriculum web <a href="cw2/index.htm">here</a>.</p>
      <h3><b><a name="activity"></a>Activity:</b> </h3>
      <p>Download all the button images <a href="#buttons">above</a>. Use them 
        to create a navigation bar like the one just above. (Create some dummy 
        pages to serve as the &quot;web site&quot; for the button bar. Or, you 
        can use the structure we developed in the lesson on <a href="templates.htm">templates</a>..) 
        Create a library item from this navigation bar. Place that library item 
        onto another page in your site. Upload both pages (including dependent 
        files) and check to see if the nav bar works.</p>
      <p><a href="#top">Back to the top.</a></p>
      <p>&nbsp;</p>
      <h4 align="right"><a href="frames.htm">Next Lesson.</a></h4>
      <!-- #EndEditable --> </td>
  </tr>
  <tr> 
    <td colspan="2" valign="top" align="left"> 
      <table width="100%" border="3" cellspacing="3" cellpadding="5" bordercolor="#003300" align="left">
        <tr> 
          <td><h6 align="left"> <font color="#006600">The contents of the Web 
              Institute for Teachers website are Copyright 1999-2002, University 
              of Chicago. No one may print, copy, or otherwise reproduce these 
              materials without the express written permission of the Director 
              of the Web Institute for Teachers. </font></h6>
            <h6 align="left"><font color="#006600"> The current time is 
              <!--#config timefmt="%I:%M %p on %A %b %d, %Y"-->
              <!--#echo var="DATE_LOCAL"-->
              . This page was last modified on 
              <!--#config timefmt="%b %d, %Y" -->
              <!--#echo var="LAST_MODIFIED"-->
              . It has had 
              <!--#exec cgi="/cgi-bin/nmi/textcounter/witcounter.pl"-->
              . </font></h6>
            <h6><font color="#006600">Please use the <a href="/2002/feedback/index.htm">Feedback</a> 
              button to tell us how you like this page.</font></h6>

			  </td>
        </tr>
      </table>
      <h6>&nbsp;</h6>
    </td>
  </tr>
</table>
</font>
</body>
<!-- #EndTemplate --></html>
