Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Question about clicking a button and loading code?

kalahan amnellkalahan amnell Posts: 1Member
Hello
I am trying to get this webpage finished and i am stuck on a problem. I am trying to load some javascript code on the click of a button. It works but only in a frame. If someone could tell me how to make it work on the entire page and not just the frame that would be greatly appreciated.

Here is the code:



Image Changing - Demo 3









Hello










I can send you the mouse_tail.html file if you email me at kalahanamnell@hotmail.com or you can just use a test.html file. either way thank you very much.

Regards and greatest thanks,
Kalahan Amnell

Comments

  • compuchipcompuchip Posts: 273Member
    Try replacing the
    document.etcetera
    by
    parent.document.etcetera

    : Hello
    : I am trying to get this webpage finished and i am stuck on a problem. I am trying to load some javascript code on the click of a button. It works but only in a frame. If someone could tell me how to make it work on the entire page and not just the frame that would be greatly appreciated.
    :
    : Here is the code:
    :
    :
    :
    : Image Changing - Demo 3
    :
    :
    :
    :
    :
    :
    :
    :
    :
    : Hello
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    : I can send you the mouse_tail.html file if you email me at kalahanamnell@hotmail.com or you can just use a test.html file. either way thank you very much.
    :
    : Regards and greatest thanks,
    : Kalahan Amnell
    :

Sign In or Register to comment.