Subject: [svg-developers] Re: To create text box in SVG
Thanks JKK,
I wanted a simple Text box. The examples where good but I would like
to get hold of a simpler code.
-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg
Hi Jitz
ive got two textboxes, one works in ASV6 and Batik
http://www.treebuilder.de/svg/textbox/textbox2.svg
and the other in ASV3
http://www.treebuilder.de/svg/textbox/textbox.svg
im not sure the code is simpler . just check them out.
if you have any question concerning the code, just ask.
hth
Hello,
I have a relatively simple multi-line textbox located at:
http://www.galacticpathways.com/OpenSource/OpenSource.aspx
To use it:
Include a reference to TextBox.js in your svg file.
Create a text box by calling Textbox(x, y, width, height,
parentyou're your javascript where parent is
Thanks for the help. I would like to know how I will be able to get
the complete test to a variable. Probably I might be missing something.
--- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] wrote:
Hi Jitz
ive got two textboxes, one works in ASV6 and Batik
Hi Jitz
if you give the textbox an id ( say textbox1) then
textbox1.textnode.data
contains the entered text.
you can also set the text with
textbox1.textnode.data=text
cheers
holger
ztij0 wrote:
Thanks for the help. I would like to know how I will be able to get
the complete test to a
Is there a way by which you can create a text box in SVG ?
Yes, with some scripting you can do so.
here an example of a muliline textbox:
http://jan.kollhof.net/projects/svg/examples/gui/textbox.svg
There are toolkits out there that have a whole set of widgets, do
chekc them out.
e.g. SPARK:
Thanks JKK,
I wanted a simple Text box. The examples where good but I would like
to get hold of a simpler code.
--- In svg-developers@yahoogroups.com, Jan-Klaas Kollhof
[EMAIL PROTECTED] wrote:
Is there a way by which you can create a text box in SVG ?
Yes, with some scripting you can do
7 matches
Mail list logo