Search found 7 matches

by sovos
Tue Mar 05, 2013 10:43 pm
Forum: SVG / XML Code
Topic: cannot set fill property from interactivity menu
Replies: 11
Views: 6643

Re: cannot set fill property from interactivity menu

I see now!
The problem indeed raised when I changed the font size selecting all the text, although I didn't create the text dragging a box.

Thank you both for your helpful suggestions and time.
I wish you all a great day!
Sovos
by sovos
Tue Mar 05, 2013 4:09 am
Forum: SVG / XML Code
Topic: cannot set fill property from interactivity menu
Replies: 11
Views: 6643

Re: cannot set fill property from interactivity menu

(I'm trying to flow and unflow the text, but nothing seems to change code-wise. I'm trying to dig further into your insightful tip.)
by sovos
Tue Mar 05, 2013 4:03 am
Forum: SVG / XML Code
Topic: cannot set fill property from interactivity menu
Replies: 11
Views: 6643

Re: cannot set fill property from interactivity menu

Hey, you got this right!
Removing the tspan tag everything works fine.
How can I do that from Inkscape?

Many thanks!
by sovos
Tue Mar 05, 2013 3:59 am
Forum: SVG / XML Code
Topic: cannot set fill property from interactivity menu
Replies: 11
Views: 6643

Re: cannot set fill property from interactivity menu

I've got no idea about that. It's standard Inkscape text (I think °.°). The code produced is <text xml:space="preserve" style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#808080;fill-opacity:1;stroke:none;font-family:S...
by sovos
Tue Mar 05, 2013 3:44 am
Forum: SVG / XML Code
Topic: cannot set fill property from interactivity menu
Replies: 11
Views: 6643

Re: cannot set fill property from interactivity menu

Hey, thanks for the welcome and the reply! The links you gave me are interesting (and I thank you for them!), but they are not what I'm looking for. I think that there must be some sort of bug, as I'm trying to do something really simple that's presented in many guides, but it doesn't seem to work. ...
by sovos
Sun Mar 03, 2013 9:58 pm
Forum: SVG / XML Code
Topic: cannot set fill property from interactivity menu
Replies: 11
Views: 6643

Re: cannot set fill property from interactivity menu

Am I the only one having this problem? Or is it something known that I'm supposed to go around setting things directly from the code?
by sovos
Thu Feb 28, 2013 5:12 am
Forum: SVG / XML Code
Topic: cannot set fill property from interactivity menu
Replies: 11
Views: 6643

cannot set fill property from interactivity menu

If I write

Code: Select all

evt.target.setAttribute('stroke', 'red');
on the "onmouseover" section of the interactivity object property, the effect is applied to the text, but if I do

Code: Select all

evt.target.setAttribute('fill', 'red');
it doesn't work. Does anyone have any hint on the issue?

Thanks!

Go to advanced search