This commit is contained in:
louiscklaw
2025-01-31 19:24:26 +08:00
parent 4afadb4bfd
commit ad92aa80a9
3382 changed files with 882279 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
function EDMGoto(){
setTimeout(() => {
// ?EDM_goto=our_brands
let saintized = window.location.search.replace('?','')
let [key,value] = saintized.split('=')
console.log({key,value, saintized})
if (key == 'EDM_goto'){
document.querySelector(`#${value}`).scrollIntoView()
}
}, 1000);
return document.removeEventListener('DOMContentLoaded', EDMGoto)
}
document.addEventListener('DOMContentLoaded', EDMGoto)
// http://192.168.10.180:8080/?EDM_goto=jobs-featured
// http://192.168.10.180:8080/?EDM_goto=consultants-featured
// http://192.168.10.180:8080/?EDM_goto=our_brands