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. Javascript and Frames

Javascript and Frames

Scheduled Pinned Locked Moved Web Development
javascriptdatabasehelptutorial
4 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.
  • M Offline
    M Offline
    mtone
    wrote on last edited by
    #1

    I am trying to figure out how to load one frame from an event in another. Here is me frames page <frameset border="0" frameSpacing="0" rows="15%,80%,5%" frameBorder="0"> <frame name="top" src="index.htm" scrolling="no" width="50%"> <frameset cols="25%,75%" > <frame name="treeframe" src="HtmlPage2.htm" scrolling="yes" > <frame name="Content" src=""> </frameset> <frame name="bottom" src="HtmlPage3.htm" scrolling="no" width="50%"> </frameset> I am clicking a link in treeframes and want to load the page into Content. I have tried everything i could think of and other things I found on somne javascript sites. My page will loadinto itself or not load and casue the frame to go blank. Any help is greatly needed and appreciated Joe

    G 1 Reply Last reply
    0
    • M mtone

      I am trying to figure out how to load one frame from an event in another. Here is me frames page <frameset border="0" frameSpacing="0" rows="15%,80%,5%" frameBorder="0"> <frame name="top" src="index.htm" scrolling="no" width="50%"> <frameset cols="25%,75%" > <frame name="treeframe" src="HtmlPage2.htm" scrolling="yes" > <frame name="Content" src=""> </frameset> <frame name="bottom" src="HtmlPage3.htm" scrolling="no" width="50%"> </frameset> I am clicking a link in treeframes and want to load the page into Content. I have tried everything i could think of and other things I found on somne javascript sites. My page will loadinto itself or not load and casue the frame to go blank. Any help is greatly needed and appreciated Joe

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      The simplest way is to not use javascript at all: <a href="PageToLoad.htm" target="Content"> --- b { font-weight: normal; }

      M 1 Reply Last reply
      0
      • G Guffa

        The simplest way is to not use javascript at all: <a href="PageToLoad.htm" target="Content"> --- b { font-weight: normal; }

        M Offline
        M Offline
        mtone
        wrote on last edited by
        #3

        I tried this but the page opens in a new window.

        G 1 Reply Last reply
        0
        • M mtone

          I tried this but the page opens in a new window.

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          Strange. Check the spelling again. Also try to open something in the frame initially instead of leaving src empty. It might brake the tag. --- b { font-weight: normal; }

          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