Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Location
    Oxford
    Posts
    1,759
    Tokens
    0

    Latest Awards:

    Default [HTML] Image link problem

    Ok, so I have an image that I want to act as a link which opens in an iFrame on the page. But when I click the link, it is displayed in a new window.

    Code for link:

    HTML Code:
    <a href="about.html"><img src="images/template_6_21.gif" width="43" height="34" class="foo" target="content"></a>
    Class foo is declared in the header and gets rid of the blue round the image link.

    iFrame code:

    HTML Code:
        <IFRAME 
                    SRC="home.html" 
                    NAME="content"
                    WIDTH="579" 
                    HEIGHT="376" 
                    FRAMEBORDER=0; 
                    MARGINWIDTH=0;
                    MARGINHEIGHT=0; 
                    SCROLLING="YES">
          </IFRAME>
    +REP for any help.
    MacBook White
    Apple Mac OS X
    Intel Core2Duo
    2GB RAM


  2. #2
    Join Date
    Jan 2007
    Location
    West Yorkshire
    Posts
    384
    Tokens
    0

    Default

    HTML Code:
    <a href="about.html" target="content"><img src="images/template_6_21.gif" width="43" height="34" class="foo"></a>

    “two players, two sides.
    one is light, one is dark.”
    - John Locke

Posting Permissions

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