Question
Hi.
I searched support for "border drawing", resulting in one hit, not on-point.
I want to change the drawing border color, in most cases to "none". I don't see any way to do that.
Suggestions? ... cheers, drl
Environment
--
DennisLienke - 20 Jul 2004
Answer
I do not understand, border color of what?
--
PeterThoeny - 21 Jul 2004
Hi. Sorry for not being clear enough.
When the topic is processed and displayed in normal view, the
%DRAWING% variable is replaced by a rectangle that encloses the drawing objects -- text, ellipses, etc. It is
that rectangle of which I am speaking. It appears to adopt the colors of a link (not visited, visited), but I wish to change the colors of that bounding rectangle
in specific instances to be invisible (color none) ... cheers, drl
--
DennisLienke - 21 Jul 2004
In file
twiki/lib/TWiki/Plugins/TWikiDrawPlugin.pm, add a
border="0" parameter to the image tag in sub handleDrawing:
"<img src=\"%ATTACHURLPATH%/$nameVal.gif\" border=\"0\" ".
"alt=\"Edit drawing '$nameVal' ".
"(requires a Java enabled browser)\"></a>\n";
Alternatively you could leave the Plugin alone, but specify an image tag pointing to a drawing. Assuming you have the drawing called
example in topic
TopicA, you can show the drawing in any topic by writing
%ATTACHURL%/%WEB%/TopicA/example.gif
--
PeterThoeny - 22 Jul 2004