Advertisement
astalpaert

Untitled

Jul 28th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. /*breadcrumbs*/
  2.  
  3. /*$test = $("#block-breadcrumbs").find("a");*/
  4. $test = $("#block-breadcrumbs");
  5. //console.log($test.text());
  6.  
  7. $.each($test, function(key, value){
  8.  
  9. $bc = $(this).children().find("li");
  10. //console.log($bc);
  11.  
  12. $.each($bc, function(key, value){
  13. //console.log($(this).text());
  14. //console.log($(this));
  15. console.log($(this).last());
  16. $(this).last().css("color", "#ffed00");
  17. $temp = $(this).text();
  18. $(this).find("a").text($temp + ">");
  19. });
  20.  
  21. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement