Now that you have a working one-page website, we are going to add three (3) more pages that feature a gallery that is interactive using jQuery (a type of Javascript).
Now we are ready to add a new page that will feature a gallery. You will repeat some steps you did when you created your home page.
You will need to design how the gallery will look and export any images that are needed before you can create a new HTML file.
<link href="css/lightbox.css" rel="stylesheet" type="text/css">
<!--Javascript-->
<script src="js/lightbox.js"></script>
<script src=
"js/lightbox-plus-jquery.min.js"></script>
Delete the div tags: col_2 and col_3.
<div id="stage">
<div id="col_1">
<h1> Color Name #3</h1>
<p class="bodytext">Describe the the history, associations and additional color theory about your chosen hue. Describe the the history, associations and additional color theory about your chosen hue.Describe the the history, associations and additional color theory about your chosen hue.</p>
<!--Closing Tag for col_1--></div>
<div id="gallery">
<!--Closing Tag for gallery--></div>
<!--Closing Tag for stage--></div>
<div id="gallery">
<img src="images/thumbs/yellow_sm_1.jpg" width="280" height="280" alt="Image Title"/>
<!--Closing Tag for gallery--></div>
"yellow_sm_1.jpg" is referencing an image file that is the small thumbnail image that you click on inorder to see the large image in the pop-up interactive gallery slideshow ("Lightbox"). The dimensions default to the size the images was formatted to.
NOTE: The Location of the file (img src) should be short because it is in your "images" folder. Thi sis a relative location, meaning that the location is based on where this html document is saved. If the "img src" is really long, you likely did not choose the correct file.
View Example on "Interactivity" Page
<a href="images/large/red_lg_1.jpg" title="Large Image title: © Source Link" data-lightbox="mygallery">
<img src="images/thumbs/red_sm_1.jpg" alt="Thumbnail Image Description" title="Thumbnail Image Title"></a>
NOTE: The first reference to the image file sis for the LARGE version. The second reference is to the SMALL/THUMB version.
<a href="images/large/red_lg_1.jpg" title="Large Image title: © Source Link" data-lightbox="mygallery">
<img src="images/thumbs/red_sm_1.jpg" alt="Thumbnail Image Description" title="Thumbnail Image Title"></a>
<a href="images/large/red_lg_2.jpg" title="Large Image title: © Source Link" data-lightbox="mygallery">
<img src="images/thumbs/red_sm_2.jpg" alt="Thumbnail Image Description" title="Thumbnail Image Title"></a>