Welcome to Dream.In.Code
Getting Help is Easy!

Join 117,613 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,976 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



iFrame issue

 
Reply to this topicStart new topic

iFrame issue

rodstol
post 18 Jun, 2008 - 10:43 AM
Post #1


New D.I.C Head

*
Joined: 3 Apr, 2008
Posts: 35

I'm not sure what the issue is here.
the iframe on the bottom is supposed to have a string of link buttons to access various areas of the site, but the only thing that I can get to show up in it is what is posted in the iFrame directly above it.
In looking through the code, I can't find any unclosed tags, so I opened the file up in Dreamweaver and noticed the color coding for the <table> and <tr> tage are off. Doesn't that mean one is left open?

IPB Image

CODE
    <div class="clr">                    </div></td>
    <td class="shadow_right">&nbsp;</td>
  </tr>
  <tr>
    <td height="125" align="right" class="horizontal_column">&nbsp;</td>
    <td background="images/x_header2.jpg" bgcolor="#000000" class="horizontal_center"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="linkcontainer">
    <!---->
      <tr>
        <td width="13%" height="30"><div class="navigation"><a href="intro.html" target="body" class="main_link">Home</a></div></td>
      
        <td width="13%"><div class="navigation"><a href="intro.html" target="body" class="main_link" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '113px')" onMouseout="delayhidemenu()">About</a> </div></td>
      
        <td width="13%"><div class="navigation"><a href="/cp/copyprint.html" target="_parent" class="main_link">Copy+Print</a></div></td>
      
        <td width="13%"><div class="navigation"><a href="java script:openFrameless()" class="main_link" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu4, '113px')" onMouseout="delayhidemenu()">Office Systems</a></div></td>
      
        <td width="13%"><div class="navigation"><a href="construction.html" target="body" class="main_link" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu2, '113px')" onMouseout="delayhidemenu()">Supplies</a></div></td>
        
        <td width="13%"><div class="navigation"><a href="/php/contactus.php" target="body" class="main_link" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu3, '113px')" onMouseout="delayhidemenu()">Contact</a></div></td>

        <td width="13%"><div class="navigation"><a href="search.html" target="body" class="main_link">Search</a></div></td>
      </tr>
    </table></td>
    <td class="horizontal_column"></td>
  </tr>
  <tr>
    <td height="400" class="shadow_left"><div align="right" valign="top"></a></div></td>
    <td align="center" bgcolor="#1F1F1F"  class="below_header"></iframe>
      <iframe name="body" bgcolor="#1f1f1f" width="700" height="365" frameborder="0" scrolling="no" src="intro.html">
      <div align="center"><a href="intro.html"></a></div>
    </iframe>
    
    
    
      <!--<iframe name="links" bgcolor="#1f1f1f" width="700" height="150" frameborder="0" scrolling="auto" src="links.html" >
    <div align="center"><a href="links.html"></a></div-->
    </iframe>--></td>
    <td class="shadow_right">&nbsp;</td>
  </tr>
  <tr>
    <td class="shadow_left">&nbsp;</td>
    <td class="main_content_box"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="170" class="left_content"><iframe scrolling="no" frameborder="0" width="230" height="160" src="weather.html"></iframe></td>\
        <td class="body_content"><img src="images/32-years.gif" alt="32 Years" width="90" height="127" longdesc="http://www.x.com/images/32-years.gif" /></td>
        <td class="body_content">We want to thank you for the priviledge of serving the office equipment needs of <br/>
          north central Washington for over 30 years.<br/>
          <br/>
          We look forward to continuing to serving you in the future.<br/>
  <br/>
          After all, <em>office productivity begins here.</em></td>
          <p class="style14">Best viewed with <a href="http://www.firefox.com" class="style14" target="_blank"">Firefox</a> at 1024x768 resolution</p>
        
      </tr>
    </table>
    <td class="shadow_right">&nbsp;</td>
  </tr>
  <tr>
    <td height="62" class="shadow_left">&nbsp;</td>
    <td class="middle_spacer"><div class="bottom_content"><p align="center"><strong>We also fulfill all your copy and printing needs at a great low price.</strong><br/>
          <span class="style2"><span class="style5">Color Copies, only 49&cent; every day!* and 1,000 prints/copies only $24.95**</span><br />
          <span class="style6">* 20lb bond, single side. </span></span><span class="style6"><br />
        ** Duplicator prints, single sided, black ink, per original.</span>
          
    This is the iframe in question--->  <iframe scrolling="no" frameborder="0" width="700" height="120" src="jump.html"></iframe></p>
    </div></td>
    <td class="shadow_right">&nbsp;</td>
  </tr>
  <tr>
    <td height="24" class="shadow_left">&nbsp;</td>
    <td class="bottom_link_container"><p><a href="php/contactus.php" class="bottom_link" target="body">contact us </a>| <a href="service.html" class="bottom_link" target="body">service </a> |<a href="drivers.html" class="bottom_link" target="body"> drivers </a> |<a href="location.html" class="bottom_link" target="body"> locations </a></p>    </td>
    <td class="shadow_right">&nbsp;</td>
  </tr>
</table>
</body>


What the heck am I not seeing?
User is offlineProfile CardPM

Go to the top of the page


BetaWar
post 18 Jun, 2008 - 11:53 AM
Post #2


#include <soul.h>

Group Icon
Joined: 7 Sep, 2006
Posts: 1,569



Thanked 62 times

Dream Kudos: 975
My Contributions


