SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: iFrame Help

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Jun 2006
    Posts
    170
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    iFrame Help

    I am trying to put an iFrame as my main content box so that, when a user clicks a link at the top, it will appear in the iFrame. (links would be target="content" or something to that..)

    I am not sure how to do it. Below is my code for the main body...Any help?

    HTML Code:
     <tr>
        <td colspan="4" bgcolor="#003366"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
      </tr>
     <tr>
        <td width="40">&nbsp;</td>
        <td colspan="2" valign="top">&nbsp;<br />
        &nbsp;<br />
       <table border="0" cellspacing="0" cellpadding="2" width="504">
            <tr>
              <td class="pageName">Welcome to MySlashTruck.COM! </td>
            </tr>
            <tr>
              <td class="bodyText"><p style="margin-top: 0;">Welcome to MySlashTruck.COM, where we supply all of your truck needs!  Please take this opportunity to explore our site, and look at the many different things we have to offer!  Please also do take time to explore our forums where you may engage with other people who own slash trucks, and may get help on what to buy/get for your Slash Truck!</p>		  </td>
            </tr>
          </table>
    	   <br />	  </td>

  2. #2
    Guru in training bronze trophy SoulScratch's Avatar
    Join Date
    Apr 2006
    Location
    Maryland
    Posts
    1,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's usually not a good idea because a search engine crawler won't see that, which could result in a lower ranking since the content is not indexed. It's also not very accessible because the URL stays the same. I would advise against doing this and just using multiple files.

    If you're having trouble maintaining the pages then you could make use of server-side includes ( such as the include() function in PHP ).
    Cross browser css bugs

    Dan Schulz you will be missed

  3. #3
    SitePoint Zealot
    Join Date
    Jun 2006
    Posts
    170
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, I did not know that about the Search Crawlers.

    How would I do that, though? I am just messing around with another thing, and just would like to know for future references.

  4. #4
    Guru in training bronze trophy SoulScratch's Avatar
    Join Date
    Apr 2006
    Location
    Maryland
    Posts
    1,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do what? Use server side includes? Do you have any server-side languages enabled on your server? I'm assuming it's Apache?
    Cross browser css bugs

    Dan Schulz you will be missed

  5. #5
    SitePoint Zealot
    Join Date
    Jun 2006
    Posts
    170
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, I figured it out, thanks!


Bookmarks

Posting Permissions

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