Commit:    98122ddf64fe710c253f7f6d24d75c2d147bbf39
Author:    Paul Dragoonis <[email protected]>         Sat, 1 Jan 2011 
21:40:25 +0000
Parents:   a9279c11a1d81df59c34610dcfb5d4e73c060403
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=98122ddf64fe710c253f7f6d24d75c2d147bbf39

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

Changed paths:
  M  js/common.js
  M  styles/theme.css


Diff:
diff --git a/js/common.js b/js/common.js
index 8a404f0..e2d030c 100644
--- a/js/common.js
+++ b/js/common.js
@@ -154,6 +154,11 @@ $(document).ready(function() {
         });
 
         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 @@ $(document).ready(function() {
         });
     });
 
+    if($('.docs table.doctable').length) {
+        $(this).find('tbody tr:even').addClass("alt-row")
+    }
+
 });
 
 /**
diff --git a/styles/theme.css b/styles/theme.css
index 8937031..a43e1fb 100644
--- a/styles/theme.css
+++ b/styles/theme.css
@@ -102,6 +102,7 @@ a:hover {
     border: 1px solid #604080;
     background: #604080;
     color: #fff;
+    cursor: pointer;
 }
 #changelang {
     border-color: #987db3;


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to