Click to See Complete Forum and Search --> : Frames not working, but why?


nattrill
01-16-2009, 04:23 PM
Hi,

I've used frames with no problems for years, but now I have a situation where it just wont work...

I have a wordpress page on my webspace, and it is held in a folder called bethel2008.

Now I've finished it I wanted to forward to it without the user knowing they were leaving the main url. I thought a frame would be perfect. But it doesn't seem to work, what have I done wrong? Here is my code:

<FRAMESET>
<FRAME src="bethel2008/index.php" frameborder="no" noresize>
</FRAMESET>

Oddly, it works in chrome, but not in any other browser.

sh0wtym3
01-16-2009, 04:38 PM
Why not use an iframe element?

<iframe src="bethel2008/index.php" style="height:700px; width:200px; border:0px"></iframe>

Just adjust the height and width how you see fit.

... and use the DOCTYPE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

Charles
01-16-2009, 04:45 PM
Please post the URL.

nattrill
01-16-2009, 05:02 PM
It worked, but it put an extra scroll bar on some of the browsers. I don't need to use frames, just some sort of forwarding method...

URL: www.bethelchurchstonehouse.co.uk/bethel2008/