Changeset 222168
- Timestamp:
- 03/25/2024 01:32:52 PM (20 months ago)
- Location:
- bond-construction/1.0.1
- Files:
-
- 3 edited
- 1 copied
-
. (copied) (copied from bond-construction/1.0.0)
-
assets/js/custom.js (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
style.css (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bond-construction/1.0.1/assets/js/custom.js
r221557 r222168 30 30 MAIN NAVIGATION 31 31 ------------------------------------------------*/ 32 menu_toggle.click(function(){ 33 nav_menu.slideToggle(); 34 $(this).toggleClass('active'); 35 $('.main-navigation').toggleClass('menu-open'); 36 $('.menu-overlay').toggleClass('active'); 32 33 $('.menu-toggle').click(function() { 34 $(this).toggleClass('active'); 35 $(this).parent().find('ul.nav-menu').slideToggle(); 36 $(this).parent().find('div.nav-menu > ul').slideToggle(); 37 $('#masthead button.dropdown-toggle').removeClass('active'); 38 $('#masthead').find('.sub-menu').slideUp(); 37 39 }); 38 40 39 dropdown_toggle.click(function() {41 $('.dropdown-toggle').click(function() { 40 42 $(this).toggleClass('active'); 41 $(this).parent().find('.sub-menu').first().slideToggle(); 43 $(this).parent().find('.sub-menu').first().slideToggle(); 44 $(this).parent().find('.children').first().slideToggle(); 42 45 }); 43 46 44 45 /*--------------------------------------------------------------46 Keyboard Navigation47 ----------------------------------------------------------------*/48 47 if( $(window).width() < 1024 ) { 49 $('# primary-menu').find("li").last().bind( 'keydown', function(e) {48 $('#site-navigation .nav-menu').find("li").last().bind( 'keydown', function(e) { 50 49 if( !e.shiftKey && e.which === 9 ) { 51 50 e.preventDefault(); 52 $('#masthead').find('.menu-toggle').focus(); 51 $('.site-header').find('.menu-toggle').focus(); 52 } 53 }); 54 55 $('button.dropdown-toggle').focus(function() { 56 $(this).addClass('active'); 57 $(this).parent().find('.sub-menu').first().slideDown(); 58 59 if( $('button.dropdown-toggle').hasClass('active') ) { 60 $(this).addClass('active'); 61 $(this).parent().find('.sub-menu').first().slideDown(); 53 62 } 54 63 }); 55 64 } 56 65 else { 57 $('# primary-menu').find("li").unbind('keydown');66 $('#site-navigation .nav-menu').find("li").unbind('keydown'); 58 67 } 59 68 60 69 $(window).resize(function() { 61 70 if( $(window).width() < 1024 ) { 62 $('# primary-menu').find("li").last().bind( 'keydown', function(e) {71 $('#site-navigation .nav-menu').find("li").last().bind( 'keydown', function(e) { 63 72 if( !e.shiftKey && e.which === 9 ) { 64 73 e.preventDefault(); 65 $('#masthead').find('.menu-toggle').focus(); 74 $('.site-header').find('.menu-toggle').focus(); 75 } 76 }); 77 78 $('button.dropdown-toggle').focus(function() { 79 $(this).addClass('active'); 80 $(this).parent().find('.sub-menu').first().slideDown(); 81 82 if( $('button.dropdown-toggle').hasClass('active') ) { 83 $(this).addClass('active'); 84 $(this).parent().find('.sub-menu').first().slideDown(); 66 85 } 67 86 }); 68 87 } 69 88 else { 70 $('# primary-menu').find("li").unbind('keydown');89 $('#site-navigation .nav-menu').find("li").unbind('keydown'); 71 90 } 72 91 }); … … 79 98 if ( shiftKey && tabKey ) { 80 99 e.preventDefault(); 81 $('# primary-menu').find("li:last-child > a").focus();82 $('# primary-menu').find("li").last().bind( 'keydown', function(e) {100 $('#site-navigation .nav-menu').find("li:last-child > a").focus(); 101 $('#site-navigation .nav-menu').find("li").last().bind( 'keydown', function(e) { 83 102 if( !e.shiftKey && e.which === 9 ) { 84 103 e.preventDefault(); 85 $(' #masthead').find('.menu-toggle').focus();104 $('.site-header').find('.menu-toggle').focus(); 86 105 } 87 106 }); 88 } ;107 } 89 108 } 90 109 }); 91 92 110 93 111 /*------------------------------------------------ -
bond-construction/1.0.1/readme.txt
r221557 r222168 4 4 Requires at least: 5.6 5 5 Tested up to: 6.2 6 Stable tag: 1.0. 06 Stable tag: 1.0.1 7 7 License: GNU General Public License v2 or later 8 8 License URI: LICENSE … … 74 74 * Initial release 75 75 76 = 1.0.1 = 77 * Issue Fixed 78 76 79 == Credits == 77 80 -
bond-construction/1.0.1/style.css
r221557 r222168 5 5 Author URI: https://wildthemes.com/ 6 6 Description: Bond Construction is an extraordinary Wordpress theme that is perfectly suitable for any type of website, building, construction, roofing, industry, business, corporate, portfolio etc.Bond Construction has a fully responsive layout. It fits perfectly on various displays and resolutions from regular desktop screens to tablets, iPads, iPhones and small mobile devices. It is packed with amazing features that can be customized so as to meet your requirements. Build your website effortlessly with Bond Construction! 7 Version: 1.0. 07 Version: 1.0.1 8 8 Requires PHP: 5.6 9 9 Tested up to: 6.2 … … 1804 1804 #secondary a { 1805 1805 color: #333; 1806 } 1807 ul li a { 1806 1808 text-decoration: none; 1807 1809 } … … 4841 4843 background-color: #ffc925; 4842 4844 } 4845 .site-title a:hover, 4846 .site-title a:focus { 4847 color: #fff; 4848 } 4843 4849 .secondary-menu ul { 4844 4850 float: none; … … 5090 5096 transform: none; 5091 5097 } 5092 .menu-toggle.active {5093 margin-right: -22px;5094 }5095 5098 .site-logo img { 5096 5099 margin-right: 10px;
Note: See TracChangeset
for help on using the changeset viewer.