index: navbar dropdown fix
[bootswatch] / index.html
index 61772ca..4685f6e 100644 (file)
@@ -10,8 +10,8 @@
                <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
 
-       <link href="assets/css/bootstrap.min.css" rel="stylesheet">
-       <link href="assets/css/bootstrap-responsive.min.css" rel="stylesheet">
+       <link href="default/bootstrap.min.css" rel="stylesheet">
+       <link href="default/bootstrap-responsive.min.css" rel="stylesheet">
        <link href="css/bootswatch.css" rel="stylesheet">
        <link href="http://feeds.feedburner.com/bootswatch" rel="alternate" type="application/rss+xml" title="Bootswatch">
 
@@ -34,6 +34,7 @@
 
 <body>
        <script src="js/bsa.js"></script>
+       
        <div class="navbar navbar-fixed-top">
                <div class="navbar-inner">
                        <div class="container">
                                <a class="brand" href="./">Bootswatch</a>
                                <div class="nav-collapse" id="main-menu">
 
-                               </div><!--/.nav-collapse -->
+                               </div>
                        </div>
                </div>
        </div>
 
-
        <div class="container">
 
                <div class="hero-unit">
@@ -94,7 +94,7 @@
                        </div>
                        <div class="span4">
                                <img class="glyph" src="img/glyphicons_280_settings.png">
-                               <h3>Tuned for 2.1.0</h3>
+                               <h3>Tuned for 2.2.1</h3>
                                <p>Swatches are built for and tested with the latest version of Bootstrap. <a target="_blank" href="https://github.com/thomaspark/bootswatch/downloads">Older versions</a> are also available for download.</p>
                        </div>
                        <div class="span4">
                                </div>
                        </div>
 
-
-                       <!-- <div class="span4">
-                               <div class="thumbnail">
-                                       <img src="img/refs/blank.png" alt="" style="background-image: url('img/refs/stripes.png');">
-                                       <div class="caption">
-                                               <h3>Still searching?</h3>
-                                               <p>Get a swatch that's customized to your needs.</p>
-                                               <div class="btn-toolbar">
-                                                       <div class="btn-group">
-                                                               <a class="btn btn-large btn-warning" data-toggle="modal" target="_blank" href="#modal-custom" onClick="_gaq.push(['_trackEvent', 'bootswatch', 'custom', 'more-info']);"><i class="icon-info-sign icon-white"></i> More Info</a>
-                                                       </div>
-                                               </div>
-                                       </div>
-                               </div>
-                       </div> -->
-
-
                </div> <!-- end row-->
 
-
-               <div class="modal hide fade" id="modal-custom">
-                       <div class="modal-header">
-                               <a class="close" data-dismiss="modal">×</a>
-                               <h3>Custom-Built Swatches and More</h3>
-                       </div>
-                       <div class="modal-body">
-                               <p>Get a  Bootstrap theme designed and developed from the ground up.<br>Send inquiries to <a href="mailto:hello@thomaspark.me">hello@thomaspark.me</a>.</p>
-                       </div>
-                       <div class="modal-footer">
-                               <a href="#" class="btn" data-dismiss="modal">Close</a>
-                       </div>
-               </div>
-
                <hr>
 
                <footer id="footer">
                        <p class="pull-right"><a href="#">Back to top</a></p>
                        <div class="links">
