Click to See Complete Forum and Search --> : fire function in iframe from parent


freefall
08-13-2003, 07:13 PM
Hello, I need to know how to fire a function located in an inline frame via a button in the parent frame. I am making a simple javascript 360 panorama viewer and would like to add buttons to reverse, change speed, etc.
Thank you,
Ian Paterson

current example:
www.degreethree.com/pan.html

Khalid Ali
08-13-2003, 10:22 PM
parent.frameName.functionName()

should work.

freefall
08-14-2003, 01:02 AM
thanks, I'll remember that for the future, but I found a way awhile ago. Now it works just fine, thanks for your help!
- Ian

www.degreethree.com/pan.html

Khalid Ali
08-14-2003, 01:05 AM
You are welcome..:D