Support › Forums › White – HTML Template › Use Nav button to redirect to different site › Reply To: Use Nav button to redirect to different site
May 7, 2016 at 8:10 am
#5344
CreaboxThemes
Keymaster
Hi,
for example if you want to change the link blog, you have to change the code from this:
<li><button class="pt-trigger left-margin css3Animate" data-animation="22" data-goto="5" data-style="darkNav" data-style2="blogNav">Blog<span class="line css3Animate"></span></button></li>
to this:
<li><button class="left-margin css3Animate" onclick="window.open('http://www.google.com/','_blank')" target="_blank">Blog<span class="line css3Animate"></span></button></li>
You have to use the funciton window.open
Regards