Help with Links and iFrames

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Help with Links and iFrames

    Hi,

    I'm looking for some html help. I'm creating a website that has 2 iFrames in
    it, and what I'm trying to accomplish is when a person clicks on a link button
    in my menu bar, one iFrame will display one page and the other iframe will
    display another page. The problem I'm having is trying to get my link button to
    link to 2 sites and having those 2 sites displayed in 2 seperate iFrames. I
    have the link button connected to one site and being placed in one iframe...i
    just need to figure out how to connect another site and link it to my other
    iFrame. Any help would be great! Thanks

    here are my two iFrames:
    <tr>
    <td colspan="6" rowspan="2">
    <iframe src ="underconstruction.html" width="434" height="352"
    frameborder="0" marginheight="0" marginwidth="0"
    name="MainWindow" scrolling="no" alt=""></iframe> </td>
    <td>
    <img src="images/spacer.gif" width="1" height="11" alt=""></td>
    </tr>
    <tr>
    <td rowspan="2">
    <iframe src ="#" width="163" height="414" frameborder="0" marginheight="0"
    marginwidth="0"
    name="LinksWindow" scrolling="yes" alt=""></iframe> </td>
    <td colspan="2" rowspan="4">
    <img src="images/Home_Page2_12.gif" width="62" height="472" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="1" height="341" alt=""></td>
    </tr>
    here's the button I'm trying to connect two sites too:
    <td>
    <a href="Student_Links.html" target="LinksWindow"
    onmouseover="changeImages('Home_Page2_20',
    'images/Home_Page2_20-over.gif'); return true;"
    onmouseout="changeImages('Home_Page2_20', 'images/Home_Page2_20.gif');
    return true;"
    onmousedown="changeImages('Home_Page2_20',
    'images/Home_Page2_20-over.gif'); return true;"
    onmouseup="changeImages('Home_Page2_20', 'images/Home_Page2_20-over.gif');
    return true;">
    <img name="Home_Page2_20" src="images/Home_Page2_20.gif" width="54"
    height="27" border="0" alt=""></a></td>
    <td>

    here's what I've tried:
    <td>
    <a href="Student_Links.html" target="LinksWindow" &&
    href="Links_MainFrame.html" target="MainFram"
    onmouseover="changeImages('Home_Page2_20',
    'images/Home_Page2_20-over.gif'); return true;"
    onmouseout="changeImages('Home_Page2_20', 'images/Home_Page2_20.gif');
    return true;"
    onmousedown="changeImages('Home_Page2_20',
    'images/Home_Page2_20-over.gif'); return true;"
    onmouseup="changeImages('Home_Page2_20', 'images/Home_Page2_20-over.gif');
    return true;">
    <img name="Home_Page2_20" src="images/Home_Page2_20.gif" width="54"
    height="27" border="0" alt=""></a></td>
    <td>

    here are my two iFrames:
    <tr>
    <td colspan="6" rowspan="2">
    <iframe src ="underconstruction.html" width="434" height="352"
    frameborder="0" marginheight="0" marginwidth="0"
    name="MainWindow" scrolling="no" alt=""></iframe> </td>
    <td>
    <img src="images/spacer.gif" width="1" height="11" alt=""></td>
    </tr>
    <tr>
    <td rowspan="2">
    <iframe src ="#" width="163" height="414" frameborder="0" marginheight="0"
    marginwidth="0"
    name="LinksWindow" scrolling="yes" alt=""></iframe> </td>
    <td colspan="2" rowspan="4">
    <img src="images/Home_Page2_12.gif" width="62" height="472" alt=""></td>
    <td>
    <img src="images/spacer.gif" width="1" height="341" alt=""></td>
    </tr>
    here's the button I'm trying to connect two sites too:
    <td>
    <a href="Student_Links.html" target="LinksWindow"
    onmouseover="changeImages('Home_Page2_20',
    'images/Home_Page2_20-over.gif'); return true;"
    onmouseout="changeImages('Home_Page2_20', 'images/Home_Page2_20.gif');
    return true;"
    onmousedown="changeImages('Home_Page2_20',
    'images/Home_Page2_20-over.gif'); return true;"
    onmouseup="changeImages('Home_Page2_20', 'images/Home_Page2_20-over.gif');
    return true;">
    <img name="Home_Page2_20" src="images/Home_Page2_20.gif" width="54"
    height="27" border="0" alt=""></a></td>
    <td>

    here's what I've tried:
    <td>
    <a href="Student_Links.html" target="LinksWindow" &&
    href="Links_MainFrame.html" target="MainFram"
    onmouseover="changeImages('Home_Page2_20',
    'images/Home_Page2_20-over.gif'); return true;"
    onmouseout="changeImages('Home_Page2_20', 'images/Home_Page2_20.gif');
    return true;"
    onmousedown="changeImages('Home_Page2_20',
    'images/Home_Page2_20-over.gif'); return true;"
    onmouseup="changeImages('Home_Page2_20', 'images/Home_Page2_20-over.gif');
    return true;">
    <img name="Home_Page2_20" src="images/Home_Page2_20.gif" width="54"
    height="27" border="0" alt=""></a></td>
    <td>

    ReAnmation Guest

  2. Similar Questions and Discussions

    1. iFrames for CS3
      Does anyone know before I buy it, if the iFrames Suite extensions work with Dreamweaver CS3? I'd like to put a frame of text (requiring a...
    2. iFrames
      Hi, when I make a page in photoshop, do my rollovers in imageready , bring it to dreamweaver, make an iframe from a slice made in ps or ir, the...
    3. iframes???
      What are some of the drawbacks to iframes. When are they good and why should you use them. Thank you. B
    4. Help with IFrames
      Hello I have a main pgae and I load an Iframe based on when the user clicks the tree nodes ,but when I save some records on the Iframe they should...
    5. Iframes in Flash MX
      This is something that I've been wondering about for a while now, and I'm hoping someone can enlighten me on it: I created my website design in...
  3. #2

    Default Re: Help with Links and iFrames

    nevermind, fixed it
    ReAnmation Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139