|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
Join Date: Dec 2001
Location: New Mexico
Posts: 273
|
iframe problem
First time using iframe, and it's not working quite right. I'll post the code further down. The problem is that the page is supposed to show an icon (header), then iframe another web site, then have the footer info on the bottom of the original page. I tried putting the iframe sequence in, but when i try to test it, the original HTML flashes (it looks like it's going to work), then it just moves to the www site that I have in the iframe. Essentially, I've just created a giant, automatic link to the site. Any help? Here's the code...
(code removed by moderator) Note: Please repost your code, but upload it as a text file instead, please. Last edited by glc; 06-01-2002 at 11:45 PM. |
|
|
|
|
|
#2 |
|
Member (9 bit)
Join Date: Dec 2001
Location: New Mexico
Posts: 273
|
iframe redux
Sorry about that last post. I didn't realize that my problem would be recreated in my post if I copied the HTML into the text of the message. Anyway, does anyone have any idea how to solve my problem? I'm trying to put another web site into an iframe. When the coding appears correct to me, it automatically jumps to a full page version of the iframe link, and I lose the header and footer of the original page. What am I doing wrong? Is it possible to put another site (.com) into iframe, or is it specifically for a page (.html)?
|
|
|
|
|
|
#3 |
|
Member (9 bit)
Join Date: Dec 2001
Location: New Mexico
Posts: 273
|
Update
Well, Microsoft's home page works just fine when named in an iframe. Pops up in the box just great. Can anyone tell me why www.swmls.com does not work then?
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
Look in the source code of your page, you'll find this:
Code:
<script language="Javascript">
<!--
if (top.location != self.location) {
top.location = self.location.href
}
//-->
</script>
Last edited by aym; 06-02-2002 at 02:31 PM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|