Jump to content
  • 0

Button Next Instead Of Arrow Next On Details Page?


Jan

Question

Hi,

 

I have a question.

Is it a possible, on Details page, to create a button "Next" instead of arrows "Previous"-"Next"?

I do not need the "Previous", only the "Next" button. So, I need to hide arrows "Previous"-"Next" too. 

 

Thank you for your time!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello Jan,

 

To create the 'Next' button instead of arrows in the 'Details' report, you can use next script in footer:

<a id='next'>
<img src='button_image.gif'>
</a>

<script>
var linktonext=document.getElementsByName("JumpToNext"),
    navBar = document.getElementsByClassName("cbFormNavigationTable")[0],
nextButton = document.getElementById("next");

navBar.style.display='none';

if(linktonext.length){
    nextButton.href= linktonext[0];
}else{
    nextButton.style.display = 'none';
}
</script>

Note: The "Navigate to next/previous records" option should be selected for the 'Details' report.

 

Hope it helps.

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...