Is it possible to set up a button link to redirect to another page to a title?
For example in menu I have page "Realised projects" and want to redirect to page "Welcome" where I have my portfolio with title "Realised projects". Is it possible to do it with script that Im using now?
<script>
setTimeout(function(){location.href="http://example.com/alternate_url.html"} , 0);
</script>
I need something like this but for redirect after load the page: <a href="http://example.com/alternate_url.html" title="test">test</a>
The question is little bit tricky. But I am using website builder that is shitty af and wont lt me edit the button code, and let me edit only html body script:)
you can use this
like
<script> setTimeout(function(){location.replace("http://example.com/alternate_url.html");}, 0); </script>
This worked:)
<script>
setTimeout(function(){location.href="http://example.com/alternate_url.html",title="test"} , 0);
</script>
<h2 id="test">Title</h2>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.