Diaries

Placing Text Dynamically in SVG


Posted by Bharatc apropos on Thu Feb 21st, 2008 at 04:20:46 BST

Hi I am working on a concept mapping project using svg images for displaying the concept map i have 2 problems and am not able to continue with the project
  1. Placing text dynamically in svg : i have managed to place the objects(rectangles) using loops , but in order to place the text on theese objects both the location of the text and the text inself needs to be dynamic. Can this be done
  2. I need to attach a hyper link with each txt that i place on the rectangle.
All the text that I came across are placed statically using predefined coordinates.I want a way of using variables to define the coordinates to place this text.

Permanent link to this story

Login

Make a new account

Username:
Password:

Poll

How would you like to see advertizing on SVG.org?

  • Regular animated banners (9%)
  • Using Google AdWords (34%)
  • Custom advertizing from sponsors (23%)
  • No advertizing, please (32%)
Votes: 149 | Comments: 12
Results | Other Polls
Diaries

Tuesday April 22nd

Monday April 7th

Friday April 4th

Thursday April 3rd

Wednesday April 2nd

Saturday March 29th

Saturday March 22nd

Thursday March 20th

Tuesday March 18th

Older Stories...