Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open URL in new window 1

Status
Not open for further replies.

JimColville

Technical User
Aug 19, 2005
3
LU
I use Illustrator to create SVG files used in Technical Documentation that is distributed and accessed with a web browser. One of my projects uses maps of various countries as a front page to access equipmet lists at various sites. The user clicks on the map and is taken to the list etc. I would like this list to appear in a new explorer window. In Illustrator, I use the Attributes palette to enter the URL, image map 'Rectangle' etc. However, I can't find a way to tell it to open that URL in a new window. Does anyone know if this can be done ? I know that I can get the required result by using Java in the SVG interactivity palette; however, I would like to keep that as a last resort due to problems that causes with the stand-alone browser we use for our distributed CDs.
Cheers..... Jim Colville
 
The only way I could figure out how to do this...

Open your final SVG file in Notepad.
Crtl-F and type in HREF= to find the first XHTML link.

You will see code like this
<a xlink:href="
Add this to end of the href code:
target= "_blank">
(This is basic HTML code to open in new window)

So...
<a xlink:href=" target= "_blank">

In notepad hit F3 go to the next HREF code link.
 
Thanks fizzak,
We'll do this. There is the limitation that anytime I work on the drawing in Illustrator it will rewrite the SVG when I save it. However, we will produce a script to change it back to the way we want. Thanks again for the input
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top