Yes, your html some issues withit, I think I got most of them worked out and then I plugged it in through my (custom made) html highlighter and it all worked out (in the tree view), so here is the final code (what I came up with) from your code. As you didn't post the whol file it may not be correct.

html
      <div class="clr"></div>
</td>
<td class="shadow_right">&nbsp;</td>
</tr>
<tr>
<td height="125" align="right" class="horizontal_column">&nbsp;</td>
<td background="images/x_header2.jpg" bgcolor="#000000" class="horizontal_center">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="linkcontainer">
<!---->
<tr>
<td width="13%" height="30">
<div class="navigation">
<a href="intro.html" target="body" class="main_link">
Home
</a>
</div>
</td>

<td width="13%">
<div class="navigation">
<a href="intro.html" target="body" class="main_link" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '113px')" onMouseout="delayhidemenu()">
About
</a>
</div>
</td>

<td width="13%">
<div class="navigation">
<a href="/cp/copyprint.html" target="_parent" class="main_link">
Copy+Print
</a>
</div>
</td>

<td width="13%">
<div class="navigation">
<a href="java script:openFrameless()" class="main_link" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu4, '113px')" onMouseout="delayhidemenu()">
Office Systems
</a>
</div>
</td>

<td width="13%">
<div class="navigation">
<a href="construction.html" target="body" class="main_link" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu2, '113px')" onMouseout="delayhidemenu()">
Supplies
</a>
</div>
</td>

<td width="13%">
<div class="navigation">
<a href="/php/contactus.php" target="body" class="main_link" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu3, '113px')" onMouseout="delayhidemenu()">
Contact
</a>
</div>
</td>

<td width="13%">
<div class="navigation">
<a href="search.html" target="body" class="main_link">
Search
</a>
</div>
</td>
</tr>
</table>
</td>
<td class="horizontal_column"></td>
</tr>
<tr>
<td height="400" class="shadow_left">
<div align="right" valign="top">
</a>
</div>
</td>
<td align="center" bgcolor="#1F1F1F" class="below_header">
<!--</iframe>-->
<iframe name="body" bgcolor="#1f1f1f" width="700" height="365" frameborder="0" scrolling="no" src="intro.html">
<div align="center">
<a href="intro.html">
</a>
</div>
</iframe>



<!--<iframe name="links" bgcolor="#1f1f1f" width="700" height="150" frameborder="0" scrolling="auto" src="links.html" >
<div align="center"><a href="links.html"></a></div>
</iframe>-->
</td>
<td class="shadow_right">&nbsp;</td>
</tr>
<tr>
<td class="shadow_left">&nbsp;</td>
<td class="main_content_box">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="170" class="left_content">
<iframe scrolling="no" frameborder="0" width="230" height="160" src="weather.html"></iframe>
</td>\
<td class="body_content">
<img src="images/32-years.gif" alt="32 Years" width="90" height="127" longdesc="http://www.x.com/images/32-years.gif" />
</td>
<td class="body_content">
We want to thank you for the priviledge of serving the office equipment needs of
<br/>
north central Washington for over 30 years.<br/>
<br/>
We look forward to continuing to serving you in the future.<br/>
<br/>
After all,
<em>
office productivity begins here.
</em>
<p class="style14">
Best viewed with
<a href="http://www.firefox.com" class="style14" target="_blank">
Firefox
</a>
at 1024x768 resolution
</p>
</td>
</tr>
</table>
</td>
<td class="shadow_right">&nbsp;</td>
</tr>
<tr>
<td height="62" class="shadow_left">&nbsp;</td>
<td class="middle_spacer">
<div class="bottom_content">
<p align="center">
<strong>
We also fulfill all your copy and printing needs at a great low price.
</strong>
<br/>
<span class="style2">
<span class="style5">
Color Copies, only 49&cent; every day!* and 1,000 prints/copies only $24.95**
</span>
<br />
<span class="style6">
* 20lb bond, single side.
</span>
</span>
<span class="style6">
<br />
** Duplicator prints, single sided, black ink, per original.
</span>
This is the iframe in question--->
<iframe scrolling="no" frameborder="0" width="700" height="120" src="jump.html"></iframe>
</p>
</div>
</td>
<td class="shadow_right">&nbsp;</td>
</tr>
<tr>
<td height="24" class="shadow_left">&nbsp;</td>
<td class="bottom_link_container">
<p>
<a href="php/contactus.php" class="bottom_link" target="body">
contact us
</a>
|
<a href="service.html" class="bottom_link" target="body">
service
</a>
|
<a href="drivers.html" class="bottom_link" target="body">
drivers
</a>
|
<a href="location.html" class="bottom_link" target="body">
locations
</a>
</p>
</td>
<td class="shadow_right">&nbsp;</td>
</tr>
</table>
</body>


<edit>
Sorry, forgot to add, in one of you links you have target="_blank"" which may hav been throwing your highlighter way off (it did mine, until I noticed that). But I have fixed it now.
</edit>

This post has been edited by BetaWar: 18 Jun, 2008 - 11:55 AM
User is offlineProfile CardPM

Go to the top of the page

rodstol
post 18 Jun, 2008 - 12:55 PM
Post #3


New D.I.C Head

*
Joined: 3 Apr, 2008
Posts: 35

Sweet, the file size is a bit bigger, but it reads easier. Thanks.

Weird thing was, the below screen shot was from Firefox, I tried the site in Safari and it worked fine.
Anyway, it works in Firefox now. It's just a matter of getting it to work in IE.

Thank for your help.

Oh yeah, Does anyone know of a java slideshow type applet that you can make images clickable?
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 10/7/08 11:53PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month