Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. changing two frames sources

changing two frames sources

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
javascriptphpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ahmed mega
    wrote on last edited by
    #1

    is there is a way that enables me to change two frames sources via PHP or JavaScript? thanks

    M 1 Reply Last reply
    0
    • A ahmed mega

      is there is a way that enables me to change two frames sources via PHP or JavaScript? thanks

      M Offline
      M Offline
      Marc Firth
      wrote on last edited by
      #2

      That'll be a javascript one. But, unfortunately, I hate frames - so I have no code for you.

      Neonlight

      A 1 Reply Last reply
      0
      • M Marc Firth

        That'll be a javascript one. But, unfortunately, I hate frames - so I have no code for you.

        Neonlight

        A Offline
        A Offline
        ahmed mega
        wrote on last edited by
        #3

        thanks for your advice and yeah it was a JS one, and here is how i resolved that problem with this script:

        <script language="javascript" type="text/javascript">
        <!--
        function change_frames(file1, file2)
        {

        parent.RIGHT.location=file1;
        parent.LEFT.location=file2;
        }
        //-->
        </script>

        regards

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups