PROBLEM: I’d like to create a yellow highlighter effect so that I can highlight some text in a field.
SOLUTION: If you have tried to create a transparent yellow rectangle object to use as a highlighter, you’ve likely noticed that after exporting to DHTML the transparency is lost. Additionally it is very likely the yellow fill color of the rectangle will appear as a completely wrong color in the browser.
The reason for this failure is that Draw Objects, such as a Rectangle, are exported to DHTML as JPG or GIF images and during the process of converting them into images, the transparency is lost.
There are two ways to successfully achieve a highlighter effect in ToolBook.
USE A TEXT FIELD
If you use a non-editable text field the transparency effect will remain after exporting to DHTML. The only draw-back of using this solution is that ToolBook’s rendering of transparent colors is different than how the browser renders transparent colors. As such your yellow highlighter color, as shown at Reader Level, will likely appear as a more brilliant yellow, compared to what the browser will show.
USE A PNG IMAGE
Starting with ToolBook 9.5 you can now add PNG image types into ToolBook. PNG is an image format which supports alpha-channel type transparency. If you were to create a partially transparent PNG image using an image editor, you could bring this into ToolBook to use as a highlighter. This is the preferred method, since the transparency will look identical at both Reader Level and when viewed in a browser.
For more information on this PNG option see:
http://www.toolbook.com/kb/Q123406656600038
