Yes, you could develop a Javascript action to do this. But the quickest way to do this in Mendix is with a nanoflow. Nanoflows run client side, so no server communication is required.
Yes, but why would you, when there’s a widget for that: ‘link button’.
Just add that widget to your page, like you would any other widget and set its properties something like:
It can be a static link, but it can also be a link taken from an object’s attribute.