Question about clicking a button and loading code? - Programmers Heaven

Howdy, Stranger!

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

Categories

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 [email protected] 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 [email protected] 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.