JavaScript – “Snippet of Code” modify to run Question?

Question by :Phil: JavaScript – “Snippet of Code” modify to run Question?
Copy the example snippet of code & get it to run. Then modify the code so it
includes the message “Good Evening”. Another IF statement should do the trick
however there are several other ways to do the same thing, You may make multiple
versions of the program.



<br /> </head><br /> <body></p> <p> If the time on your browser is less than 10, <br /> you get a “Good Morning” greeting. <br /> Otherwise you will get a “Good day” greeting. </p> <p>var d = new Date()<br /> var time = d.getHours()</p> <p>if (time < 10) { document.write("<b>Good morning</b>“)<br /> }<br /> else<br /> {document.write(“<b>Good day</b>“)<br /> }</p> <p<HR> This example demonstrates the If…else statement. </p> <p></body></p> <p><strong>Best answer:</strong></p> <p><i>Answer by Zoplax</i><br />How do you expect to learn if you don’t do your own homework?</p> <p><strong>Add your own answer in the comments!</strong></p> <div class="betterrelated none"><p>No related content found.</p></div><div class="content-revisions"><h3>Revisions</h3> <p>There are no revisions for this post.</p> </div> </section> <p class="tags">Tags: <a href="http://blog.technolyze.net/tag/code/" rel="tag">code</a>, <a href="http://blog.technolyze.net/tag/javascript/" rel="tag">javascript</a>, <a href="http://blog.technolyze.net/tag/modify/" rel="tag">modify</a>, <a href="http://blog.technolyze.net/tag/question/" rel="tag">question.</a>, <a href="http://blog.technolyze.net/tag/snippet/" rel="tag">snippet</a></p> </article><!-- .post --> <aside id="post-author" class="fix"> <div class="profile-image"><img alt='' src='http://0.gravatar.com/avatar/9a513ae5fbc70d49766584006d1a904c?s=70&d=mm&r=g' srcset='http://0.gravatar.com/avatar/9a513ae5fbc70d49766584006d1a904c?s=140&d=mm&r=g 2x' class='avatar avatar-70 photo' height='70' width='70' /></div> <div class="profile-content"> <h3 class="title">About admin</h3> <div class="profile-link"> <a href="http://blog.technolyze.net/author/admin/"> View all posts by admin <span class="meta-nav">→</span> </a> </div><!-- #profile-link --> </div><!-- .post-entries --> </aside><!-- #post-author --> <nav id="post-entries" class="fix"> <div class="nav-prev fl"><a href="http://blog.technolyze.net/search-engine-optimization-in-wordpress/" rel="prev"><span class="meta-nav">←</span> Search Engine Optimization in WordPress</a></div> <div class="nav-next fr"><a href="http://blog.technolyze.net/xna-c-and-xml-files-how-to-use-them/" rel="next">XNA, C# and XML files… how to use them? <span class="meta-nav">→</span></a></div> </nav><!-- #post-entries --> <!-- You can start editing here. --> <div id="comments"> <h3>3 Responses to “JavaScript – “Snippet of Code” modify to run Question?”</h3> <ol class="commentlist"> <li class="comment even thread-even depth-1"> <a name="comment-3271"></a> <div id="li-comment-3271" class="comment-container"> <div class="avatar"><img alt='' src='http://0.gravatar.com/avatar/f31ae279cef80051355f4c09e1772bd9?s=40&d=mm&r=g' srcset='http://0.gravatar.com/avatar/f31ae279cef80051355f4c09e1772bd9?s=80&d=mm&r=g 2x' class='photo avatar avatar-40 photo' height='40' width='40' /></div> <div class="comment-head"> <span class="name">kaveh</span> <span class="date">March 10, 2011 at 9:17 PM</span> <span class="perma"><a href="http://blog.technolyze.net/javascript-snippet-of-code-modify-to-run-question/#comment-3271" title="Direct link to this comment">#</a></span> <span class="edit"></span> </div><!-- /.comment-head --> <div class="comment-entry" id="comment-3271"> <p>if (time < 10 && time>4)<br /> {<br /> document.write(“<b>Good morning</b>“)<br /> }<br /> elseif( time > 16 && time < 20 ) { document.write("<b>Good evening“)<br /> }elseif( time >= 20 && time < =4 ) document.write("<b>Good night“)<br /> else{<br /> document.write(“<b>Good day</b>“)<br /> }</p> <div class="reply"> <a rel='nofollow' class='comment-reply-link' href='http://blog.technolyze.net/javascript-snippet-of-code-modify-to-run-question/?replytocom=3271#respond' onclick='return addComment.moveForm( "comment-3271", "3271", "respond", "827" )' aria-label='Reply to kaveh'>Reply</a> </div><!-- /.reply --> </div><!-- /comment-entry --> </div><!-- /.comment-container --> </li><!-- #comment-## --> <li class="comment odd alt thread-odd thread-alt depth-1"> <a name="comment-3272"></a> <div id="li-comment-3272" class="comment-container"> <div class="avatar"><img alt='' src='http://2.gravatar.com/avatar/bbcd655b43d50c216fb36d8a3888487a?s=40&d=mm&r=g' srcset='http://2.gravatar.com/avatar/bbcd655b43d50c216fb36d8a3888487a?s=80&d=mm&r=g 2x' class='photo avatar avatar-40 photo' height='40' width='40' /></div> <div class="comment-head"> <span class="name">nado</span> <span class="date">March 10, 2011 at 10:17 PM</span> <span class="perma"><a href="http://blog.technolyze.net/javascript-snippet-of-code-modify-to-run-question/#comment-3272" title="Direct link to this comment">#</a></span> <span class="edit"></span> </div><!-- /.comment-head --> <div class="comment-entry" id="comment-3272"> <p><script type="text/javascript"> var d = new Date() var time = d.getHours()</p> <p>if (time < 10) { document.write("<b>Good morning") }</p> <p>else if (time > 10 && time < 23) { document.write("<b>Good Evening") } else {document.write("<b>Good day</b>") } </script></p> <div class="reply"> <a rel='nofollow' class='comment-reply-link' href='http://blog.technolyze.net/javascript-snippet-of-code-modify-to-run-question/?replytocom=3272#respond' onclick='return addComment.moveForm( "comment-3272", "3272", "respond", "827" )' aria-label='Reply to nado'>Reply</a> </div><!-- /.reply --> </div><!-- /comment-entry --> </div><!-- /.comment-container --> </li><!-- #comment-## --> <li class="comment even thread-even depth-1"> <a name="comment-3273"></a> <div id="li-comment-3273" class="comment-container"> <div class="avatar"><img alt='' src='http://1.gravatar.com/avatar/7b55f65bd5c0f80a2b4fd34979ba9ad7?s=40&d=mm&r=g' srcset='http://1.gravatar.com/avatar/7b55f65bd5c0f80a2b4fd34979ba9ad7?s=80&d=mm&r=g 2x' class='photo avatar avatar-40 photo' height='40' width='40' /></div> <div class="comment-head"> <span class="name">Man D.</span> <span class="date">March 10, 2011 at 10:48 PM</span> <span class="perma"><a href="http://blog.technolyze.net/javascript-snippet-of-code-modify-to-run-question/#comment-3273" title="Direct link to this comment">#</a></span> <span class="edit"></span> </div><!-- /.comment-head --> <div class="comment-entry" id="comment-3273"> <p>Above solutions won’t work if hour is one of the ranges </p> <p>for ex. if time is 4:20 AM variable t will have value of ‘4’ and none of conditions would satisfy the value so it would end prinitng wrong description to suffice that</p> <p>condition actually should be (time >= 4 && time < 10) <script type="text/javascript"><br /> var d = new Date()<br /> var time = d.getHours()<br /> if(time >= 20 && time < 4) { // between 8:00 PM and 4:00 PM document.write("<b>Good morning“);<br /> }<br /> else if(time >=4 && time <10)<br /> {<br /> // between 4:00 AM and 12:00 Noon<br /> document.write("<b>Good Morning</b>“);<br /> }<br /> else if(time >=12 && time < 16) { // between 12:00 Noon and 4:00 PM document.write("<b>Good Afternoon“);<br /> }<br /> else if(time >= 16 && time < 20) { // between 4:00 PM and 8:00 PM document.write("<b>Good Evening“);<br /> }<br /> else<br /> {<br /> // All other hours.. between 10:00 AM and 12:00 Noon<br /> document.write(“<b>Good Day</b>“);<br /> }</p> <div class="reply"> <a rel='nofollow' class='comment-reply-link' href='http://blog.technolyze.net/javascript-snippet-of-code-modify-to-run-question/?replytocom=3273#respond' onclick='return addComment.moveForm( "comment-3273", "3273", "respond", "827" )' aria-label='Reply to Man D.'>Reply</a> </div><!-- /.reply --> </div><!-- /comment-entry --> </div><!-- /.comment-container --> </li><!-- #comment-## --> </ol> <nav class="navigation fix"> <div class="fl"></div> <div class="fr"></div> </nav><!-- /.navigation --> </div> <!-- /#comments_wrap --> <div id="respond" class="comment-respond"> <h3 id="reply-title" class="comment-reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/javascript-snippet-of-code-modify-to-run-question/#respond" style="display:none;">Click here to cancel reply.</a></small></h3> <form action="http://blog.technolyze.net/wp-comments-post.php" method="post" id="commentform" class="comment-form"> <p class="comment-form-comment"><label for="comment">Comment</label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" aria-required="true" required="required"></textarea></p><p class="comment-form-author"><input id="author" class="txt" name="author" type="text" value="" size="30" aria-required='true' /><label for="author">Name <span class="required">(Required)</span></label> </p> <p class="comment-form-email"><input id="email" class="txt" name="email" type="text" value="" size="30" aria-required='true' /><label for="email">Email <span class="required">(Required)</span></label> </p> <p class="comment-form-url"><input id="url" class="txt" name="url" type="text" value="" size="30" /><label for="url">Website</label></p> <p class="form-submit"><input name="submit" type="submit" id="submit" class="submit" value="Submit Comment" /> <input type='hidden' name='comment_post_ID' value='827' id='comment_post_ID' /> <input type='hidden' name='comment_parent' id='comment_parent' value='0' /> </p><p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="712d718461" /></p> <script type='text/javascript'> var RecaptchaOptions = { theme : 'red', lang : 'en' , tabindex : 5 }; </script><script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=6LdC4uESAAAAADGWHK_Hnz-oF1cFikhsogt0L15i"></script> <noscript> <iframe src="http://www.google.com/recaptcha/api/noscript?k=6LdC4uESAAAAADGWHK_Hnz-oF1cFikhsogt0L15i" height="300" width="500" frameborder="0"></iframe><br/> <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea> <input type="hidden" name="recaptcha_response_field" value="manual_challenge"/> </noscript> <div id="recaptcha-submit-btn-area"> </div> <noscript> <style type='text/css'>#submit {display:none;}</style> <input name="submit" type="submit" id="submit-alt" tabindex="6" value="Submit Comment"/> </noscript><p style="display: none;"><input type="hidden" id="ak_js" name="ak_js" value="108"/></p> </form> </div><!-- #respond --> </section><!-- #main --> <aside id="sidebar" class="col-left"> <div class="primary"> <div id="recent-posts-3" class="widget widget_recent_entries"> <h3>Recent Posts</h3> <ul> <li> <a href="http://blog.technolyze.net/xml-parsing-with-php-help/">XML parsing with PHP help?</a> </li> <li> <a href="http://blog.technolyze.net/what-is-apache-how-it-affects-your-websites/">What is Apache? How it Affects Your Websites</a> </li> <li> <a href="http://blog.technolyze.net/how-to-build-links-through-competitor-backlinking-part-1-of-2/">How to Build Links through Competitor Backlinking – Part 1 of 2</a> </li> <li> <a href="http://blog.technolyze.net/how-to-set-up-a-wordpress-site-first-your-must-get-a-domain/">How to set up a WordPress Site. First your Must Get a Domain</a> </li> <li> <a href="http://blog.technolyze.net/ball-destruction-java-jquery-code/">Ball Destruction – Java & JQuery Code</a> </li> </ul> </div> <div id="simpletags-3" class="widget widget-simpletags"><h3>Tag cloud</h3> <!-- Generated by Simple Tags 2.4.7 - http://wordpress.org/extend/plugins/simple-tags --> <div class="st-tag-cloud"> <a href="http://blog.technolyze.net/tag/theme/" id="tag-link-175" class="st-tags t2" title="183 topics" rel="tag" style="font-size:10.8pt; color:#a3a3a3;">Theme</a> <a href="http://blog.technolyze.net/tag/free/" id="tag-link-140" class="st-tags t1" title="165 topics" rel="tag" style="font-size:9.4pt; color:#b7b7b7;">Free</a> <a href="http://blog.technolyze.net/tag/blog/" id="tag-link-239" class="st-tags t1" title="162 topics" rel="tag" style="font-size:9.4pt; color:#b7b7b7;">Blog</a> <a href="http://blog.technolyze.net/tag/page/" id="tag-link-587" class="st-tags t0" title="77 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Page</a> <a href="http://blog.technolyze.net/tag/build/" id="tag-link-76" class="st-tags t0" title="67 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Build</a> <a href="http://blog.technolyze.net/tag/optimization/" id="tag-link-143" class="st-tags t1" title="123 topics" rel="tag" style="font-size:9.4pt; color:#b7b7b7;">Optimization</a> <a href="http://blog.technolyze.net/tag/using/" id="tag-link-60" class="st-tags t0" title="105 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Using</a> <a href="http://blog.technolyze.net/tag/wordpress/" id="tag-link-48" class="st-tags t10" title="704 topics" rel="tag" style="font-size:22pt; color:#000000;">WordPress</a> <a href="http://blog.technolyze.net/tag/find/" id="tag-link-50" class="st-tags t0" title="54 topics" rel="tag" style="font-size:8pt; color:#cccccc;">find</a> <a href="http://blog.technolyze.net/tag/javascript/" id="tag-link-99" class="st-tags t0" title="98 topics" rel="tag" style="font-size:8pt; color:#cccccc;">javascript</a> <a href="http://blog.technolyze.net/tag/mysql/" id="tag-link-31" class="st-tags t1" title="167 topics" rel="tag" style="font-size:9.4pt; color:#b7b7b7;">MySQL</a> <a href="http://blog.technolyze.net/tag/traffic/" id="tag-link-28" class="st-tags t0" title="103 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Traffic</a> <a href="http://blog.technolyze.net/tag/site/" id="tag-link-29" class="st-tags t0" title="77 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Site</a> <a href="http://blog.technolyze.net/tag/need/" id="tag-link-223" class="st-tags t0" title="52 topics" rel="tag" style="font-size:8pt; color:#cccccc;">need</a> <a href="http://blog.technolyze.net/tag/good/" id="tag-link-435" class="st-tags t0" title="49 topics" rel="tag" style="font-size:8pt; color:#cccccc;">good</a> <a href="http://blog.technolyze.net/tag/code/" id="tag-link-52" class="st-tags t1" title="147 topics" rel="tag" style="font-size:9.4pt; color:#b7b7b7;">code</a> <a href="http://blog.technolyze.net/tag/google/" id="tag-link-164" class="st-tags t0" title="60 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Google</a> <a href="http://blog.technolyze.net/tag/design/" id="tag-link-423" class="st-tags t0" title="79 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Design</a> <a href="http://blog.technolyze.net/tag/learn/" id="tag-link-154" class="st-tags t0" title="50 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Learn</a> <a href="http://blog.technolyze.net/tag/themes/" id="tag-link-138" class="st-tags t1" title="138 topics" rel="tag" style="font-size:9.4pt; color:#b7b7b7;">THEMES</a> <a href="http://blog.technolyze.net/tag/from/" id="tag-link-102" class="st-tags t0" title="85 topics" rel="tag" style="font-size:8pt; color:#cccccc;">from</a> <a href="http://blog.technolyze.net/tag/simple/" id="tag-link-112" class="st-tags t0" title="63 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Simple</a> <a href="http://blog.technolyze.net/tag/help/" id="tag-link-173" class="st-tags t0" title="67 topics" rel="tag" style="font-size:8pt; color:#cccccc;">help</a> <a href="http://blog.technolyze.net/tag/part/" id="tag-link-486" class="st-tags t0" title="87 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Part</a> <a href="http://blog.technolyze.net/tag/website/" id="tag-link-64" class="st-tags t2" title="191 topics" rel="tag" style="font-size:10.8pt; color:#a3a3a3;">website</a> <a href="http://blog.technolyze.net/tag/tips/" id="tag-link-128" class="st-tags t1" title="130 topics" rel="tag" style="font-size:9.4pt; color:#b7b7b7;">Tips</a> <a href="http://blog.technolyze.net/tag/best/" id="tag-link-55" class="st-tags t1" title="154 topics" rel="tag" style="font-size:9.4pt; color:#b7b7b7;">Best</a> <a href="http://blog.technolyze.net/tag/tutorials/" id="tag-link-1110" class="st-tags t0" title="59 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Tutorials</a> <a href="http://blog.technolyze.net/tag/plugin/" id="tag-link-49" class="st-tags t2" title="210 topics" rel="tag" style="font-size:10.8pt; color:#a3a3a3;">plugin</a> <a href="http://blog.technolyze.net/tag/create/" id="tag-link-63" class="st-tags t0" title="70 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Create</a> <a href="http://blog.technolyze.net/tag/tutorial/" id="tag-link-101" class="st-tags t3" title="283 topics" rel="tag" style="font-size:12.2pt; color:#8e8e8e;">Tutorial.</a> <a href="http://blog.technolyze.net/tag/development/" id="tag-link-464" class="st-tags t0" title="65 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Development</a> <a href="http://blog.technolyze.net/tag/video/" id="tag-link-442" class="st-tags t0" title="89 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Video</a> <a href="http://blog.technolyze.net/tag/plugins/" id="tag-link-56" class="st-tags t0" title="65 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Plugins</a> <a href="http://blog.technolyze.net/tag/jquery/" id="tag-link-130" class="st-tags t2" title="190 topics" rel="tag" style="font-size:10.8pt; color:#a3a3a3;">jQuery</a> <a href="http://blog.technolyze.net/tag/server/" id="tag-link-36" class="st-tags t0" title="52 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Server</a> <a href="http://blog.technolyze.net/tag/guide/" id="tag-link-132" class="st-tags t0" title="52 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Guide</a> <a href="http://blog.technolyze.net/tag/search/" id="tag-link-141" class="st-tags t1" title="130 topics" rel="tag" style="font-size:9.4pt; color:#b7b7b7;">Search</a> <a href="http://blog.technolyze.net/tag/engine/" id="tag-link-142" class="st-tags t0" title="111 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Engine</a> <a href="http://blog.technolyze.net/tag/building/" id="tag-link-91" class="st-tags t0" title="50 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Building</a> <a href="http://blog.technolyze.net/tag/apache/" id="tag-link-35" class="st-tags t1" title="150 topics" rel="tag" style="font-size:9.4pt; color:#b7b7b7;">Apache</a> <a href="http://blog.technolyze.net/tag/form/" id="tag-link-72" class="st-tags t0" title="60 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Form</a> <a href="http://blog.technolyze.net/tag/source/" id="tag-link-97" class="st-tags t0" title="51 topics" rel="tag" style="font-size:8pt; color:#cccccc;">source</a> <a href="http://blog.technolyze.net/tag/html/" id="tag-link-96" class="st-tags t2" title="195 topics" rel="tag" style="font-size:10.8pt; color:#a3a3a3;">HTML</a> <a href="http://blog.technolyze.net/tag/flex/" id="tag-link-125" class="st-tags t0" title="78 topics" rel="tag" style="font-size:8pt; color:#cccccc;">Flex</a></div> </div> </div> </aside><!-- /#sidebar --> </div><!-- #content --> <footer id="footer-container"> <footer id="footer" class="col-full"> <div id="copyright" class="col-left"> Technolyze.net © 2012. All Rights Reserved. </div> <div id="credit" class="col-right"> <a href="http://www.technolyze.net">Contact Us.</a> </div> </footer><!-- /#footer --> </footer><!-- /#footer-container --> </div><!-- /#wrapper --> <noscript><a href="http://www.luminous-solutions.net">SEO services</a></noscript> <div style="display:none;"></div> <!-- START: Syntax Highlighter ComPress --> <script type="text/javascript"> SyntaxHighlighter.autoloader( 'applescript http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushAppleScript.js', 'actionscript3 as3 http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushAS3.js', 'bash shell http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushBash.js', 'coldfusion cf http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushColdFusion.js', 'cpp c http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushCpp.js', 'c# c-sharp csharp http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushCSharp.js', 'css http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushCss.js', 'delphi pascal pas http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushDelphi.js', 'diff patch http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushDiff.js', 'erl erlang http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushErlang.js', 'groovy http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushGroovy.js', 'java http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushJava.js', 'jfx javafx http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushJavaFX.js', 'js jscript javascript http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushJScript.js', 'perl pl http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushPerl.js', 'php http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushPhp.js', 'text plain http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushPlain.js', 'powershell ps http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushPowerShell.js', 'py python http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushPython.js', 'ruby rails ror rb http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushRuby.js', 'sass scss http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushSass.js', 'scala http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushScala.js', 'sql http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushSql.js', 'vb vbnet http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushVb.js', 'xml xhtml xslt html http://blog.technolyze.net/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushXml.js' ); SyntaxHighlighter.defaults['tab-size'] = 4; SyntaxHighlighter.all(); </script> <!-- END: Syntax Highlighter ComPress --> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-19968588-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <script type="text/javascript"> var sub = document.getElementById('submit'); document.getElementById('recaptcha-submit-btn-area').appendChild (sub); document.getElementById('submit').tabIndex = 6; if ( typeof _recaptcha_wordpress_savedcomment != 'undefined') { document.getElementById('comment').value = _recaptcha_wordpress_savedcomment; } document.getElementById('recaptcha_table').style.direction = 'ltr'; </script><script type='text/javascript' src='http://blog.technolyze.net/wp-content/plugins/akismet/_inc/form.js?ver=3.3.2'></script> <script type='text/javascript' src='http://blog.technolyze.net/wp-includes/js/comment-reply.min.js?ver=4.8.7'></script> <script type='text/javascript' src='http://blog.technolyze.net/wp-includes/js/wp-embed.min.js?ver=4.8.7'></script> </body> </html> <!-- This Quick Cache file was built for ( blog.technolyze.net/javascript-snippet-of-code-modify-to-run-question/ ) in 1.45569 seconds, on Oct 19th, 2018 at 5:30 am UTC. --> <!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Oct 19th, 2018 at 6:30 am UTC -->