Index: trunk/phase3/skins/vector/vector.js |
— | — | @@ -1,18 +1,19 @@ |
2 | 2 | /* |
3 | 3 | * Vector-specific scripts |
4 | 4 | */ |
5 | | -$(document).ready( function() { |
| 5 | +jQuery( function( $ ) { |
| 6 | + var $pCactions = $( '#p-cactions' ); |
6 | 7 | // For accessibility, show the menu when the hidden link in the menu is clicked |
7 | | - $( '#p-cactions h5 a' ).click( function() { |
8 | | - $( '#p-cactions .menu' ).toggleClass( 'menuForceShow' ); |
| 8 | + $pCactions.find( 'h5 a' ).click( function() { |
| 9 | + $pCactions.find( '.menu' ).toggleClass( 'menuForceShow' ); |
9 | 10 | }); |
10 | | - |
| 11 | + |
11 | 12 | // When the hidden link has focus, also set a class that will change the arrow icon |
12 | | - $( '#p-cactions h5 a' ).focus( function () { |
13 | | - $( '#p-cactions' ).addClass( 'vectorMenuFocus' ); |
| 13 | + $pCactions.find( 'h5 a' ).focus( function () { |
| 14 | + $pCactions.addClass( 'vectorMenuFocus' ); |
14 | 15 | }); |
15 | | - |
16 | | - $( '#p-cactions h5 a' ).blur( function () { |
17 | | - $( '#p-cactions' ).removeClass( 'vectorMenuFocus' ); |
| 16 | + |
| 17 | + $pCactions.find( 'h5 a' ).blur( function () { |
| 18 | + $pCactions.removeClass( 'vectorMenuFocus' ); |
18 | 19 | }); |
19 | 20 | }); |
Index: trunk/phase3/CREDITS |
— | — | @@ -65,6 +65,7 @@ |
66 | 66 | * Soxred93 |
67 | 67 | * Thomas Bleher |
68 | 68 | * Tim Starling |
| 69 | +* Timo Tijhof |
69 | 70 | * Tom Gries |
70 | 71 | * Trevor Parscal |
71 | 72 | * Victor Vasiliev |