Hi, I have some suggestions for questions #2 and #3. Here goes...

#2 You can add links by wrapping the image element in a <a> tag, much link in 
HTML.  The code below will redirect the browser to a page called 'data.html' 
when the user clicks on the rectangle

 <a xlink:href="data.html">
        <rect x ="2000" y="2000" width="1000" height="1000">
        </rect>
    </a>

You can also use an onclick event handler as an attribute of an element, which 
will call a specified javascript function when the user clicks it.

#3.  I'm guessing that you are using two <sgv> elements in the same web page? 
If so, the browser is probably assigning separate screen space to each of them. 
If you include both images in the same <svg> element, then both images ought to 
be positioned relative to the coordinates of the <svg> element's viewBox 
attribute; they'll even overlap if their coordinates overlap.

Does this make sense?  The above should be true in Firefox 5, Chrome 
12.0.742.100, IE 9.0, and Safari 5.0.5.




--- In [email protected], "krma@..." <krma@...> wrote:
>
> OK, I have a couple of questions here...
> I am using adobe illustrator to design a website entirely, so I want the 
> pieces as SVG images and embed them in the html document... There is no 
> problem in the putting the images, but I have a few problems:
> 
> 1) When I zoom out it shows these scroll bars around the image, any idea how 
> to get rid of those?
> 
> 2) I want to add links to these external SVG images, meaning that I want to 
> click on the SVG image and it links me to somewhere else, what type of 
> command can I use for this?
> 
> 3) Also, when I put 2 images next to each other it always leaves this small 
> space between them, any idea how to get rid of it?
> 
> Thanks in advance.
>




------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to