Hi-
| Try this:
| rect= document.getElementById("Element ID");
The original poster should note that "Element ID" is not a legal id value.
An id can't contain spaces, and can only have the characters A-Z, a-z, 0-9,
- and _. It must start with a letter.
| style=rect.getStyle()
| style.setProperty(
Some of my friends have managed to meet a few nice ones off this thing (here is
the place they told me: http://www.amuseinn.info/wyfnf , but what do you guys
reckon? Myself, I actually think it is pretty awesome from what I've seen,
and Im considering getting on there later on this evening. If
Try this:
rect= document.getElementById("Element ID");
style=rect.getStyle()
style.setProperty("stroke", myColor)
Francis
--- In svg-developers@yahoogroups.com, "sent1729" <[EMAIL PROTECTED]>
wrote:
>
> Hi all,
>
> I have rectangles in my svg document, and i have
defined
> the s
I guess I should provide the svgDownload.html so you can have some
idea on how to help your user get this damn thingy loaded:
Welcome to the SVG Experience! Adobe's SVG Viewer* will provide
crystal clear images that can be zoomed & panned.
After the download page is visible:
1. Select:
I have use the following in the HEAD and it works nicely in IE
var hasSVGSupport = false;
var useVBMethod = false;
if (navigator.mimeTypes != null && navigator.mimeTypes.length > 0) {
if (navigator.mimeTypes["image/svg-xml"] != null)
hasSVGSupport = true;
}else{
us
Hi Fuliopen,
Since you said you would like to add code to do this then try this
method:
Give your circle an id
Then use getBBox() stuff to build and locate a rectangle(it'll be
square for a circle).
Then provide certain 'offset' values to size this rect so it gives
you the desired area beh
Hi Alwinovicz,
I recently loaded a "most-serious" svg-application on our site. It
tracks, in real-time, the spread of Avian Influenza across the globe.
See: http://www.mobiusPortal.com
I'll be glad to assist you in documenting the process for you diploma,
Francis
Alwinovicz Wrote,
> I still need
Hi Laurent,
The "Show Source" of the Adobe SVG Viewer will provide the initially
loaded SVG document. If the document is then propagated, via loading
elements at the client, then it will not display your SVG elements.
What this means is, that if you use XML to create your SVG elements at
the c
Hi Ruud,
Thanks for your observation that SVG is becoming 'part of the mix'.
That's a healthy sign. I guess some of get too focused on SVG alone.
But ;), I must say that anyone who attempts to provide data-
generated graphics, must use SVG exclusively, with its natural
linkage to XML.
I happily
The CSS styles override the equivalent attributes.
That's why I normally use CSS for the styles that won't change and attributes
for the styles I plan to modify. This works quite well if you have only one or
two attributes to change. For example,
.box { fill: blue; stroke-width: 1px; }
Now
Hi, Laurent-
| I'm making a web site, I want to protect the svg file wich
| appear to the site.
| Wow can I do ?
There are ways of making it harder for someone to get at your code, but the
reality is that it's not normally worth the bother. There's an article on
SVG-Wiki about this:
http://www.s
I'm making a web site, I want to protect the svg file wich appear to
the site.
Wow can I do ?
Thinks
Laurent
Yahoo! Groups Sponsor ~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/v
Hi all,
I have rectangles in my svg document, and i have defined
the style of the rectangle in a seperate style sheet(.css). I wanted to
change the stroke color of the rectangle programatically. I tried
assigning the stroke property as:
rect= document.getElementById("Element ID");
Examples of real SVG applications:
1. Annotation program for annotating images/ads/etc using client side
scripting and SVG.
2. MathML to SVG converter for marking up mathmatical calculations
for print.
3. Microsoft Visio imports/export SVG.
4. Carto based solution for U.S. military.
Cheers,
A
For background and border, I would add something like:
before the circle.
fuliopen <[EMAIL PROTECTED]> wrote:
Hi,
I am a new user for svg. In the following svg code, I like to add
background color and border. I know that this piece <. . . width="200"
height="200" . . .> defines the area
thx bart,
stupid me, stick to my cartesian coordinate systems i wasn't thinking
that it could also be rotated and skewed, i need only scale and
translate for my stuff!
andré
bstuycke wrote:
> That would be nice indeed, but not so easy to implement since a
> transformed rectangle is not neces
That would be nice indeed, but not so easy to implement since a
transformed rectangle is not necessarily a rectangle. The result
could be expressed only as four points or as a general polygone with
4 corners. Only when translating, scaling or rotating by a multiple
of 90 degrees the result ca
hi,
playing around with .matrixTransform() i noticed that it only works with
an SVGPoint. i know i may transform all needed elements by working with
SVGPoint, but is there a reason why SVGRect (and others) are not supported?
andré
--
___
Hi,
I'd suggest you have a look at the SVG.Open proceedings (http://www.svgopen.org
/) for the use of SVG-Applications.
Besides GIS/Mapping SVG is also strong (and used) in interactive (scientific)
visualization. Also in reporting systems (charts, diagrams, table, flowcharts),
E-Learning (inter
Take a look at autotrace.
It is written in C, but does what you are suggesting. There is a web interface
to it here:
http://www.roitsystems.com/cgi-bin/r2v/tracer.pl
You will find, however, that raster-to-svg cthe images that autotrace
generates offer less than a 50% packing compared to the
Hello!
I apologize in advance if I am asking the same question again. Is there any
Java based tool which can translate (e.g. via Java API calls ) raster image
formats (JPEG, PNG) into SVG? The idea is: Since SVG graphic images are
compact than PNG, JPEG; so if a mobile device support SVG then inst
Alwinovicz,
Generally speaking, there is no reason to use SVG where html works better, and
html works very well at forms and text rendering.
Where svg is useful is in applications involving contextual information
delivered visually. This is of course why GIS has been quick to adapt SVG
as
Is there any way to open a window from within an SVG with window.open
and then access the SVG in the main window from the opened child
window?
i tried to use window.opener for this but i am not able to access SVG
elements (although i can retrieve the window.name with it).
Here is some code:
"GIS-databases" are databases that have geometry types, so next to the standard
things such as integer, float, you can store stuff as polygon, line, etc... Of
course you could build geometry using relational tables of just floats (for the
coordinates) and some people have, but having specialised
Hi,
I still need some more help for my diploma. Does anyone know where I
can find "serious" svg-applications besides cartographical ones? I
think of things like booking systems for airlines ore cinemas, of
which I know they exist but can't find them. I'm also happy about any
tips where svg is alr
This is how I solved the problem: all my svg are enclosed in an
object tag which can display alternative text when there is no
plugin assigned to the "image/svg+xml" tag.
I don't use html/svg mixed coding, so it works perfectly for me. I
have not tried myself, but apparently if you need to be
26 matches
Mail list logo