0 Replies Latest reply on Mar 16, 2013 9:20 PM by sandwichpuissant

    target parent with onclick and javascript

    sandwichpuissant

      ≈ hello ≈

      i am making an interactive game with edge animations

      my main page looks like that:

      _____________________________

      |                    ______________             |

      |                    |   iframe with     |              |

      |                    |my html edge    |              |

      |                    |    animation      |               |

      |                    ______________              |

      |                                                                  |

      |                   ______________               |

      |                   |div with text in it|               |

      |                   -----------------------             |

      ---------------------------------------------

       

       

      i don't know anything about javascript and jquery, but

      i've already figured how to change the text in the div with this:

       

      href="#" onclick="javascript:state.display('oursmerci', this);return false;

       

       

      now, i want to do the same by clicking a symbol in my edge animation located in the iframe

      i want this:

       

      javascript:state.display('oursmerci', this);return false;

       

      to be executed in _parent when we click on a symbol

       

       

      is it possible?

       

       

       

      thanks for the replies and sorry for my english