Hide collapse images

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

This Content Component encountered an error

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.


<script>
// hide collapse.gif
// by gunawantw@innocent.com
// 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'
	}
}
</script>
This was first published in September 2001

Dig deeper on Domino Resources - Part 5

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com'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 ...

SearchEnterpriseLinux

SearchDataCenter

SearchExchange

SearchContentManagement

Close