﻿function on2(){

var previousInnerHTML = new String();

previousInnerHTML= previousInnerHTML.concat("<div style='margin-bottom:1em;margin-top:1em;text-align:center;background-color:#000;color:#00ff00;font-size:larger;cursor:pointer;padding:0px 2px 0px 2px;border:1px solid #CCC;width:65px;' onclick='off2()'>close</div><div style='color:#FFF;font-size:20px;background-color:#000;'>"+
"<div style='color:#FFF;font-size:20px;background-color:transparent;'>10 Cool Coding Links from Smashing Magazine</div>"+
"<ul class='NL' style='padding-right:150px;'>"+
"<li><b>1) PrefixFree: Break Free From CSS Prefix Hell</b>  "+
"<blockquote style='background-color:#000;color:#fff;'>"+
"A script that detects the prefix of the current browser and adds it where needed. "+
" <a target='_blank' rel='nofollow'  href='http://coding.smashingmagazine.com/2011/10/12/prefixfree-break-free-from-css-prefix-hell/'>Go &rarr;</a>"+
"</blockquote>"+
"</li>"+
"<li><b>2) Essential jQuery Plugin Patterns</b>   "+
"<blockquote style='background-color:#000;color:#fff;'>Some developers may wish to use the jQuery UI widget factory; it’s great for complex, flexible UI components. Some may not. Some might like to structure their plugins more like modules (similar to the module pattern) or use a more formal module format such as AMD. "+
" <a target='_blank' rel='nofollow'  href='http://coding.smashingmagazine.com/2011/10/11/essential-jquery-plugin-patterns/'>Go &rarr;</a>"+
"</blockquote>"+
"</li>"+
"<li><b>3) Sidenote: LiveReload For Better Workflow</b>   "+
"<blockquote style='background-color:#000;color:#fff;'>The first entry in a new series on Smashing Magazine&rsquo;s Coding section called Sidenotes. "+
" <a target='_blank' rel='nofollow'  href='http://coding.smashingmagazine.com/2011/10/07/livereload-for-better-workflow/'>Go &rarr;</a>"+
"</blockquote>"+
"</li>"+
"<li><b>4) Poll: Which Framework Would You Recommend To A New Developer?</b>   "+
"<blockquote style='background-color:#000;color:#fff;'>Today, we can choose from a huge array of frameworks, which provide us with different approaches to creating websites.  Which would you pick? "+
" <a target='_blank' rel='nofollow'  href='http://coding.smashingmagazine.com/2011/10/05/which-framework-would-you-recommend-to-a-new-developer/'>Go &rarr;</a>"+
"</blockquote>"+
"</li>"+
"<li><b>5) The Guide To CSS Animation: Principles and Examples</b>   "+
"<blockquote style='background-color:#000;color:#fff;'>Taking first steps with CSS animation and considering the main guidelines for creating animation with CSS "+
" <a target='_blank' rel='nofollow'  href='http://coding.smashingmagazine.com/2011/09/14/the-guide-to-css-animation-principles-and-examples/'>Go &rarr;</a>"+
"</blockquote>"+
"</li>"+
"<li><b>6) A Quick Look Into The Math Of Animations With JavaScript</b>   "+
"<blockquote style='background-color:#000;color:#fff;'>There is a lot of math in the visual things we do, even if we don’t realize it. If you want to make something look natural and move naturally, you need to add a bit of physics and rounding to it. "+
" <a target='_blank' rel='nofollow'  href='http://coding.smashingmagazine.com/2011/10/04/quick-look-math-animations-javascript/'>Go &rarr;</a>"+
"</blockquote>"+
"</li>"+
"<li><b>7) Searchable Dynamic Content With AJAX Crawling</b>   "+
"<blockquote style='background-color:#000;color:#fff;'>AJAX has revolutionized the Web, but it has also hidden its content. If you have a Twitter account, try viewing the source of your profile page. There are no tweets there — just code! Almost everything on a Twitter page is built dynamically through JavaScript, and the crawlers can’t see any of it. That’s why Google developed AJAX crawling. "+
" <a target='_blank' rel='nofollow'  href='http://coding.smashingmagazine.com/2011/09/27/searchable-dynamic-content-with-ajax-crawling/'>Go &rarr;</a>"+
"</blockquote>"+
"</li>"+
"<li><b>8) Create An Animated Bar Graph With HTML, CSS And jQuery</b>   "+
"<blockquote style='background-color:#000;color:#fff;'>There are actually quite a few ways to display graphs on the Web. We could simply create an image and nail it to a Web page"+
" <a target='_blank' rel='nofollow'  href='http://coding.smashingmagazine.com/2011/09/23/create-an-animated-bar-graph-with-html-css-and-jquery/'>Go &rarr;</a>"+
"</blockquote>"+
"</li>"+
"<li><b>9) CSS3 Flexible Box Layout Explained</b>   "+
"<blockquote style='background-color:#000;color:#fff;'>The flexible box layout module — or “flexbox,” to use its popular nickname — is an interesting part of the W3C Working Draft. The flexbox specification is still a draft and subject to change, so keep your eyes on the W3C, but it is part of a new arsenal of properties that will revolutionize how we lay out pages. At least it will be when cross-browser support catches up. "+
" <a target='_blank' rel='nofollow'  href='http://coding.smashingmagazine.com/2011/09/19/css3-flexible-box-layout-explained/'>Go &rarr;</a>"+
"</blockquote>"+
"</li>"+
"<li><b>10) Useful Node.js Tools, Tutorials And Resources</b>   "+
"<blockquote style='background-color:#000;color:#fff;'>Node.js is a relatively new technology which has gained a lot of popularity among Web developers recently. However, not everyone knows what it really is. Node.js is essentially a server-side JavaScript environment that uses an asynchronous event-driven model. What this means is simple: it’s an environment which is intended for writing scalable, high performance network applications. It's like Ruby's Event Machine or Python's Twisted, but it takes the event model a bit further—it presents the event loop as a language construct instead of as a library. "+
" <a target='_blank' rel='nofollow'  href='http://coding.smashingmagazine.com/2011/09/16/useful-node-js-tools-tutorials-and-resources/'>Go &rarr;</a>"+
"</blockquote>"+
"</li>"+
"</ul></div>");

document.getElementById('panel').style.display='block';
document.getElementById('hide_button').style.display='none';
document.getElementById('panel').style.height='2500px';
document.getElementById('scripts2').style.display='none';
document.getElementById('scripts').style.display='none';
document.getElementById('devcloud').style.display='none';
document.getElementById('twitsearch').style.display='none';
document.getElementById('fsharpdiv').style.display='none';
document.getElementById('NodeXLdiv').style.display='none';
document.getElementById('login').style.height='3000px';
document.getElementById('login').style.width='1000px';
document.getElementById('content').style.display='none';
document.getElementById('divFrameLogin').style.display='none';
document.getElementById('divLoginRegister').style.display='none';

document.getElementById('hidDiv').innerHTML = previousInnerHTML;
}

