This file contains hidden or 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
| var id, delay = 5000; | |
| var checkWindowSize = function() { | |
| var windowSize = { | |
| width: $(window).width(), | |
| height: $(window).height() | |
| } | |
| }; | |
| function onWindowResizeEnd(){ |
This file contains hidden or 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
| $.each($('input'), function(){ | |
| var v = $(this).val(); | |
| $(this).focus(function(){ | |
| var current_v = $(this).val(); | |
| if(current_v==v) { | |
| $(this) | |
| .val('') | |
| .addClass('active'); | |
| } | |
| }); |
This file contains hidden or 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
| /* | |
| * CSS to hide everything from the | |
| * pagination except prev/next buttons. | |
| */ | |
| .search-results.node-results { | |
| margin-bottom: 0; | |
| border-bottom: 2px solid #ccc; | |
| box-shadow: 0 4px 6px #ddd; | |
| } |