SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Write in iframe

  1. #1
    SitePoint Addict Mr Jojo's Avatar
    Join Date
    May 2007
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Write in iframe

    I have a html with an iframe redirecting to another page, this is a game that i'm doing in text mode.

    And some scripts of the game are going to be edited soon, so im trying to do a JS function that writes some few changes in the iframe.
    It would be something like:

    <iframe name="lyly" id="lyly" ...></iframe>

    then something like:

    document.lyly.write("<script> the current code that will run there</script>");

    Is that possible?
    This way i wont need to use PHP to do sometricks and will save a lot of $.

  2. #2
    SitePoint Addict Mr Jojo's Avatar
    Join Date
    May 2007
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anyone?

  3. #3
    SitePoint Addict Mr Jojo's Avatar
    Join Date
    May 2007
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is possible right?

  4. #4
    SitePoint Addict Mr Jojo's Avatar
    Join Date
    May 2007
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi?


Bookmarks

Posting Permissions

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