Jump to content
  • 0

Add New Button


JanineB

Question

5 answers to this question

Recommended Posts

  • 1

If I understand correctly, you wanted to be able to append a button beside the "Back" button of a Details Drilldown.

 

To do so, just paste the code below in the footer of your DataPage. Do make sure the HTML Editor in the Advanced tab is unchecked before pasting the code.

<script>

var linkUrl = 'https://www.google.com'
var title = `Go ask Google, kiddie`;


//Your HTML goes here. Edits are not necessary but you may do so if you know what you're doing
var myButton = `
<a href="${linkUrl}" class="cbBackButton"> ${title} </a>
`; 

document.querySelector('.cbBackButtonContainer').insertAdjacentHTML('beforeend', myButton);

</script>

 

Hope this helps.

 

Regards,

DN31337

Link to comment
Share on other sites

  • 0

Hi @Carlson,

You can paste the code below on the header, just make sure that you have unchecked the 'Enable HTML editor' in the 'Advance' tab http://prntscr.com/luozh4 . After that go back to the 'Standard' tab and paste the code below

<style>

.cbBackButton {
    color: #FFFFFF !important;
    text-decoration: none !important;
}

</style>

That should remove the underline, hope this helps

Regards,

TsiBiRu

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...