pass 2 values to iframe

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Treetop

    #1

    pass 2 values to iframe

    I have a list of images on the left side of the screen. On the right
    side I have an iframe for the picture and some text to be displayed.
    I can create individual pages for this, however I would rather create
    dynamic pages for this. I would love to be able to have a link on the
    left side that will send an image filename along with some text to the
    iframe, so I don't have to create so many smaller files. Has anyone
    done this?



  • McKirahan

    #2
    Re: pass 2 values to iframe

    "Treetop" <treetop@netfro nt.net> wrote in message
    news:e1229a535b 3859b1bacebad31 e566348@news.te ranews.com...[color=blue]
    > I have a list of images on the left side of the screen. On the right
    > side I have an iframe for the picture and some text to be displayed.
    > I can create individual pages for this, however I would rather create
    > dynamic pages for this. I would love to be able to have a link on the
    > left side that will send an image filename along with some text to the
    > iframe, so I don't have to create so many smaller files. Has anyone
    > done this?[/color]


    Do you really need an iframe?

    Try the following; watch for word-wrap.


    <html>
    <head>
    <title>images.h tm</title>
    </head>
    <body>
    <table border="1" width="700">
    <tr valign="top">
    <td align="center" width="100">
    <a href="#" onMouseOver='im g.src="1.gif"'> <img src="1.gif" border="0"
    width="20" height="20" alt=""></a>
    <br>
    <a href="#" onMouseOver='im g.src="2.gif"'> <img src="2.gif" border="0"
    width="20" height="20" alt=""></a>
    <br>
    <a href="#" onMouseOver='im g.src="3.gif"'> <img src="3.gif" border="0"
    width="20" height="20" alt=""></a>
    </td>
    <td align="center" width="600">
    <img src="0.gif" name="img" border="0" width="400" height="400"
    alt=""></a>
    </td>
    </tr>
    </table>
    </body>
    </html>


    Comment

    Working...