function off2(){

var previousInnerHTML = new String();

previousInnerHTML= previousInnerHTML.concat("<div></div>");
document.getElementById('panel').style.display='none';
document.getElementById('hide_button').style.display='block';
document.getElementById('scripts2').style.display='block';
document.getElementById('scripts').style.display='block';
document.getElementById('devcloud').style.display='block';
document.getElementById('twitsearch').style.display='block';
document.getElementById('fsharpdiv').style.display='block';
document.getElementById('NodeXLdiv').style.display='block';
document.getElementById('login').style.display='block';
document.getElementById('login').style.height='3000px';
document.getElementById('login').style.width='1000px';
document.getElementById('divFrameLogin').style.display='none';
document.getElementById('divLoginRegister').style.display='none';
document.getElementById('content').style.display='block';
document.getElementById('divFrameLogin').style.marginLeft='200px;';
document.getElementById('fsharpdiv').style.display='block';
document.getElementById('NodeXLdiv').style.display='block';
document.getElementById('panel').style.height='500px';
document.getElementById('panel').style.paddingRight='150px';
document.getElementById('panel').style.display='block';
document.getElementById('content').style.display='block';
document.getElementById('hidDiv').innerHTML = previousInnerHTML;
}

function span1(){
document.getElementById('span1').style.display='block';
document.getElementById('span1').style.marginLeft='100px';
}

function span2(){
document.getElementById('span2').style.display='block';
document.getElementById('span2').style.marginLeft='100px';
}

function span3(){
document.getElementById('span3').style.display='block';
document.getElementById('span3').style.marginLeft='100px';
}

