重写驭鑫网站 new yxsilicon
This commit is contained in:
9
驭鑫/new yxsilicon/js/footer.js
Normal file
9
驭鑫/new yxsilicon/js/footer.js
Normal file
@@ -0,0 +1,9 @@
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
document.querySelectorAll('.footer-case-link').forEach(link => {
|
||||
link.addEventListener('click', function(e) {
|
||||
e.preventDefault();
|
||||
window.name = this.dataset.index + '|scroll';
|
||||
window.location.href = this.href;
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user