Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Issue 10827304: Extensions Docs Server: Highlight links on left nav (Closed)

Created:
8 years, 4 months ago by cduvall
Modified:
8 years, 4 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, clintstaley
Visibility:
Public.

Description

Extensions Docs Server: Highlight links on left nav The link for the page you are on will now be hightlighted in the left nav bar. BUG=142008 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151516

Patch Set 1 : #

Total comments: 12

Patch Set 2 : clean up and comments #

Total comments: 2

Patch Set 3 : strip slashes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -24 lines) Patch
M chrome/common/extensions/docs/server2/static/css/site.css View 1 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/common/extensions/docs/server2/static/js/sidebar.js View 1 2 1 chunk +32 lines, -20 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
cduvall
Quick fix for sidenav highlighting.
8 years, 4 months ago (2012-08-13 22:27:55 UTC) #1
not at google - send to devlin
http://codereview.chromium.org/10827304/diff/2001/chrome/common/extensions/docs/server2/static/css/site.css File chrome/common/extensions/docs/server2/static/css/site.css (right): http://codereview.chromium.org/10827304/diff/2001/chrome/common/extensions/docs/server2/static/css/site.css#newcode347 chrome/common/extensions/docs/server2/static/css/site.css:347: cursor: default; cursor styling should be unnecssary if we ...
8 years, 4 months ago (2012-08-13 23:17:21 UTC) #2
cduvall
https://chromiumcodereview.appspot.com/10827304/diff/2001/chrome/common/extensions/docs/server2/static/css/site.css File chrome/common/extensions/docs/server2/static/css/site.css (right): https://chromiumcodereview.appspot.com/10827304/diff/2001/chrome/common/extensions/docs/server2/static/css/site.css#newcode347 chrome/common/extensions/docs/server2/static/css/site.css:347: cursor: default; On 2012/08/13 23:17:21, kalman wrote: > cursor ...
8 years, 4 months ago (2012-08-13 23:46:10 UTC) #3
not at google - send to devlin
lgtm http://codereview.chromium.org/10827304/diff/6002/chrome/common/extensions/docs/server2/static/js/sidebar.js File chrome/common/extensions/docs/server2/static/js/sidebar.js (right): http://codereview.chromium.org/10827304/diff/6002/chrome/common/extensions/docs/server2/static/js/sidebar.js#newcode66 chrome/common/extensions/docs/server2/static/js/sidebar.js:66: var path_parts = document.location.pathname.split('/') what about if the ...
8 years, 4 months ago (2012-08-14 04:07:20 UTC) #4
cduvall
8 years, 4 months ago (2012-08-14 18:23:22 UTC) #5
https://chromiumcodereview.appspot.com/10827304/diff/6002/chrome/common/exten...
File chrome/common/extensions/docs/server2/static/js/sidebar.js (right):

https://chromiumcodereview.appspot.com/10827304/diff/6002/chrome/common/exten...
chrome/common/extensions/docs/server2/static/js/sidebar.js:66: var path_parts =
document.location.pathname.split('/')
On 2012/08/14 04:07:20, kalman wrote:
> what about if the path ends with some number of /s.

Done.

Powered by Google App Engine
This is Rietveld 408576698