function span4(){
document.getElementById('span4').style.display='block';
document.getElementById('span4').style.marginLeft='100px';
}

function span5(){
document.getElementById('span5').style.display='block';
document.getElementById('span5').style.marginLeft='100px';
}

function span6(){
document.getElementById('span6').style.display='block';
document.getElementById('span6').style.marginLeft='100px';
}

function span7(){
document.getElementById('span7').style.display='block';
document.getElementById('span7').style.marginLeft='100px';
}

function span8(){
document.getElementById('span8').style.display='block';
document.getElementById('span8').style.marginLeft='100px';
}

function span9(){
document.getElementById('span9').style.display='block';
document.getElementById('span9').style.marginLeft='100px';
}

function span10(){
document.getElementById('span10').style.display='block';
document.getElementById('span10').style.marginLeft='100px';
}

function span11(){
document.getElementById('span11').style.display='block';
document.getElementById('span11').style.marginLeft='100px';
}

function span12(){
document.getElementById('span12').style.display='block';
document.getElementById('span12').style.marginLeft='100px';
}

function span13(){
document.getElementById('span13').style.display='block';
document.getElementById('span13').style.marginLeft='100px';
}

function span14(){
document.getElementById('span14').style.display='block';
document.getElementById('span14').style.marginLeft='100px';
}

function span15(){
document.getElementById('span15').style.display='block';
document.getElementById('span15').style.marginLeft='100px';
}

function span16(){
document.getElementById('span16').style.display='block';
document.getElementById('span16').style.marginLeft='100px';
}

function span17(){
document.getElementById('span17').style.display='block';
document.getElementById('span17').style.marginLeft='100px';
}

function span18(){
document.getElementById('span18').style.display='block';
document.getElementById('span18').style.marginLeft='100px';
}

function span19(){
document.getElementById('span19').style.display='block';
document.getElementById('span19').style.marginLeft='100px';
}

function span20(){
document.getElementById('span20').style.display='block';
document.getElementById('span20').style.marginLeft='100px';
}

function span21(){
document.getElementById('span21').style.display='block';
document.getElementById('span21').style.marginLeft='100px';
}

function span22a(){
document.getElementById('span22a').style.display='block';
document.getElementById('span22a').style.marginLeft='100px';
}

function SpanOff(){
document.getElementById('span1').style.display='none';
document.getElementById('span1').style.padding='0px';
document.getElementById('span2').style.display='none';
document.getElementById('span2').style.padding='0px';
document.getElementById('span3').style.display='none';
document.getElementById('span3').style.padding='0px';
document.getElementById('span4').style.display='none';
document.getElementById('span4').style.padding='0px';
document.getElementById('span5').style.display='none';
document.getElementById('span5').style.padding='0px';           
document.getElementById('span6').style.display='none';
document.getElementById('span6').style.padding='0px';
document.getElementById('span7').style.display='none';
document.getElementById('span7').style.padding='0px';
document.getElementById('span8').style.display='none';
document.getElementById('span8').style.padding='0px';
document.getElementById('span9').style.display='none';
document.getElementById('span9').style.padding='0px';
document.getElementById('span10').style.display='none';
document.getElementById('span10').style.padding='0px';
document.getElementById('span11').style.display='none';
document.getElementById('span11').style.padding='0px';
document.getElementById('span12').style.display='none';
document.getElementById('span12').style.padding='0px';
document.getElementById('span13').style.display='none';
document.getElementById('span13').style.padding='0px';
document.getElementById('span14').style.display='none';
document.getElementById('span14').style.padding='0px';
document.getElementById('span15').style.display='none';
document.getElementById('span15').style.padding='0px';
document.getElementById('span16').style.display='none';
document.getElementById('span16').style.padding='0px';
document.getElementById('span17').style.display='none';
document.getElementById('span17').style.padding='0px';
document.getElementById('span18').style.display='none';
document.getElementById('span18').style.padding='0px';
document.getElementById('span19').style.display='none';
document.getElementById('span19').style.padding='0px';
document.getElementById('span20').style.display='none';
document.getElementById('span20').style.padding='0px';
document.getElementById('span21').style.display='none';
document.getElementById('span21').style.padding='0px';
document.getElementById('span22a').style.display='none';
document.getElementById('span22a').style.padding='0px';
}



