button link doesn't work

What does it do? Try changing the target to $w(“#button5”).target = “_blank”; and seeing that works. Then we can circle back around to fix the first issue.