-                               <a onclick="pageTracker._link(this.href); return false;" href="http://news.bootswatch.com">Blog</a>
-                               <a href="http://feeds.feedburner.com/bootswatch" target="_blank">RSS</a>
-                               <a href="https://twitter.com/thomashpark" target="_blank">Twitter</a>
-                               <a href="https://github.com/thomaspark/bootswatch/" target="_blank">GitHub</a>
-                               <a href="javascript:(function(e,a,g,h,f,c,b,d)%7Bif(!(f%3De.jQuery)%7C%7Cg%3Ef.fn.jquery%7C%7Ch(f))%7Bc%3Da.createElement(%22script%22)%3Bc.type%3D%22text/javascript%22%3Bc.src%3D%22http://ajax.googleapis.com/ajax/libs/jquery/%22%2Bg%2B%22/jquery.min.js%22%3Bc.onload%3Dc.onreadystatechange%3Dfunction()%7Bif(!b%26%26(!(d%3Dthis.readyState)%7C%7Cd%3D%3D%22loaded%22%7C%7Cd%3D%3D%22complete%22))%7Bh((f%3De.jQuery).noConflict(1),b%3D1)%3Bf(c).remove()%7D%7D%3Ba.documentElement.childNodes%5B0%5D.appendChild(c)%7D%7D)(window,document,%221.3.2%22,function(%24,L)%7Bif(%24(%22.bootswatcher%22)%5B0%5D)%7B%24(%22.bootswatcher%22).remove()%7Delse%7Bvar%20%24e%3D%24(%27%3Cselect%20class%3D%22bootswatcher%22%3E%3Coption%3EAmelia%3C/option%3E%3Coption%3ECerulean%3C/option%3E%3Coption%3ECyborg%3C/option%3E%3Coption%3EJournal%3C/option%3E%3Coption%3EReadable%3C/option%3E%3Coption%3ESimplex%3C/option%3E%3Coption%3ESlate%3C/option%3E%3Coption%3ESpacelab%3C/option%3E%3Coption%3ESpruce%3C/option%3E%3Coption%3ESuperhero%3C/option%3E%3Coption%3EUnited%3C/option%3E%3C/select%3E%27)%3Bvar%20l%3D1%2BMath.floor(Math.random()*%24e.children().length)%3B%24e.css(%7B%22z-index%22:%2299999%22,position:%22fixed%22,top:%225px%22,right:%225px%22,opacity:%220.5%22%7D).hover(function()%7B%24(this).css(%22opacity%22,%221%22)%7D,function()%7B%24(this).css(%22opacity%22,%220.5%22)%7D).change(function()%7Bif(!%24(%22link.bootswatcher%22)%5B0%5D)%7B%24(%22head%22).append(%27%3Clink%20rel%3D%22stylesheet%22%20class%3D%22bootswatcher%22%3E%27)%7D%24(%22link.bootswatcher%22).attr(%22href%22,%22http://bootswatch.com/%22%2B%24(this).find(%22:selected%22).text().toLowerCase()%2B%22/bootstrap.min.css%22)%7D).find(%22option:nth-child(%22%2Bl%2B%22)%22).attr(%22selected%22,%22selected%22).end().trigger(%22change%22)%3B%24(%22body%22).append(%24e)%7D%3B%7D)%3B">Bootswatchlet</a>
-                               <a href="https://github.com/thomaspark/bootswatch/tree/master/swatchmaker" target="_blank">Swatchmaker</a>
+                               <a href="http://news.bootswatch.com" onclick="pageTracker._link(this.href); return false;">Blog</a>
+                               <a href="http://feeds.feedburner.com/bootswatch">RSS</a>
+                               <a href="https://twitter.com/thomashpark">Twitter</a>
+                               <a href="https://github.com/thomaspark/bootswatch/">GitHub</a>
+                               <a rel="tooltip" href="javascript:(function(e,a,g,h,f,c,b,d)%7Bif(!(f%3De.jQuery)%7C%7Cg%3Ef.fn.jquery%7C%7Ch(f))%7Bc%3Da.createElement(%22script%22)%3Bc.type%3D%22text/javascript%22%3Bc.src%3D%22http://ajax.googleapis.com/ajax/libs/jquery/%22%2Bg%2B%22/jquery.min.js%22%3Bc.onload%3Dc.onreadystatechange%3Dfunction()%7Bif(!b%26%26(!(d%3Dthis.readyState)%7C%7Cd%3D%3D%22loaded%22%7C%7Cd%3D%3D%22complete%22))%7Bh((f%3De.jQuery).noConflict(1),b%3D1)%3Bf(c).remove()%7D%7D%3Ba.documentElement.childNodes%5B0%5D.appendChild(c)%7D%7D)(window,document,%221.3.2%22,function(%24,L)%7Bif(%24(%22.bootswatcher%22)%5B0%5D)%7B%24(%22.bootswatcher%22).remove()%7Delse%7Bvar%20%24e%3D%24(%27%3Cselect%20class%3D%22bootswatcher%22%3E%3Coption%3EAmelia%3C/option%3E%3Coption%3ECerulean%3C/option%3E%3Coption%3ECyborg%3C/option%3E%3Coption%3EJournal%3C/option%3E%3Coption%3EReadable%3C/option%3E%3Coption%3ESimplex%3C/option%3E%3Coption%3ESlate%3C/option%3E%3Coption%3ESpacelab%3C/option%3E%3Coption%3ESpruce%3C/option%3E%3Coption%3ESuperhero%3C/option%3E%3Coption%3EUnited%3C/option%3E%3C/select%3E%27)%3Bvar%20l%3D1%2BMath.floor(Math.random()*%24e.children().length)%3B%24e.css(%7B%22z-index%22:%2299999%22,position:%22fixed%22,top:%225px%22,right:%225px%22,opacity:%220.5%22%7D).hover(function()%7B%24(this).css(%22opacity%22,%221%22)%7D,function()%7B%24(this).css(%22opacity%22,%220.5%22)%7D).change(function()%7Bif(!%24(%22link.bootswatcher%22)%5B0%5D)%7B%24(%22head%22).append(%27%3Clink%20rel%3D%22stylesheet%22%20class%3D%22bootswatcher%22%3E%27)%7D%24(%22link.bootswatcher%22).attr(%22href%22,%22http://bootswatch.com/%22%2B%24(this).find(%22:selected%22).text().toLowerCase()%2B%22/bootstrap.min.css%22)%7D).find(%22option:nth-child(%22%2Bl%2B%22)%22).attr(%22selected%22,%22selected%22).end().trigger(%22change%22)%3B%24(%22body%22).append(%24e)%7D%3B%7D)%3B" title="Drag to your bookmarks bar">Bookmarklet</a>
+                               <a href="https://github.com/thomaspark/bootswatch/tree/master/swatchmaker">Swatchmaker</a>
                                <a data-toggle="modal" href="#api">API</a>
                        </div>
                        Made by <a target="_blank" href="http://thomaspark.me" onclick="pageTracker._link(this.href); return false;">Thomas Park</a>. Contact him <a href="mailto:hello@thomaspark.me">hello@thomaspark.me</a>.<br/>
                        Based on <a target="_blank" href="http://twitter.github.com/bootstrap/">Bootstrap</a>. Hosted on <a target="_blank" href="http://pages.github.com/">GitHub</a>. Icons from <a target="_blank" href="http://glyphicons.com/">Glyphicons</a>. Web fonts from <a target="_blank" href="http://www.google.com/webfonts">Google</a>.</p>
                </footer>
 
-       </div> <!-- /container -->
+       </div>
 
 
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
-       <script src="assets/js/bootstrap.min.js"></script>
+       <script src="js/bootstrap.min.js"></script>
        <script src="js/bootswatch.js"></script>
        <script>
                !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
                parseRSS('http://feeds.feedburner.com/bootswatch', function(d){
                        var h ='<strong>Recent updates:</strong> ';
                        for (var i = 0; i < 3; i++){
-                               h = h + '<a href="' + d.entries[i].link + '">' + d.entries[i].title + '...</a>&nbsp;&nbsp;';
+                               h = h + '<a href="' + d.entries[i].link + '" onclick="pageTracker._link(this.href); return false;">' + d.entries[i].title + '...</a>&nbsp;&nbsp;';
                        }
                        document.getElementById('ticker').innerHTML = h;
                })