www.webdeveloper.com
Results 1 to 4 of 4

Thread: Problems with Iframes

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Location
    Melbourne
    Posts
    3

    Problems with Iframes

    I have been running websites with frames for about 10 years, but I want to switch to iframes

    My sites have galleries and use a simple frameset
    Code:
    <frameset cols="155,*">
      <frame src="462th.htm" name="th" scrolling="yes" noresize="noresize" />
      <frame src="462Body.php" name="body" />
    	<noframes>
    	<body>
    Your browser does not handle frames! Please Enable them or update your browser	
    	</body>
    	</noframes>
    </frameset>
    
    Called by example 
        <a href="72009.php" target="body"><img src="thumbs/t_72009.jpg" width="120" height="80" alt="72009" />72009</a>
    which I want to convert to iframe
    I have stumbled around and got this far
    Code:
     <iframe src="http://www.britishsteam.com/if_br/4-6-2/462th.htm" style="border:1px #666666 solid;" id="iframe_tm" scrolling="yes" 
     align="left"  height="720" width="150">
      </iframe>
     <iframe src="http://www.britishsteam.com/if_br/4-6-2/462body.htm" style="border:1px #666666 solid;" id="iframe_content" height="720" width="95%">
      </iframe>
    as a basis, and I want to call links from id=iframe_tm to load in id= iframe_content

    I have tried various ways but they always end up in a new browser tab eg:
    Code:
        
    <iframe src="70002.php" target="id=content"><img src="thumbs/t_70002a.jpg" width="120" height="80" alt="70002" />70002</a>
    <iframe src="70002.php""target="content"><img src="thumbs/t_70002.jpg" width="120" height="80" alt="70002" />70002</a>
    http://www.britishsteam.com/if_br/4-...462_header.php

    will show you where I am at to date, click on any thumb which should load into id= iframe_content ??

    Any assistance would be most welcome

    Thanks
    Topshed

  2. #2
    Join Date
    Jan 2013
    Posts
    7
    Can you give the Brief description about Iframe ??

  3. #3
    Join Date
    Feb 2010
    Posts
    16
    You need to target the id of the iframe in your link code.

    Code:
    <iframe src="page.html" id="page">
    <a href="new.html" target="page">
    http://webdesign.about.com/od/iframe...and-frames.htm

  4. #4
    Menu.html
    <html>
    <body bgcolor=”orange”>
    <p style =”font-family:verdana; font-size: 16px”>
    <a href=”http://phpden.blogspot.com “ target=”content”> About Us</a>
    <br><br><br>
    <a href=http://www.phpden.blogspot.com target=”_blank”>PhpDen</a>
    <br><br><br.
    </p>
    </body>
    </html>
    Frametest.html
    <html>
    <frameset rows=”18%,70%,12%”>
    <frame src=”header.html” no-resize frameborder=”0” scrolling=”no”>
    <frameset cols=”18%,82%”>
    <frame src=”menu.html” noresize frameborder=”0”>
    <frame src=”body.html” noresize frameborder=”0” name=”content”>
    </frameset>
    </html>
    for continue this material copy this link and paste it in address bar .. http[://]phpden.blogspot.in/2012/09/frames-in-html.html

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles