Created
August 18, 2019 11:52
-
-
Save hmbashar/31daa0c299966cdc83598fc3673d884c to your computer and use it in GitHub Desktop.
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
// Table Hover System | |
// for 2nd column | |
$('.hosting-feature-list-row div:nth-child(3)').hover(function() { | |
$('.hosting-feature-list-row').children('.hosting-feature-list-row div:nth-child(3)').addClass('shape-hosting-pack-hover'); | |
}, | |
function() { | |
$('.hosting-feature-list-row').children('.hosting-feature-list-row div:nth-child(3)').removeClass('shape-hosting-pack-hover'); | |
} | |
); | |
// For 3rd Column | |
$('.hosting-feature-list-row div:nth-child(4)').hover(function() { | |
$('.hosting-feature-list-row').children('.hosting-feature-list-row div:nth-child(4)').addClass('shape-hosting-pack-hover'); | |
}, | |
function() { | |
$('.hosting-feature-list-row').children('.hosting-feature-list-row div:nth-child(4)').removeClass('shape-hosting-pack-hover'); | |
} | |
); | |
// for 4th Column | |
$('.hosting-feature-list-row div:nth-child(5)').hover(function() { | |
$('.hosting-feature-list-row').children('.hosting-feature-list-row div:nth-child(5)').addClass('shape-hosting-pack-hover'); | |
}, | |
function() { | |
$('.hosting-feature-list-row').children('.hosting-feature-list-row div:nth-child(5)').removeClass('shape-hosting-pack-hover'); | |
} | |
); | |
// for 5th Column | |
$('.hosting-feature-list-row div:nth-child(6)').hover(function() { | |
$('.hosting-feature-list-row').children('.hosting-feature-list-row div:nth-child(6)').addClass('shape-hosting-pack-hover'); | |
}, | |
function() { | |
$('.hosting-feature-list-row').children('.hosting-feature-list-row div:nth-child(6)').removeClass('shape-hosting-pack-hover'); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment