Francis proposed:
> | Without further ado, I also challenge anyone to provide a
> | namespace process of today, whereby I can't present it in a
> | more intuitive method, without the use of namespace.
Doug says:
> This should be easy for you. Design an XML dialect that shares
element names
>
Hi, Francis-
| JD,
| Finally, someone who can think outside the box!
His point was *not* the same point you were making. You recommended that an
author create custom attributes, but not in their own NS (as they should
be). The issue of attributes in the "null" namespace is not as serious.
The ma
Hi, Jean-David-
| Francis may have a point :
|
| why setAttribute(attr,prop) does not default to
| setAttributeNS(CurrentDocNS,attr,prop) ???
Well, it depends on the implementation. That particular method call is up to
interpretation, since get/setAttribute is a DOM 1 method, as opposed to
get
JD,
Finally, someone who can think outside the box!
Without further ado, I also challenge anyone to provide a namespace
process of today, whereby I can't present it in a more intuitive
method, without the use of namespace.
Try me,
Francis
--- In svg-developers@yahoogroups.com, "benamou" wrote
Hi,
I am making an application in which i got to make the maps in SVG.
In which i got to give an unique id to each land area. So i am looking
for an editor in which i can draw the map in svg and give unique id's
to each bounded area. And further if i need to cut the land into 2
parts that can b
Francis may have a point :
why setAttribute(attr,prop) does not default
to setAttributeNS(CurrentDocNS,attr,prop) ???
JD
- Original Message -
From: "Doug Schepers" <[EMAIL PROTECTED]>
To:
Sent: Thursday, October 06, 2005 1:57 AM
Subject: RE: [svg-developers] setAttributeNS is dumb,dum
Hi, Travsam-
I don't know why you should be having any problems. This code (a variation
on yours) works perfectly in IE+ASV3 and FF1.5b1.
E-mail
Regards-
Doug
[EMAIL PROTECTED]
www.vectoreal.com ...for scalable solutions.
jucabapa79 wrote:
|
| Yep, i found the mistak
Yep, i found the mistake sending the code...
Then I want to know how then the code works on your viewer, i am
using the Adobe SVG Viewer using Internet Explorer.
I mean, my idea using the rectangle and the text is to form one
button, the entire button must allow the player to click to other
pa
Hi, Travsam-
Sorry, but I don't see what you mean. First off, your code snippet is not
well-formed... it seems you left off the end of the rectangle and the start
of the text element in the second code block.
Even correcting for that, though, the link worked perfectly.
Do you have a public URL
Of course!!!
Here is the code...
http://www.yahoo.com";>
E-
mail
http://www.google.com";>
Fax
Thanks anyway.
Travsam
--- In svg-developers@yahoogroups.com, "Doug Schepers" <[EMAIL PROTECTED]>
wrote:
> Hi, Travsam-
>
> Can you post a URL to your code, or a snippet of the offending
code
Hai ,
Thanx for your reply.But actually I have some circles in my program and
the lines connecting these circles.what the problem is i am going to
generate the circles first and connect these circles dynamically.in
order to connect the circles dynamically i have created the line element
itself
Hi, Bryan-
I'm not sure why it's not working for you. It works for me in both ASV3+IE
and FF (native SVG):
http://www.svg-whiz.com/svg/jumpToId.svg
Regards-
Doug
[EMAIL PROTECTED]
www.vectoreal.com ...for scalable solutions.
bryan_schnabel wrote:
|
| Hello,
|
| I'm trying to link a string
Hi, Travsam-
Can you post a URL to your code, or a snippet of the offending code? We'll
be better able to help you that way.
Regards-
Doug
[EMAIL PROTECTED]
www.vectoreal.com ...for scalable solutions.
jucabapa79 wrote:
|
| Insisting with my trouble i experimented to use different
| figures
Insisting with my trouble i experimented to use different figures
with to find out if this code works properly with them,
because i wanted to use a rotated rectangle as a link to another
page.
With a normal rectangle (without any transformation) the
works properly, also with text or any kind
Francis,
If you're so upset about the extra keystrokes, create yourself a JS
function that wraps the setAttributeNS() call up and be done with it.
setAttr() should do just fine. Other people may want to make it
clearer that what namespace their attribute applies to.
I entirely disagree with you
Hi, Francis-
It's not purist or futuristic. It's how most of us are using SVG today (e.g.
Alastair's comment). It is furture-proofing, in part, true, but that's not
why we do it correctly; it's because XML, right now, is being used with
multiple namespaces. If your only point of reference is using
Hi Doug,
I was going to try and clip out some of your comments below, but
they are all germane.
SVG has a base "namespace" that handles 99% of how SVG is applied
today. These future needs, very valid, should not be the tail that
wags the dog. SVG, at this time, should be trying to provide a com
Hi, Francis-
You might want to take a look at the SVG-Wiki article on namespaces [1]; I
wrote it to outline exactly why namespaces are necessary.
| How many of you just love to type about 100 extra keystrokes
| for any SVG element you want to create or access?
It's only a tiny bit more effort t
I find this to be a useful feature. I use script to create elements
under other namespaces and embed them inside my SVG (and other XML
dialects) all the time.
Also, this post isn't really an SVG post rather a DOM post. Try
[EMAIL PROTECTED]
Cheers,
Alastair
--- In svg-developers@yahoogroups.
OK Developers,
How many of you just love to type about 100 extra keystrokes for any
SVG element you want to create or access?
Would your rather request:
createElement("rect");
or, would you like to go through the mind-numbing process of
requesting:
var svgns = 'http://www.w3.org/2000/svg';
c
"Chris Lilley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wednesday, October 5, 2005, 9:52:05 PM, Francis wrote:
>
> FH> Arthy,
> FH> you are limiting yourself by using and syntax.
> FH> Try including attributes in each element such as title="my title
> FH> text" desc="Thi
Chris Wrote:
> Of course, the reason SVG has elements rather than attributes for this
> is that attributes cannot contain markup, which may be needed for some
> languages.
I'm totally ignorant of the structure of other languages, and their
markup needs. I guess there are always opportunities to
Thanks to Andreas for writing:
>.getTotalLength() is your friend when having to find out the total path
>length.
>
>.getPointAtLength() is a way to get the coordinates at a certain length
>from the origin. This
>way you could equally space elements along the path.
---
It worked great.
On Wednesday, October 5, 2005, 9:52:05 PM, Francis wrote:
FH> Arthy,
FH> you are limiting yourself by using and syntax.
FH> Try including attributes in each element such as title="my title
FH> text" desc="This is my description".
Presumably you meant to suggest that these attributes should be
Arthy,
you are limiting yourself by using and syntax.
Try including attributes in each element such as title="my title
text" desc="This is my description". Then you can use these
attributes anyway you want in your document. You can create your own
attribute names in any SVG element:
line.setAt
Hello,
I'm trying to link a string of text in my SVG file to a specific
heading in an external html file. The link finds, and opens the
html file, but does not find the specific heading (IE).
I put this in my svg file:
. . .
And this in my.htm file:
Hello
I expect the html file to open d
DD,
Pharaoh vs Oracle: very nice!
Do you think the getBBox() stuff can work for you? Give it a try,
just for fun.
Francis
--- In svg-developers@yahoogroups.com, "ddailey" <[EMAIL PROTECTED]>
wrote:
> In HTML if I want to know how many pixels there are in my browser
window
> (even though the
Hi Gary,
You have to keep in mind that the order of transformations is done
in SVG from the last to the first. So you have first to write
first: translation back from the origin to the original location
next: scale
last: translate the orginal location (that should not move) to the
origin.
By or
On Friday, September 30, 2005, 6:45:42 PM, T wrote:
TR> On 9/26/05 7:29 PM, Chris Lilley wrote:
>> After some testing I find the following reversions, wrt a recent GDI+
>> build (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4)
>> Gecko/20050908 Firefox/1.4)
TR> Thanks for testing out th
pass
[Non-text portions of this message have been removed]
Yahoo! Groups Sponsor ~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
-
--- In svg-developers@yahoogroups.com, Cameron McCormack wrote:
> Oh I forgot one more:
>
> algornik7:
> > var shape = svgDocument.createElement("image");
>
> var shape = svgdocument.createElementNS(svgns, "image");
>
> That should work.
>
> --
> e-mail : cam (at) mcc.id.au
--- In svg-developers@yahoogroups.com, Cameron McCormack wrote:
> Hi algornik7.
>
> algornik7:
> > shape.setAttribute("xlink:href","some_pic.jpg");
>
> You need to use a namespace for this attribute:
>
> shape.setAttributeNS
> ("http://www.w3.org/1999/xlink";, "xlink:href", "some_pi
Oh I forgot one more:
algornik7:
> var shape = svgDocument.createElement("image");
var shape = svgdocument.createElementNS(svgns, "image");
That should work.
--
e-mail : cam (at) mcc.id.au icq : 26955922
web : http://mcc.id.au/msn : cam-msn (at) aka.m
--- In svg-developers@yahoogroups.com, Cameron McCormack wrote:
> Hi algornik7.
>
> algornik7:
> > shape.setAttribute("xlink:href","some_pic.jpg");
>
> You need to use a namespace for this attribute:
>
> shape.setAttributeNS
> ("http://www.w3.org/1999/xlink";, "xlink:href", "some_pi
Hai,
I am using tooltip to display some information.if i create elements
seperately then i can give and tag to display the
information.but currently i have generated the element(line) in the
java script function. i have given the function below.
function drawline()
{
line.setAttribute("id"
Hai,
I am using tooltip to display some information.if i create elements
seperately then i can give and tag to display the
information.but currently i have generated the element(line) in the
java script function. i have given the function below.
function drawline()
{
line.setAttribute("id"
Hi algornik7.
algornik7:
> shape.setAttribute("xlink:href","some_pic.jpg");
You need to use a namespace for this attribute:
shape.setAttributeNS
("http://www.w3.org/1999/xlink";, "xlink:href", "some_pic.jpg");
--
e-mail : cam (at) mcc.id.au icq : 26955922
web : htt
Hello.
I'm writing the programm where I need to create images using SVG and
Javascript:
http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
http://www.w3.org/2000/svg";>
http://www.w3.org/2000/svg";;
Opera 8 supports (natively) some animation (Tiny SVG I believe):
http://www.opera.com/features/svg/
If you install Adobe SVG 3, I think it only works for Netscape and
Internet Explorer. These combinations should work immediately.
You can also use Adobe SVG 3 with Firefox and Opera with some extra
Hi, Andrew-
That combination should work. As a test, you might try IE+ASV3/ASV6pr1.
As a newbie, you may be interested to know about the SVG-Wiki [1]. It has
links to ASV6 [2].
For some animations that I know work with ASV3, you can look here:
[1] http://svg-whiz.com/wiki/index.php?title=Main_P
I am just a beginner to SVG.
I am trying to get animation working. Can someone tell me
the right combination of browser and plugin I need ? I
have Netscape 8 and installed ASVG 3, and have tried it
with Mozilla Firefox and the above plugin. But nothing
happens when I try running an animation i
"Andreas Neumann" wrote:
>
> Personally, I would very regret if the SVG people, community and the
> W3C would only go after the mobile market and neglect the desktop. I
> think both desktop and mobile can benefit from each other and I
> would not separate the two in future SVG.Open conference
Hi, Anthony-
Francis' code should work fine in ASV3, but there's a caveat in ASV6pr1:
there is no "parent" object, so you will have to use "top" instead.
On the SVG-Wiki, there are more details (including a discussion of
cross-platform authoring), and links to some examples that work in both IE
a
I found that the a xlink works in the code, but only in one section
of the pictures i refered in the code below (exactly in the point
where is located the objects) but is not working in the rest of the
object.
So it means that don't work in a rotated image??? Is there
another way to make it w
It's been a long day..what can I say, except I guess that sometimes
one should just maybe enjoy a glass or two of Guinnes, and then go
to bed, and quit bothering folks.
--- In svg-developers@yahoogroups.com, "Doug Schepers" <[EMAIL PROTECTED]>
wrote:
> Hi, Francis-
>
> While you're in Vanco
I'm going to try. Thanks a lot.
Thomas DeWeese <[EMAIL PROTECTED]> a écrit :Hi Julie,
jgfa92004 wrote:
> I use Batik to generate a svg document. But I also want to insert a
> script section (to insert my own javascript functions) : how can I do
> this ?
Instead of having the SVGGraphics2D
46 matches
Mail list logo