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?
<td colspan="4" bgcolor="#003366"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
<td width="40"> </td>
<td colspan="2" valign="top"> <br />
<table border="0" cellspacing="0" cellpadding="2" width="504">
<td class="pageName">Welcome to MySlashTruck.COM! </td>
<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>
<br /> </td>
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 ).
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.
Do what? Use server side includes? Do you have any server-side languages enabled on your server? I'm assuming it's Apache?
Yeah, I figured it out, thanks!