javascript slide up and redirect to another page on button click code example
Example 1: js onclick redirect
<button onclick="location.href='www.yoursite.com'">Click Me</button>
Example 2: js go to page
window.location.href = "http://example.com/new_url";