Find the answer to your Linux question:
Results 1 to 2 of 2
So in my experimentation with Javascript, I've been having a major issue regarding iframes. I have a page with 2 frames. The menu is in frame 1, and when clicked, ...
  1. #1
    Just Joined!
    Join Date
    Nov 2010
    Location
    Alaska
    Posts
    55

    Javascript problem

    So in my experimentation with Javascript, I've been having a major issue regarding iframes. I have a page with 2 frames. The menu is in frame 1, and when clicked, I want text to appear in a <span></span> in frame 2. I had it working fine when there were no frames, but after adding frames, the whole thing stopped working, regardless of what I tried. Help anybody?

  2. #2
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,301
    I have never done this with iframes but I don't think that they will be too different from frames, in which case parent.frames[n].whatever where n is the index in the frames array of your target.

    Further reading
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...