Question:

Iframe and script help please?

by  |  earlier

0 LIKES UnLike

I have a webpage that is basically a table with links and an iframe below it that opens a certain web based game my friends all play.

The links are all related to the game. the current setup they all open in their own window. I want to set it up so that each link opens in the iframe below, so it basically stays on one screen. One of the links in particular is a tool that actually acts the same way by putting a toolbar atop your game window. i even want that to open in the frame below.

I dont know anything but basic html and i use frontpage to do my design work.

any help?

 Tags:

   Report

1 ANSWERS


  1. Here is a sample document, here is the name attribute in the iframe tag which will enable you to open the link in the iframe. The iframe has been named targetFrame and the hyperlinks have the targetFrame set as the target. Check it out, I have checked the following HTML in all the browsers available with me. Take Care-

    <html>

    <head>

      <title>Title</title>

    </head>

    <body>

      <a href='one.htm' target='targetFrame'>One</a>

      <a href='two.htm' target='targetFrame'>Two</a>

      <a href='three.htm' target='targetFrame'>Three</a>

      

        <iframe name='targetFrame'>

        </iframe>

    </body>

    </html>

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.