Skip to main content
karth80472045
Inspiring
March 13, 2018
Question

SVG Interactivity

  • March 13, 2018
  • 2 replies
  • 1112 views

Hello Everyone ,

In Adobe Illustrator  CS5 i need to access SVG Interactivity Dialog box through Scripting it is Possible to Access . it will be very useful for Tool tip in Browser .

Thanks and Regards,

Yogesh

This topic has been closed for replies.

2 replies

karth80472045
Inspiring
March 13, 2018

Thank you so much for your Idea sir , i will Try it .

Silly-V
Legend
March 13, 2018

Nope, but why don't you insert custom strings in URLs into the pageItems .url property (there's a case-mismatch issue when it comes to scripting property name, so watch out - it may be something like .uRL). Then you can have some javascript in the browser take the contents of the urls in the svg (they get turned into href attributes, or something) and then edit the SVG in-browser to create the title attribute to make the tooltips, or whichever thing you prefer to do. This browser-side javascript could be residing on whichever page your display the SVGs in, or as long as you have this javascript inside the original Illustrator file in the first place (you add it through that palette manually, and even keep one such .AI file into which you can put other content in).

Also you can attempt to read the useful parts of this super-long article:

Illustrator Variable Data Extended Techniques: Interactive SVG/HTML Export | LinkedIn