Search found 12 matches

by katun89
Wed Feb 16, 2011 5:29 am
Forum: SVG / XML Code
Topic: How to know the length of an element
Replies: 2
Views: 1770

How to know the length of an element

Hi guys, here is the problem: I have to check whether a string is longer than the path which contains it. Is there a Dom method to know the length of an element? So I could check whether the first (element, the string) is longer than the second (the rect or path which contains it). Can anyone help m...
by katun89
Sat Jan 22, 2011 10:21 am
Forum: SVG / XML Code
Topic: creating a rectangle with dom
Replies: 0
Views: 1626

creating a rectangle with dom

Guys I'm trying to draw the following <rect id="redcardback2"width="57" height="61" x="1624" y="270" style="fill:#010000;fill-opacity:1;fill-rule:nonzero;stroke:#c70000;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;st...
by katun89
Tue Jan 11, 2011 3:14 pm
Forum: SVG / XML Code
Topic: Disable selection of text
Replies: 4
Views: 4290

Disable selection of text

Hi guys, as the subject says: is tehere anyway to disable the selection of a text element? Here I have a simple circle with a number within: if u click 2 times the browser select the number to let you copy it, but I need to prevent this selection. <?xml version="1.0" encoding="UTF-8&q...
by katun89
Mon Jan 10, 2011 5:04 am
Forum: SVG / XML Code
Topic: SVG input
Replies: 2
Views: 1958

Re: SVG input

Answer found on carto.net! :)
by katun89
Mon Jan 10, 2011 4:47 am
Forum: SVG / XML Code
Topic: SVG input
Replies: 2
Views: 1958

SVG input

Hi guys,

is there a way to modify a svg with a string taken as input in the same svg?
Simply, is there a way to input a string by a svg file?
I don't get how to make a form where the user can write freely without involving javascript popup boxes! :(
by katun89
Mon Jan 10, 2011 2:49 am
Forum: Help with using Inkscape
Topic: Drawing path
Replies: 4
Views: 1089

Re: Drawing path

thanks! I think I got it! :)
Hope u will help me once again in my next thread :)
by katun89
Mon Jan 10, 2011 1:33 am
Forum: Help with using Inkscape
Topic: Drawing path
Replies: 4
Views: 1089

Re: Drawing path

ok XD I create objects using the pen (free drawing). In this example I got 2 simple draws: if I try to fill the second path with black (simply changing "none" to "black" with a text editor, without javascript) I get a wrong filling, if you try on your own self you'll get what I m...
by katun89
Sun Jan 09, 2011 1:08 pm
Forum: Help with using Inkscape
Topic: Simply writing
Replies: 3
Views: 1578

Re: Simply writing

that's it, thanks suv!
by katun89
Sun Jan 09, 2011 12:54 pm
Forum: Help with using Inkscape
Topic: Drawing path
Replies: 4
Views: 1089

Drawing path

Hi guys, I got a simple doubt. When I draw a closed path (suppose something like a square) and then I draw another path which start from a point on the first path border and ends on a point on the first path border too, is the code generated anyhow like this? <path id="first" d="1, 2,...
by katun89
Sun Jan 09, 2011 11:45 am
Forum: Help with using Inkscape
Topic: Simply writing
Replies: 3
Views: 1578

Simply writing

Hi everyone,

I simply wrote a word with inkscape.
Browsers won't display correctly my svg file. What am I missing? (See the attachment).
Thanks anyway :)
by katun89
Sun Jan 09, 2011 11:33 am
Forum: SVG / XML Code
Topic: Accessing DOM by another DOM
Replies: 1
Views: 1868

Accessing DOM by another DOM

My document is shaped this way:

by katun89
Sat Jan 08, 2011 1:05 pm
Forum: SVG / XML Code
Topic: External javascript code from svg
Replies: 1
Views: 4021

External javascript code from svg

Hi guys, I got a document like this: html code html code javascript code (some functions) html code embedded svg html code. Well, I guess the xml code is not integrated in the document code because I can't call within my svg a function defined outside the svg file, but in the same page anyway. Is th...

Go to advanced search