Style Web View Action Bar

The following snip of JavaScript code will attach a CSS class to the action bar on a Web view. Simply place the code in the 'onload' event of your view template and attach a stylesheet that has a class defined as "actionBar".

The script checks for a <TABLE> tag immediately after the <FORM> tag, if one exists, the script assumes that the table is defining an action bar.

The script is for IE 4> only.

 // Check for an Action Bar and set it a classname
var oTable = document.forms[0].children[0];
	if (oTable && oTable.tagName == "TABLE") {
		document.forms[0].children[0].className = "actionBar";

Dig Deeper on Domino Resources

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