slkuypers
(Stephanie Kuypers)
February 18, 2021, 8:38pm
1
Hey community
The social links in the footer of this site I’m building aren’t opening in a new tab once published even though “new tab” has been selected.
The same thing goes for the press articles on the Press room page:
https://speedinvest.webflow.io/press
They should also be opening in a new tab.
Please help!
Read-only link:
https://preview.webflow.com/preview/speedinvest?utm_medium=preview_link&utm_source=dashboard&utm_content=speedinvest&preview=65f0143e5af65c95b7ab06ca4f85eac6&mode=preview
Published site: https://speedinvest.webflow.io/
This site is going live tomorrow!
Appreciate any help. Thank you
Do you run any custom JS code in your backend?
slkuypers
(Stephanie Kuypers)
February 18, 2021, 8:54pm
3
yes. I do.
Here is all of it.
It won’t let me paste code. How do I show you?
Paste the code, select it and click the small code icon above this text field.
slkuypers
(Stephanie Kuypers)
February 18, 2021, 8:58pm
5
<!--Click page fade delay START-->
<script>
function delay (URL) {
setTimeout( function() { window.location = URL }, 850 );
}
</script>
<!--Click page fade delay END-->
<!--Cookie banner START-->
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css" />
<script src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js" data-cfasync="false"></script>
<script>
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#000000"
},
"button": {
"background": "transparent",
"border": "#ff5001",
"text": "#ff5001"
}
},
"position": "bottom-left",
"content": {
"message": "Cookies help us provide our content and services. By continuing to use this website you are giving consent to cookies being used.",
"dismiss": "Ok",
"link": "Read More",
"href": "/legal"
}
});
</script>
<!--Cookie banner END-->
<!-- INVESTMENT TEAMS OPENS MENU START -->
<script>
$(document).ready(function() {
$('.open-burger').on('click', function(){
$('.menu-button').click();
})
});
</script>
<script>
$('[href]:not(.filter-button)').click(function (e) {
e.preventDefault();
var goTo = this.getAttribute("href");
$('#fade-out').click();
setTimeout(function(){window.location = goTo;},500);
});
</script>
<script>
$('#teams-button').click(function () {
$('#burger').trigger('tap');
})
</script>
<!-- INVESTMENT TEAMS OPENS MENU END -->
Could you disable this temporarily and look if the problems still persist?
system
(system)
Closed
April 20, 2021, 6:08pm
7
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.