Manage Learn to apply best practices and optimize your operations.

Hide collapse images

Hide collapse images so that users won't see them.

Sometimes, we don't want our users playing with collapse/expand categories in view on the Web.

The idea is to hide collapse images with a JavaScript function.

Put this code on your view template form: ($$ViewTemplateDefault) after 'ViewBody' field or after 'embedded view'. Don't forget to set text properties to Pass-Thru HTML.

// hide collapse.gif
// by
// put this code after the embedded view

for (i=0;i<document.images.length;i++) {

	if (document.images[i].src.indexOf("icons/collapse.gif") > 0) {
		document.images[i].style.display = 'none'

Dig Deeper on Domino Resources - Part 5

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...