How to put an Iframe In a image

Discussion in 'Programming' started by EasyMarketer, Jul 31, 2007.

  1. #1
    <td><a href="http://myaffiliatelink.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('verizon','','images/verizon_on.jpg',1)"><img src="images/verizon.jpg" border="0" name="verizon" /></a></td>
    <td><a href="http://myaffiliatelink.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sprint','','images/sprint_on.jpg',1)"><img src="images/sprint.jpg" border="0" name="sprint" /></a></td>
    <td><a href="http://myaffiliatelink.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nextel','','images/nextel_on.jpg',1)"><img src="images/nextel.jpg" border="0" name="nextel" /></a></td>
    </tr>
    <tr>
    <td><a href="http://myaffiliatelink.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('att','','images/att_on.jpg',1)"><img src="images/att.jpg" border="0" name="att" /></a></td>
    <td><a href="http://myaffiliatelink.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('alltel','','images/alltel_on.jpg',1)"><img src="images/alltel.jpg" border="0" name="alltel" /></a></td>
    <td><a href="http://myaffiliatelink.com" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('boost','','images/boost_on.jpg',1)"><img src="images/boost.jpg" border="0" name="boost" /></a></td>
    </tr>
    PHP:
    I'm trying to make the Iframe load and take the place of all of the images I want it big too How may I accomplish this? It's all in one special table.

    I'm trying to accomplish the affiliates landing page on my page. :)

    Is it possible to do this? If so How?
    Thanks.
     
    EasyMarketer, Jul 31, 2007 IP
  2. krt

    krt Well-Known Member

    Messages:
    829
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    120
    #2
    You can use a <div> and float it or position it relative to the table's first cell's top left but how about a quick explanation of what you are trying to do? I didn't quite understand the comment about trying to mimic the landing page. Are you trying to get the onmouseover and onmouseout events to work through the iframe?
     
    krt, Aug 1, 2007 IP
  3. EasyMarketer

    EasyMarketer Well-Known Member

    Messages:
    695
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    110
    #3
    I'm trying to make it when the user clicks the carrier it goes ahead and gets rid of all of the images and loads the specific landing page. In an iframe and gets rid of all of the carrier buttons in the table.
     
    EasyMarketer, Aug 1, 2007 IP