Skip to main content

Blocklist (show navigation can't be customised)

1 reply [Last post]
adelukman
Offline
Joined: 2008-01-06
Points: 0

hi,
Working with a Blocklist and i don't want to see the previous and next button what should i do ?
I have tried editing the component.js and tried to play with the arg variable and no show yet

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31
Points: 0

If you look in the /resources/jmaki/blockList/component.htm you should be able to change it.

You could also copy the component.htm to another name in the same directory customcomponent.htm and use the template property to use a different template for different instances.

Example:

template="customcomponent.htm"

args="{count:3, showNavigation: false}" value="[
{title : 'jMaki Project Home', link : 'https://ajax.dev.java.net', description : 'Where to go for the latest jMaki.' },
{title : 'jMaki Widgets Home', link : 'https://widgets.dev.java.net', description : 'The source for the latest jMaki widgets.' },
{title : 'jMaki-Charting Home', link : 'https://jmaki-charting.dev.java.net', description : 'Enables complex charts rendered on the client in any modern browser.' }" />

-G