This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
Set custom class name for active li element #5650
Closed
Closed
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
dd9e18b
Set custom class name for active li element
k8ns a091a41
Create css2.html for test LiActiveClass method
k8ns 575fc60
Add test for munu liActiveClass method
k8ns 457ca3a
Add missed getLiActiveClass() method
k8ns 249f5bc
Add liActiveClass using recommendations
k8ns c8659f3
fix copy-paste error
k8ns 3e56d09
Move new variable to end of the list
k8ns 9c53138
Drop spaces
k8ns File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
tests/ZendTest/View/Helper/Navigation/_files/expected/menu/css2.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<ul class="navigation"> | ||
<li> | ||
<a href="site1">Site 1</a> | ||
</li> | ||
<li class="activated"> | ||
<a href="site2">Site 2</a> | ||
</li> | ||
<li> | ||
<a href="site3">Site 3</a> | ||
</li> | ||
</ul> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@return self
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@samsonasik
At this point the "CS police" is not needed! Because the entire implementation from sopinorg is bad.