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!

Interacting with Frames

Status
Not open for further replies.

victorsk

Programmer
Jul 26, 2005
21
CA
Hello,

I was wondering how to make two frames interact with eachother. What I have is an SVG code in both files and I need to make one file trigger response in another. I know it has something to do with:
var svgobj = parent.my_svg_frame.document.getElementByID(element); then use
svgobj.getStyle().setProperty('display', 'inline');

but I keep getting "error parent.my_svg_frame is null or not an object" error. This approach works within a single file when trying to trigger elements (press a button and image appears) but it is necessary that I use separate files for that any ideas?

Please help,
Thank you,
Victor.
 
Ooops, sorry folks this is a wrong forum section, I used the wrong bookmark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top