Technote (FAQ)
Question
How to ease the selection of links ?
Answer
It is possible to increase the width of the link as soon as the mouse is over it. You can do this by using the css hover properties. As an example, you can define the lineWidth property (when the object is in the normal state and in the hover state) in the Alarm sample (jviews-tgo88\samples\network\alarm - see the data\network.css file):
object."ilog.tgo.model.IltObject" {
primaryAlarmState: Raw;
labelFont: "arial-plain-12";
labelBackground: '';
interactor: @+objInter;
lineWidth: 6; /* Add this code line 220 */
}
object."ilog.tgo.model.IltObject":hover {
labelFont: "arial-bold-12";
labelBackground: '#6000FFFF';
lineWidth: 16; /* Add this code line 230 */
}
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.