<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>qrisper &#187; javascript</title>
	<atom:link href="http://blog.qrisper.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.qrisper.com</link>
	<description>the making of qrisper.com</description>
	<lastBuildDate>Fri, 14 Aug 2009 22:32:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>With great power comes great responsibility</title>
		<link>http://blog.qrisper.com/2009/02/41/</link>
		<comments>http://blog.qrisper.com/2009/02/41/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 17:23:41 +0000</pubDate>
		<dc:creator>Jung Lee</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[modal]]></category>
		<category><![CDATA[nettuts]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.qrisper.com/?p=41</guid>
		<description><![CDATA[
Decided to take a breather on the php to focus on the interface.  Actually, the php issue was interface related so I guess what I really mean is focus on making qrisper a bit flashier looking.
The landing page was getting a little noisy so I decided to put the registration into a modal window. I [...]]]></description>
			<content:encoded><![CDATA[<p><a title="best beach" href="http://qrisper.com/answers/best-beach-in-the-world/"><img class="size-medium wp-image-46 alignright" title="best beach in the world" src="http://blog.qrisper.com/wp-content/uploads/2009/02/beach-300x181.gif" alt="best beach in the world" width="300" height="181" /></a></p>
<p>Decided to take a breather on the php to focus on the interface.  Actually, the php issue was interface related so I guess what I really mean is focus on making qrisper a bit flashier looking.</p>
<p>The landing page was getting a little noisy so I decided to put the registration into a modal window. I used jquery and followed a tutorial from <a title="Popup Window" href="http://yensdesign.com/tutorials/popupjquery/">yensdesign.com</a>.  Implementation was pretty straightforward. One thing I want to tinker with is the location of the window.  It looks a bit off-center&#8230;I noticed that on the tutorial as well.  If anyone can see the reason why, please holler (code below).</p>
<pre>function centerPopup(){

        var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $j("#popupSignup").height();
	var popupWidth = $j("#popupSignup").width();

	$j("#popupSignup").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
}</pre>
<p>I&#8217;m using jquery with prototype so I needed to make sure that I included jquery&#8217;s noconflict clause and change the $ variable for all jquery scripts (hence the $j).  There&#8217;s so much information out there about jquery that it&#8217;s hard not to use it.  But now that I have the power, I need to be responsible and practice restraint.  qrisper&#8217;s getting a little large around the waist from overindulging on all of those image files. Found this site on <a title="web optimization" href="http://www.websiteoptimization.com/">web optimization</a>, telling me that qrisper needs to go on a  diet.</p>
<p>Also added a little feedback button&#8230;meh&#8230;looks alright.  The button made me realize that I&#8217;m digging myself into a trap.  I am maintaining slightly different versions of the same page.  Which version the users see depends on whether or not they&#8217;re logged in.  Decided that I could probably use a php if statement to swap out includes depending on whether or not a session id exists.</p>
<p>Wanting to trim the fat further, I went to clean up my css files and optimize them with a few new tricks I learned.  Big mistake that was.  Spent a few hours fixing all of the damage I caused.  I found the <a title="css optimization" href="http://www.thefloatingfrog.co.uk/frog-blog/2008/09/10-css-shorthand-techniques-youll-use-everyday/">tips</a> from <a title="Bone Structure" href="http://bonestructure.com/blog/">David&#8217;s</a> <a title="dbone webdev" href="http://webdevconversations.blogspot.com/">old blog</a>.  Actually found a number of good resources&#8230;a few of which I used to fix a few issue that had been bugging me.</p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.qrisper.com%2F2009%2F02%2F41%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.qrisper.com%2F2009%2F02%2F41%2F" height="61" width="51" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.qrisper.com/2009/02/41/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webdev feedback</title>
		<link>http://blog.qrisper.com/2009/01/webdev-feedback/</link>
		<comments>http://blog.qrisper.com/2009/01/webdev-feedback/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 16:29:18 +0000</pubDate>
		<dc:creator>Jung Lee</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[target tag]]></category>

		<guid isPermaLink="false">http://blog.qrisper.com/?p=7</guid>
		<description><![CDATA[Thanks again to everyone that provided feedback so far.  It&#8217;s crazy how much tunnel-vision you get when you&#8217;re preoccupied with just making the darn thing work!
Anyway, just wanted to highlight all of the changes I made already based on people&#8217;s feedback:
Amos:

added Q and A icons in the recent answers column.  Tried adding image icons but [...]]]></description>
			<content:encoded><![CDATA[<p><a title="best lcd tv" href="http://qrisper.com/answers/best-lcd-tv-40-to-49-in/"><img class="size-medium wp-image-31 alignright" title="Best lcd TV 40 - 49" src="http://blog.qrisper.com/wp-content/uploads/2009/01/lcd403-300x181.gif" alt="Best flat-panel TV 40 - 49" width="300" height="181" /></a>Thanks again to everyone that provided feedback so far.  It&#8217;s crazy how much tunnel-vision you get when you&#8217;re preoccupied with just making the darn thing work!</p>
<p>Anyway, just wanted to highlight all of the changes I made already based on people&#8217;s feedback:</p>
<p>Amos:</p>
<ul>
<li>added Q and A icons in the recent answers column.  Tried adding image icons but decided that the simple text looked cleaner.</li>
<li>inverted the colors for questions and answers in recent answers.  Was trying to keep the answer colors consistent across the site&#8230;need to rethink this.</li>
<li>got rid of most of the target=&#8221;_blank&#8221;.  Still debating whether to keep the ones that link to a Google search or any site outside of <a title="qrisper.com" href="http://qrisper.com">qrisper</a>.</li>
<li>replaced the ad with a banner providing more info on qrisper &#8211; need to work on my animated ads.</li>
<li>reorganized the What tab a bit.  Still need to work on the content and new screenshots.</li>
<li>combined View 1 and View 2.  Made View 2 available as titles.</li>
<li>added some text describing what users can do after signing up under all results pages &#8211; need to work on that.</li>
<li>changed the links so that the category name takes you to a list of all questions for that category (before you had to click on the number to do that).</li>
<li>changed the question page so that the first thing you see are the questions and their answers, with an add your own answer section on the bottom.</li>
<li>changed the results page to include a suggest a question section.</li>
</ul>
<p>I still need to make the content more readily accessible, both for registered and non-registered users.  I&#8217;m gonna dive into some ajax to do that.</p>
<p>David:</p>
<ul>
<li>login button doesn&#8217;t work &#8211; the forgot id/pw div was on top of the login button &#8211; oops!</li>
<li>form fields don&#8217;t fit &#8211; that was cuz I never checked for Mac Firefox/Safari.  Only way I could fix it was to shorten it for PC Firefox/IE.</li>
</ul>
<p>Jack:</p>
<ul>
<li>javascript errors &#8211; leftovers from previous code&#8230;didn&#8217;t even realize they were there!</li>
</ul>
<p>Chris, thanks for your comment.  That&#8217;s basically the idea.</p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.qrisper.com%2F2009%2F01%2Fwebdev-feedback%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.qrisper.com%2F2009%2F01%2Fwebdev-feedback%2F" height="61" width="51" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://blog.qrisper.com/2009/01/webdev-feedback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.226 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2009-10-04 11:16:49 -->
