<?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>Transcendent Design - freelance web developer and web designer Richard Lee - Marietta Georgia - Roswell Georgia - Metro Atlanta &#187; experiments</title>
	<atom:link href="http://www.tdesignonline.com/category/experiments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tdesignonline.com</link>
	<description>The Portfolio Site of Richard Lee</description>
	<lastBuildDate>Mon, 19 Dec 2011 23:36:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Optimizaion, jsperf, and thoughts &#8211; JS in the nude</title>
		<link>http://www.tdesignonline.com/optimizaion-jsperf-and-thoughts-js-in-the-nude</link>
		<comments>http://www.tdesignonline.com/optimizaion-jsperf-and-thoughts-js-in-the-nude#comments</comments>
		<pubDate>Fri, 02 Sep 2011 20:35:42 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[experiments]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://www.tdesignonline.com/?p=1471</guid>
		<description><![CDATA[I ran into jsperf and it has totally blown my mind seeing how fast things run. I don&#8217;t use chrome and I love it after seeing how fast it was. I ran a test of some simple replacing of text using jquery. my initial test was to see if pre-defining your jquery elements was quicker [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into jsperf and it has totally blown my mind seeing how fast things run.  I don&#8217;t use chrome and I love it after seeing how fast it was. I ran a test of some simple replacing of text using jquery.  my initial test was to see if pre-defining your jquery elements was quicker then making a brand new call every time you wanted to manipulate them. the best of the test can be seen here: <a href="http://jsperf.com/predefined-vs-new-query/2">http://jsperf.com/predefined-vs-new-query/2</a>.<p> <br/>

<p>What I suspected occurred but after adding some more tests to the line up I was amazed to find plain ol&#8217; javascript (the stuff that jQuery is built on) ran about 40-50X faster in some browsers depending on what browser you were testing in.  This really makes me question about how heavily dependent we are all on jquery and other libraries for some tasks.</p>

<p>Here are some pros and cons I could boil it down to.</p>

<p><strong>jQuery Pros</strong><br/>
<ul>
	<li>It is easier to write and you don&#8217;t have to know that much to learn how to use it.</li>
	<li>It is consistent across all browsers for the most part.</li>
	<li>After the initial jq script download your js files stay pretty small in weight and in length</li>
</ul>
</p>

<p><strong>jQuery Cons</strong><br/>
<ul>
	<li>heavy library initial file download (I know most gzip it so it compress 20k or so)</li>
	<li>It chugs compared to plain javascript.</li>
	<li>some time work arounds have to be in place and you can become lazy and dependent.</li>
<li>It&#8217;s Well documented and tested.</li>
<li>the quickest way to type a command isn&#8217;t always the fastest speed wise for example <a href="http://jsperf.com/jquery-selector-perf-right-to-left/59">http://jsperf.com/jquery-selector-perf-right-to-left/59</a></li>
</ul>
</p>

<p><strong>javascript in nude Pros</strong><br/>

<ul>
	<li>No middle man so your talking straight to the browser or server.</li>
	<li>A lot quicker then jQuery</li>
	<li>You understand more whats actually going on (as a developer)</li>
</ul>

</p>


<p><strong>javascript in nude Cons</strong><br/>

<ul>
	<li>Lengthy to write and heavy in file size.</li>
	<li>browser support inconsistencies for different parts of js. (end up killing 1 bird with 3 stones type of deal&#8230; jQ does this for you)</li>
	<li>Tons of research from many sources.</li>
<li>super lengthy production time due to buggy-ness of multiple browser support.</li>
</ul>

</p>

<p>That being said you could mix the two but that gets kind of messy.  Especially when you are making HUGE scripts or applications. But is it worth the pay off? maybe.  User experience wise. Yes! Development Time. Not so much!  So really it comes down to your resources..  </p>

<p>1. How much time&#8230; sometimes money do you have. <br/><br/>
2. How knowledgeable or willing to research is/are the developer(s) building your script there are many things that make a script chug not just a library.<br/><br/>
3. are you ready for a long term relationship because maintenance is going to be crazy if you go the js nude route.</p>

<p>it&#8217;s kind of a hard choice because 1 developer&#8217;s preference vs 10,000,000+ users experience can really make a huge impact on the whole product.  makes you wonder how fast your heavily dependent js app would run if you went with js in the nude as opposed to your library of choice.</p>




]]></content:encoded>
			<wfw:commentRss>http://www.tdesignonline.com/optimizaion-jsperf-and-thoughts-js-in-the-nude/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Job Board Experiment</title>
		<link>http://www.tdesignonline.com/wordpress-job-board-experiment</link>
		<comments>http://www.tdesignonline.com/wordpress-job-board-experiment#comments</comments>
		<pubDate>Thu, 08 Jul 2010 03:30:54 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[experiments]]></category>

		<guid isPermaLink="false">http://www.tdesignonline.com/?p=1342</guid>
		<description><![CDATA[<p><img class="alignleft size-medium wp-image-1096" title="wordpress-logo-shine" src="http://www.tdesignonline.com/wp-content/uploads/2010/07/stj-thumb.jpg" alt="" width="229" height="229" />I wanted to make a job board.  As usual I wanted to use wordpress and not anything else.  Wordpress ceases to amaze me... I was able to accomplish a fully functional job board (according to my standards). Check it out here <a href="http://sportstrainingjobs.com/" target="_blank" >SportsTrainingJobs.com</a></p>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-1096" title="wordpress-logo-shine" src="http://www.tdesignonline.com/wp-content/uploads/2010/07/stj-thumb.jpg" alt="" width="229" height="229" /> I wanted to make a job board.  As usual I wanted to use wordpress and not anything else.  WordPress ceases to amaze me&#8230; I was able to accomplish a fully functional job board (according to my standards). Check it out here <a href="http://sportstrainingjobs.com/" target="_blank" >SportsTrainingJobs.com</a></p>

<p>So a few weeks ago I saw a similar job board <a href="http://jobs.wordpress.net/" target="_blank" >here</a></p>

<p>I e-mailed the site and asked them how they did it.  All they told me was that they were using a plug-in and some custom coding&#8230; I already new that!!! lol. So they weren&#8217;t giving up their secrets of how to create a free job board.<p>

<p>So my search began.  After a couple weeks I was finally able to find a solution at some random site&#8230; <del datetime="2010-07-08T03:39:46+00:00">which I forgot to document</del> I found it <a href="http://seogadget.co.uk/jobs-board-functionality-wordpress/">here</a>&#8230; <del datetime="2010-07-08T03:45:19+00:00">but that&#8217;s o.k.</del> I will still share my secrets with you&#8230;  (Don&#8217;t download their files just instal TDO Mini Forms and then follow the directions.)</p>

<p>The solution required using <a href="http://wordpress.org/extend/plugins/tdo-mini-forms/">TDO Mini Forms</a>. This plugin allows you to set up a form that allows any member or non member to create a post depending on the settings you set of course.  Once the post is created all you have to do is change the status to published and the post is live.</p>

<p><strong>So my process went something like this.</strong></p>
<ul>
<li>Install WordPress 3.0</li>
<li>Instal TDO Mini Forms</li>
<li>Modify 2010 (the wp theme) loop.php, functions.php and other tweaks</li>
<li>Style it in CSS</li>
</ul>

<p>I was up and running.  Check it out here <a href="http://sportstrainingjobs.com/">SportsTrainingJobs.com</a>.</p>

<p>
<strong>Capabilities:</strong></p>
<ul style="margin-top:0px;margin-bottom:15px;">
	<li>Non-Member Users can posts jobs.</li>

	<li>Jobs are seperated into categories</li>

	<li>Search function targets only job posts</li>

</ul>




]]></content:encoded>
			<wfw:commentRss>http://www.tdesignonline.com/wordpress-job-board-experiment/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>myTip v.1 &#8211; with jQuery 1.4.1 &amp; JSON</title>
		<link>http://www.tdesignonline.com/mytip-v-1-with-jquery-1-4-clean-version-using-json</link>
		<comments>http://www.tdesignonline.com/mytip-v-1-with-jquery-1-4-clean-version-using-json#comments</comments>
		<pubDate>Thu, 21 Jan 2010 22:09:54 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[experiments]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://www.tdesignonline.com/?p=1287</guid>
		<description><![CDATA[I wanted to experiment with jquery 1.4.1 so I started building a tool tip and just kept going with it. A few things before we get started. DOWNLOAD THE DEMO AND FILES Uses the wonderful jQuery 1.4.1 It does not use code in the bottom of your content hoverIntent (not the jquery plugin) NEW can [...]]]></description>
			<content:encoded><![CDATA[<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js" ></script>
<script type="text/javascript" src="http://www.tdesignonline.com/myTip/tips.js"></script>
<script type="text/javascript" src="http://www.tdesignonline.com/myTip/myTip.js"></script>
<p>I wanted to experiment with jquery 1.4.1 so I started building a tool tip and just kept going with it. A few things before we get started. 
</p>

<p><strong><a href="http://www.tdesignonline.com/myTipDemo.zip">DOWNLOAD THE DEMO AND FILES</a></strong></p>

<ul>
<li>Uses the wonderful jQuery 1.4.1</li>
	<li>It does not use code in the bottom of your content</li>
	<li>hoverIntent (not the jquery plugin) <strong>NEW</strong></li>
<li>can set feature to stay open</li>
<li>Can utilize JSON to insert code snippets for fancy tips <strong>NEW</strong></li>
<li>It use the rel and <a href="#" rel="mytip" rev="This text is in the rev attribute it is a w3c valid attribute ( ;">rev</a> attributes</li>
<li>works in all the popular browers (even ie6) <strong>NEW</strong></li>
<li>Can add plain text to the rev attribute.</li>
<li>It&#8217;s w3c valid</li>
<li>It&#8217;s SUPER easy!</li>

</ul>
<br/>

<p><strong>Here are some examples:</strong></p>

<p>

<a href="#" rel="mytip [top left]" rev="just in case you want more control.">Top Left</a><br/>

<a href="#" rel="mytip [top right]" rev="make it show up anywhere you want.">Top Right</a><br/>


<a href="#" rel="mytip [bottom left]" rev="Bottom left is good for text too close to the right side of the browser.">Bottom Left</a><br/>

<a href="#" rel="mytip [bottom right]" rev="Bottom Right is the DEFAULT.">Bottom Right</a><br/>
<a href="#" rel="mytip [center right]" rev="good for movies.">Center Right</a><br/>
<a href="#" rel="mytip [center left]" rev="good for movies on a Hebrew website.">Center Left</a><br/>

</p>

<p><strong>OMG WAIT&#8230;</strong></p>
<p>I forgot to tell you&#8230; You can put just about anything you can code into this tool tip (I tried an iframe and it worked great!) It is pretty powerful for a tool tip eh?</p>
<p>
<a href="http://www.w3schools.com/" target="_blank" rel="mytip [center]" rev="if you click it will go somewhere">Live Links</a><br/>
<a href="#" rel="mytip [center]" rev="if you click it won't go anywhere... nope not to the top of the page either">Or Dead Links</a><br/>
<a href="#" id="tip3" rel="mytip [center get leaveopen width:275px;]" >Here is an img</a><br/>
<a id="tip2" href="http://www.youtube.com/watch?v=4pDiBno4ZfQ&#038;feature=player_embedded" rel="mytip [center right width:425px; leaveopen get]"  >Here is a vid</a><br/>
(you can link images to a tool tip too)
</p>

<p><strong><a href="http://www.tdesignonline.com/myTipDemo.zip">DOWNLOAD THE DEMO AND FILES</a></strong></p>
<br/>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="4662378">
 <input type="image" src="http://www.tdesignonline.com/donate.png" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<br/>

<p><strong>The Tricks</strong></p>

<p><strong>Basic Use</strong></p>
<ul>
        <li>add rel=&#8221;mytip&#8221; to any link you want the tip to work on.</li>
	<li>Just add your text/code to the rev attribute.</li>
</ul><br/><br/>

<p><strong>Advanced Use</strong></p>
<ul>
        <li>to set the width and location would look like this you can set all, some, or only one of these values: rel=&#8221;mytip [width:500px; height:300px; center right leaveopen get]&#8221; <a id="tip1" href="#" rel="mytip center leaveopen get" 
 ">possible values here</a></li>
<li>using get will cancel out the rev tag so make sure your id=&#8221;tip1&#8243; has the same value as your JSON object ie &#8216;tip1&#8242;.</li>
        <li>to leave the tab open and insert a .closebutton just add <em>leaveopen</em> in the brackets</li>
        <li>you can add classes and attributes like you would in normal code.</li>
<li>You can change the offset from the mouse in the JS</li>
<li>You can modify the span wrapper to auto include something more if you want to do something <em>fawn-cay.</em></li>
<li>You can change the css on the .mytip class</li>
</ul>
<p><br/></p>

<p>experiment&#8230; what can you not do? Let me know your feedback or if you find some bugs. PLEASE because I don&#8217;t want to pollute the web.</p>

<p>Blessings,<br/>
Richard Lee</p>

<p><strong><a href="http://www.tdesignonline.com/myTipDemo.zip">DOWNLOAD THE DEMO AND FILES</a></strong></p>
<br/>

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="4662378">
 <input type="image" src="http://www.tdesignonline.com/donate.png" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

<div class="clear"></div><!-- END OF clear -->]]></content:encoded>
			<wfw:commentRss>http://www.tdesignonline.com/mytip-v-1-with-jquery-1-4-clean-version-using-json/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning jQuery: myTip .3 Beta</title>
		<link>http://www.tdesignonline.com/learning-jquery-custom-tool-tip-beta</link>
		<comments>http://www.tdesignonline.com/learning-jquery-custom-tool-tip-beta#comments</comments>
		<pubDate>Fri, 15 Jan 2010 20:30:47 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[experiments]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://www.tdesignonline.com/?p=1136</guid>
		<description><![CDATA[You can read this if you want but the real v.1 is here I decided to try and create a custom tool tip and it worked out pretty well. I had to utilize a funny attribute to make it work (the rev attribute&#8230; WHAT??? that&#8217;s what I said. go ahead check w3c ( ; )&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tdesignonline.com/mytip-v-1">You can read this if you want but the real v.1 is here</a></p>

<p>I decided to try and create a custom tool tip and it worked out pretty well.  I had to utilize a funny attribute to make it work (the rev attribute&#8230; WHAT??? that&#8217;s what I said. go ahead check w3c ( ;  )&#8230; But it Does.  I just need to work on customizing the positioning. so if the browser isn&#8217;t wide enough or to pop out to the left instead of the right etc.</p>

<p>I am using a Google hosted jQuery 1.4 take a look below.</p>

<p><a href="http://www.tdesignonline.com" target="_blank" rel="mytip" rev="Nice customizable built in tool tip. (None of that 'putting junk in another div at the bottom of your markup' stuff.)  That's right all this stuff is inline and you don't get the annoying tool tip thingies in IE. because we're not using title or alt... but rather 'rev'">This is some Anchor Text Hover over it</a></p>

<p>you can make the link do nothing too! <a href="#" rel="mytip" rev="looky there! it worked... now click it... Muwahahaaaaa!!! nothing...">but I have a tip!</a> just set the href to #</p>

<p><a href="#" rel="mytip" rev="The script inserts a span with the class='mytip' and then appends the text of the rev attribute to the span and the span to the end of the anchor text.  (Caution on using this script with spans if you already have a span in your anchor IT WILL REMOVE IT)">This is out it works</a></p>

<p>You must be careful with quotes &#8221; &#8221; you must make sure you use &#8216; &#8216; instead of &#8221; &#8221; use the opposite of what you are using for your attributes.</p>

<p>It works in all the browsers as far as I know&#8230; (I haven&#8217;t tested in chrome or opera though)</p>

<div class="pull">While researching other custom tool tips they all require you to add a chunk of code to the bottom of your content who has time for that???</div>

<p>With this solution all you have to do is set the rel=&#8221;mytip&#8221;  and then put whatever you want in the rev=&#8221;"  attribute for your tip.  It requires jquery 1.4, the code I wrote to make it happen, and then a .mytip class for css</p>

<p>you can view the source below this sentence to cut and paste the .js and .css (all of it i&#8217;m linking to googles jquery)</p>

<p>Blessings,<br/>
Richard Lee</p>

<!--  START OF CUT / PASTE SECTION  ______________________________________________________________________-->


<style type="text/css"><!--
*{outline:none}
.mytip {
		position : absolute;
		background-color : #FCA632;
		z-index : 9999!important;
		padding : 2px 6px;
		border : solid 1px #ccc;
		font-size : 11px;
		color : #333;
		width : 150px;
		border-radius:2px;
		-moz-border-radius:2px;
		-webkit-border-radius:2px;
		text-decoration:none;
                line-height:1.4em;
		
}
-->
</style>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js" ></script>
<script type="text/javascript" >
$(document).ready(function(){
						   
	var mytipOpenTags = '<span class="mytip">'
	var mytipCloseTags = '</span>'
	var mytipXoffset = 0;
	var mytipYoffset = 17; 
							   
	$("a[rel*='mytip']").each(function(){
		if($(this).css('position') == 'static'){
			$(this).css('position','relative');
			}
	});
		
	$("a[rel*='mytip']").each(function(){var mytip; $(this).bind({
			click: function(){
				if($(this).attr('href')=='#'){ return false; }	
			},
		 mouseover: function(){
 			$(this).append(mytipOpenTags+$(this).attr("rev")+mytipCloseTags);
			var myindex = $("*[rel*='mytip']").index(this);
			var mytotal = $("*[rel*='mytip']").length;
			var newtotal;
			newtotal=(mytotal-myindex)+9000;
			$(this).css('z-index', newtotal);
      		$(this).mousemove(function(e){
				var x = e.pageX - $(this).offset().left;
				var y = e.pageY - $(this).offset().top;
				$(this).find('span').css('left',x+mytipXoffset+'px');
				$(this).find('span').css('top',y+mytipYoffset+'px');

			});
		},
		mouseout: function(){
			$(this).find('span').remove()
		}

 }); }); });
</script>

<!--  END OF CUT / PASTE SECTION  ______________________________________________________________________-->


]]></content:encoded>
			<wfw:commentRss>http://www.tdesignonline.com/learning-jquery-custom-tool-tip-beta/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

