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

From: Date: Sat, 01 Jan 2011 21:40:25 +0000
Subject: svn: /web/php/trunk/ js/common.js styles/theme.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-10162@lists.php.net to get a copy of this message
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;

« previous php.webmaster (#10162) next »