svn: /web/php/trunk/ js/common.js styles/theme.css

[email protected] (Paul Dragoonis)
Newsgroups php.webmaster
Message-ID <[email protected]>
dragoonis                                Sat, 01 Jan 2011 21:40:25 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=306965

Log:
Adding the pointer icon to the buttons that lack it

Changed paths:
    U   web/php/trunk/js/common.js
    U   web/php/trunk/styles/theme.css

Modified: web/php/trunk/js/common.js
===================================================================
--- web/php/trunk/js/common.js	2011-01-01 21:37:30 UTC (rev 306964)
+++ web/php/trunk/js/common.js	2011-01-01 21:40:25 UTC (rev 306965)
@@ -154,6 +154,11 @@
         });

         if (foundToc) {
+
+            var userNotesHeader = $('#usernotes');
+            $('<a class="toc_item" href="#' + userNotesHeader.attr('id') + '">User Contributed Notes</a>')
+                .appendTo( $('<li>') ).parent().appendTo(l);
+
             jQuery.getScript("/js/jquery.scrollto.min.js", function(){
                 l.delegate("a.toc_item","click keypress", function(e) {
                     // Escape dots in ids so they won't be treated as class selectors
@@ -179,6 +184,10 @@
         });
     });

+    if($('.docs table.doctable').length) {
+        $(this).find('tbody tr:even').addClass("alt-row")
+    }
+
 });

 /**

Modified: web/php/trunk/styles/theme.css
===================================================================
--- web/php/trunk/styles/theme.css	2011-01-01 21:37:30 UTC (rev 306964)
+++ web/php/trunk/styles/theme.css	2011-01-01 21:40:25 UTC (rev 306965)
@@ -102,6 +102,7 @@
     border: 1px solid #604080;
     background: #604080;
     color: #fff;
+    cursor: pointer;
 }
 #changelang {
     border-color: #987db3;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.