Connecting 2 svg

Anonymous
02-10-2005, 06:20 AM
Hello everyone,

I have a frameset with 4 or 5 pages. 2 of them are svg and actually are identical. One is just a thumbnail on the other one.

I would like when i load an external svg's file into my svg 1 to load the same element in my svg 2.

I using the function getURL() to load my data.

Does anyone has an idea?

Thanks in advance.

Anonymous
02-14-2005, 01:54 AM
That's ok i did find a solution, not the one i wanted to but for now it is fine.

hauke
02-14-2005, 03:31 AM
would you share your solution with us?

is it something like this(?):
function TwoFrames(URI1,F1,URI2,F2) {
Frame1=eval("parent."+F1);
Frame2=eval("parent."+F2);
Frame1.location.href = URI1;
Frame2.location.href = URI2;
}
cheers - hauke

Anonymous
02-15-2005, 04:54 AM
No right now my solution is not very nice.
I just duplicated the part that i needed from my svg file into a second svg file (so, now i have two distinct svg file). Then i duplicated my function getURL(). Finely when i call my function getURL() by clcking my main svg file i call my second function getURL();
The reason why i did that is that i could not load an external svg file into an other document.

I wil find something nicer maybe later.

 
Web mp2kmag.com
mapforums.com

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum