<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.11.81 (http://www.squarespace.com/) on Fri, 24 Feb 2012 11:05:05 GMT--><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>CIS196</title><link>http://www.joeparis.net/cis196/</link><description></description><lastBuildDate>Tue, 21 Feb 2012 21:19:07 +0000</lastBuildDate><copyright></copyright><language>en-US</language><generator>Squarespace Site Server v5.11.81 (http://www.squarespace.com/)</generator><item><title>Assignment 3</title><category>assignment</category><dc:creator>Joe Paris</dc:creator><pubDate>Thu, 16 Feb 2012 18:34:49 +0000</pubDate><link>http://www.joeparis.net/cis196/2012/2/16/assignment-3.html</link><guid isPermaLink="false">377646:13514607:15063099</guid><description><![CDATA[<p>I'm going to give you today to work on this collaboratively. The assignment is due at the beginning of class on<span style="text-decoration: line-through;"> Tuesday, Feb. 21</span> Thursday, Feb. 23.</p>
<p>Using start.html (<a href="http://www.joeparis.net/storage/data_files/12_winter/cis196/assignment3.zip">download here</a>) as a starting point...</p>
<ol>
<li>Add a button to the bottom of the page that will, when clicked, wire up a click event handler on the <code>div</code> with class <code>box</code> that will replicate the behavior from class on Tuesday; i.e. when the <code>div</code> is clicked on it inserts a new <code>div</code> on the page. These new <code>div</code> elements must also have the event handler wired to them. The catch is, you must write your event handler without using jQuery and it must work on IE, Firefox, Chrome, Opera and Safari.</li>
<li>Add another button that, when clicked, will wire up an event handler that replicates the right-click behavior of the original example. Again, you must use only JavaScript and it must work across all the browsers listed above. Add a third button that will remove the event handlers from #1 and #2 from all elements on the page.</li>
<li>Now that you have some appreciation for how difficult this kind of thing is without jQuery, uncomment the jQuery code at the bottom of the page and revel in its elegance.</li>
<li>Add a button to your page that, using jQuery, will stop subsequent <code>div</code>&nbsp;from getting the event handler applied to them when they are created.</li>
<li>Add a button that will trigger the <code>div</code> replication. That is, when the button is clicked a new <code>div</code> is inserted on the page.</li>
<li>Add a button that, when clicked, will wire up a new event handler to all existing and future <code>div</code> elements with class <code>box</code>. This new handler should change the color of the <code>div</code> to green when the user holds down the Alt key while clicking on its target.</li>
<li>Add a button to the page that will, when clicked, cycle all <code>box</code> elements between being 75px X 75px, 100px X 100px and 125px X 125px then back to 75px X 75px on each subsequent click.</li>
<li>Finally, move all your JavaScript and jQuery code to follow the notion of unobtrusive JavaScript. Be sure to test your page after doing so in all the browsers listed above.</li>
</ol>
<p>Also, read Chapter 5 for next week. Send me your questions by 5:00 on Monday.</p>]]></description><wfw:commentRss>http://www.joeparis.net/cis196/rss-comments-entry-15063099.xml</wfw:commentRss></item><item><title>Your Resume Is Not This Cool</title><category>cool</category><dc:creator>Joe Paris</dc:creator><pubDate>Thu, 09 Feb 2012 23:01:40 +0000</pubDate><link>http://www.joeparis.net/cis196/2012/2/9/your-resume-is-not-this-cool.html</link><guid isPermaLink="false">377646:13514607:14966763</guid><description><![CDATA[<p><span><a class="offsite-link-inline" href="http://nkwiatek.com/" target="_blank">Nick Kwiatek</a></span></p>]]></description><wfw:commentRss>http://www.joeparis.net/cis196/rss-comments-entry-14966763.xml</wfw:commentRss></item><item><title>Class Canceled</title><category>announcement</category><dc:creator>Joe Paris</dc:creator><pubDate>Thu, 09 Feb 2012 17:50:28 +0000</pubDate><link>http://www.joeparis.net/cis196/2012/2/9/class-canceled.html</link><guid isPermaLink="false">377646:13514607:14962935</guid><description><![CDATA[<p>Sorry folks, just got the call that my daughter is sick. I'll see you next week. Read Chapter 5 and send me your questions by 5:00 Monday.</p>]]></description><wfw:commentRss>http://www.joeparis.net/cis196/rss-comments-entry-14962935.xml</wfw:commentRss></item><item><title>Assignment 2 (Updated)</title><category>assignment</category><dc:creator>Joe Paris</dc:creator><pubDate>Thu, 02 Feb 2012 21:34:01 +0000</pubDate><link>http://www.joeparis.net/cis196/2012/2/2/assignment-2-updated.html</link><guid isPermaLink="false">377646:13514607:14840475</guid><description><![CDATA[<ol>
<li>Create a page about a hobby or interest of yours. Do not add any presentation-style formatting to the page. For example, you may wrap your content in div tags and size/position them, but do not change the appearance of the text (yet). The page should have a header be roughly as long as the "boldas" example site I provided earlier this week.</li>
<li>Apply styling to the elements on your page. For all heading and anchor tags, use jQuery's <code>.toggleClass()</code> function to change the formatting when the mouse moves over the element.</li>
<li>Add a button to your page that will, when clicked, prompt the user for their name and display the name near the top of the page in a greeting ("Hello there, <em>name,</em>&nbsp;welcome to my page!" for example). This greeting should not be visible until the user clicks the button. Use either <code>.html()</code> or <code>.text()</code> to do this.</li>
<li>Add a custom data <span style="text-decoration: line-through;">element</span>&nbsp;<strong>attribute&nbsp;</strong>to at least two of <strong>the</strong> elements on your page using jQuery.&nbsp;</li>
<li>Add a button to your page that, when clicked, will use jQuery to find all the elements that have your custom data attribute and apply a class named <code>custom</code> to them (the <code>custom</code> class need not have any rules defined, its existence in the list of classes applied to your element is enough for what we want). Finally, select all elements on the page, filter the wrapped set to contain only those elements with class <code>custom</code> and change their background color.</li>
</ol>
<p><strong>Look for opportunities to use jQuery's chaining functionality.</strong></p>
<p>Due Tuesday, Feb. 7. Have your page ready for "show" at the beginning of class. We may use your pages in class to experiment further, however, so they won't be due for submission until the end of class. If you haven't yet, read Chapter 4 for next week.</p>]]></description><wfw:commentRss>http://www.joeparis.net/cis196/rss-comments-entry-14840475.xml</wfw:commentRss></item><item><title>Demo Files</title><category>in-class demo</category><dc:creator>Joe Paris</dc:creator><pubDate>Tue, 31 Jan 2012 21:09:38 +0000</pubDate><link>http://www.joeparis.net/cis196/2012/1/31/demo-files.html</link><guid isPermaLink="false">377646:13514607:14811701</guid><description><![CDATA[<p>Some <a href="http://www.joeparis.net/storage/data_files/12_winter/cis196/chapter3.zip">demo sites</a> to play with</p>]]></description><wfw:commentRss>http://www.joeparis.net/cis196/rss-comments-entry-14811701.xml</wfw:commentRss></item><item><title>Reading for Next Week</title><category>assignment</category><dc:creator>Joe Paris</dc:creator><pubDate>Thu, 26 Jan 2012 21:11:13 +0000</pubDate><link>http://www.joeparis.net/cis196/2012/1/26/reading-for-next-week.html</link><guid isPermaLink="false">377646:13514607:14745284</guid><description><![CDATA[<p>For next week please read Chapters 3 and 4. We will talk about Chapter on Tuesday so please be sure to have read it and sent me your questions by Monday night. We'll talk about Chapter 4 on Thursday so have it read and your questions submitted by Wednesday evening.</p>]]></description><wfw:commentRss>http://www.joeparis.net/cis196/rss-comments-entry-14745284.xml</wfw:commentRss></item><item><title>Epic 404 Page</title><category>404</category><category>awesome</category><category>humor</category><dc:creator>Joe Paris</dc:creator><pubDate>Thu, 26 Jan 2012 06:14:02 +0000</pubDate><link>http://www.joeparis.net/cis196/2012/1/25/epic-404-page.html</link><guid isPermaLink="false">377646:13514607:14738282</guid><description><![CDATA[<p><a class="offsite-link-inline" href="http://kvartirakrasivo.ru/404/index.php" target="_blank">Page not found, but awesomeness abounds!</a></p>]]></description><wfw:commentRss>http://www.joeparis.net/cis196/rss-comments-entry-14738282.xml</wfw:commentRss></item><item><title>Corrected Sample Files</title><category>assignment</category><dc:creator>Joe Paris</dc:creator><pubDate>Tue, 24 Jan 2012 21:33:59 +0000</pubDate><link>http://www.joeparis.net/cis196/2012/1/24/corrected-sample-files.html</link><guid isPermaLink="false">377646:13514607:14716071</guid><description><![CDATA[<p>Here are the <a href="http://www.joeparis.net/storage/data_files/12_winter/cis196/sample.zip">corrected sample files</a> with 100% less broken! Use these to attempt the first part of <a href="http://www.joeparis.net/cis196/2012/1/19/assignment-1.html" target="_blank">Assignment 1</a></p>]]></description><wfw:commentRss>http://www.joeparis.net/cis196/rss-comments-entry-14716071.xml</wfw:commentRss></item><item><title>Office Hours</title><category>announcement</category><category>office hours</category><dc:creator>Joe Paris</dc:creator><pubDate>Sun, 22 Jan 2012 21:48:56 +0000</pubDate><link>http://www.joeparis.net/cis196/2012/1/22/office-hours.html</link><guid isPermaLink="false">377646:13514607:14686487</guid><description><![CDATA[<div id="_mcePaste">Sorry for the delay in posting these, my office hours are as follows:</div>
<div id="_mcePaste">
<ul>
<li>Monday &amp; Wednesday - 10:00 to 10:30</li>
<li>Tuesday &amp; Thursday - 11:00 to 12:00</li>
<li>Other times by appointment.</li>
</ul>
</div>]]></description><wfw:commentRss>http://www.joeparis.net/cis196/rss-comments-entry-14686487.xml</wfw:commentRss></item><item><title>Grades Have Been Posted</title><category>grades</category><dc:creator>Joe Paris</dc:creator><pubDate>Sun, 22 Jan 2012 21:48:33 +0000</pubDate><link>http://www.joeparis.net/cis196/2012/1/22/grades-have-been-posted.html</link><guid isPermaLink="false">377646:13514607:14686479</guid><description><![CDATA[<p>You can use the links to the right to view them. Of course, you won't know who you are until I give out your hobo names in class this week.</p>]]></description><wfw:commentRss>http://www.joeparis.net/cis196/rss-comments-entry-14686479.xml</wfw:commentRss></item></channel></rss>
