User stopthesearch.com - SnippetGood most recent 30 from http://snippetgood.com 2010-07-29T23:50:50Z http://snippetgood.com/feeds/user/5 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://snippetgood.com/questions/149/tool-snippet-designer-for-visual-studio Tool: Snippet Designer for Visual Studio StopTheSearch.com 2009-11-11T21:30:49Z 2009-11-11T21:30:49Z <p>I just found a great tool on CodePlex - it simplifies all your snippet needs and can even take code you've highlighted in the IDE and covert it to a snippet auto-magically</p> <p><a href="http://www.codeplex.com/SnippetDesigner" rel="nofollow">http://www.codeplex.com/SnippetDesigner</a></p> http://snippetgood.com/questions/37/how-do-i-reset-the-css-of-a-website/131#131 Answer by StopTheSearch.com for How do I reset the CSS of a website? StopTheSearch.com 2009-10-25T05:33:57Z 2009-10-25T05:33:57Z <p>Yahoo has a great CSS reset they make available which they heavily test against major browsers and multiple versions. <a href="http://developer.yahoo.com/yui/reset/" rel="nofollow">http://developer.yahoo.com/yui/reset/</a></p> http://snippetgood.com/questions/42/use-jquery-hosted-by-google-or-hosted-by-microsoft/118#118 Answer by StopTheSearch.com for Use jQuery hosted by Google or hosted by Microsoft? StopTheSearch.com 2009-10-21T03:31:11Z 2009-10-21T03:31:11Z <p>An update: I've been running a test via PINGDOM for a week or so now and can report that the Microsoft-hosted jQuery responds slightly faster than the Google-hosted one. However, both are really, really fast when compared to my main site so it doesn't really matter in terms of speed - as long as one or the other is chosen all is good.</p> http://snippetgood.com/questions/42/use-jquery-hosted-by-google-or-hosted-by-microsoft Use jQuery hosted by Google or hosted by Microsoft? StopTheSearch.com 2009-10-05T04:50:02Z 2009-10-21T03:31:11Z <p>They both offer jQuery hosting now - which should I use? I'm leaning towards the Microsoft option since they also host the jquery-1.3.2-vsdoc.js file which means I get full Intellisense support in Visual Studio.</p> <p>Thoughts?</p> http://snippetgood.com/questions/48/ninjafy-javascript-halloween-pirates-or-ghosts-or-ninjas Ninjafy Javascript Halloween Pirates or Ghosts or Ninjas StopTheSearch.com 2009-10-07T17:24:56Z 2009-10-20T02:57:05Z <p>I'm looking for some cute Halloween-themed characters to go on my site... Hopefully something kind of surprising so that the site looks normal but when somebody clicks on one of the special page links they get surprised by one of the characters popping up. Or maybe the characters pop out of the page and run off-screen.</p> <p>Does anybody have anything that could work?</p> http://snippetgood.com/questions/91/how-can-i-build-a-rotating-tips-feature-using-javascript/94#94 Answer by StopTheSearch.com for How can I build a rotating "Tips" feature using Javascript StopTheSearch.com 2009-10-14T02:32:40Z 2009-10-14T02:32:40Z <p>Hey there, I've got a basic system running on <a href="http://www.stopthesearch.com" rel="nofollow">StopTheSearch.com</a> in the sidebar just below the twitter feed.</p> <p>There's a few parts that need updating:</p> <pre><code>Custom CSS ------------ #quote-box-text div { display: none; } </code></pre> <p>and customize this sidebar code with your own tips/info:</p> <pre><code>In the Sidebar &lt;div id="quote-box-text"&gt; &lt;div&gt;In one day, a slow dripping tap would fill a bathtub.&lt;/div&gt; &lt;div&gt;Fossil fuels were formed from the remains of ancient plants and animals&lt;/div&gt; &lt;div&gt;How many times can a piece of paper be recycled? About 7 times.&lt;/div&gt; &lt;/div&gt; </code></pre> <p>then finally in the footer</p> <pre><code>&lt;script type="text/javascript" charset="utf-8"&gt; $(function() { var randomNum = Math.floor(Math.random()*3); $('div#quote-box-text div:eq(' + randomNum + ')').css("display", "block"); }); &lt;/script&gt; </code></pre> <p>This code certainly isn't perfect but it'll get you up and running quickly. One thing, in the footer you'll see *3... change that number based on how many lines you've got in the sidebar call. Yes, it would be better if this figured itself out itself but hey, I'll leave this as an exercise for our readers :)</p> http://snippetgood.com/questions/80/how-can-i-use-meta-tags-in-my-website/87#87 Answer by StopTheSearch.com for How can I use meta tags in my website? StopTheSearch.com 2009-10-12T04:45:07Z 2009-10-12T04:45:07Z <p>The META Description appears to be quite useful in that the content will sometimes be used on search engine result pages so if you write it well it can help influence people to visit your site. There isn't a hard rule on length but 200 characcters or less should prove to be more than enough for your needs.</p> http://snippetgood.com/questions/10/looking-for-database-connection-strings/11#11 Answer by StopTheSearch.com for Looking for database connection strings StopTheSearch.com 2009-09-30T23:53:52Z 2009-09-30T23:53:52Z <p>Check out <a href="http://www.ConnectionStrings.com" rel="nofollow">ConnectionStrings.com</a> for a huge collection of samples broken down by product and technology. The whole site is devoted to connecting to databases so I'm sure you'll find what you're looking for there.</p>