Not logged in. · Lost password · Register
Forum: Offtopic Forum Help RSS
[Solved]Open link in a new page.
Avatar
DavMRO00 #1
Member for 3 months · 18 posts
Group memberships: Members
Show profile · Link to this post
Subject: [Solved]Open link in a new page.
How can i open the link inside a button in a new page?...

<button type="primary" size="sm" icon="fa fa-database fa-2x">[[https://test.testtest.it/|This is a test button]]</button>

This is the button... how can i make him open that link in a new page?

Thanks a lot
This post was edited on 2019-02-06, 11:24 by DavMRO00.
Avatar
turnermm (Moderator) #2
Member since Oct 2009 · 4598 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
I'm not sure I entirely understand your question.  But if I do:

A simple solution is to use an image link: https://www.dokuwiki.org/wiki:syntax#image_links.  If you want to open in a new page then you have to set the links configuration option.

With a standard button you will have to create a button with an onclick handler.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
andi (Administrator) #3
User title: splitbrain
Member since May 2006 · 3409 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
DavMRO00 this sub forum is for questions about the forum itself. Your question seems to be unrelated to the forum (and seemingly to DokuWiki as well). Please take the time to select the appropriate sub forum and to describe a little better what exactly you want to achieve. I will delete threads like this in the future.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-04-20, 00:35:13 (UTC +02:00)